Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Apr 07, 2010 7:55 am 
Offline
Newbie

Joined: Wed Apr 07, 2010 7:46 am
Posts: 2
Hi guys, I followed this tutorial http://library.linode.com/email/postfix ... .10-karmic and everything works, the only thing that i have changed was the follow line:

postconf -e 'mydestination = server.yourdomain.com, localhost, localhost.localdomain'

to:

postconf -e 'mydestination = localhost, localhost.localdomain'

I can send email locally:

mailx cunha@sergiocunha.com

And I can read locally:

mutt -f .

But I can't connect from a email client. I tryed with ssl, tls and plain (POP and IMAP) but nothing.

Here is my log :

Apr 7 11:37:11 localhost dovecot: auth(default): new auth connection: pid=9431
Apr 7 11:37:25 localhost dovecot: imap-login: Aborted login (no auth attempts): rip=200.242.199.10, lip=207.192.74.104, TLS
Apr 7 11:37:43 localhost dovecot: auth(default): new auth connection: pid=9432
Apr 7 11:37:46 localhost dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=imap#011secured#011lip=207.192.74.104#011rip=200.242.199.10#011lport=143#011rport=60978
Apr 7 11:37:46 localhost dovecot: auth(default): client out: CONT#0111#011
Apr 7 11:37:46 localhost dovecot: auth(default): client in: CONT<hidden>
Apr 7 11:37:46 localhost dovecot: auth-worker(default): sql(cunha,200.242.199.10): query: SELECT email as user, password FROM users WHERE email='cunha';
Apr 7 11:37:46 localhost dovecot: auth-worker(default): sql(cunha,200.242.199.10): unknown user
Apr 7 11:37:48 localhost dovecot: auth(default): client out: FAIL#0111#011user=cunha
Apr 7 11:37:48 localhost dovecot: auth(default): client in: AUTH#0112#011PLAIN#011service=imap#011secured#011lip=207.192.74.104#011rip=200.242.199.10#011lport=143#011rport=60978#011resp=<hidden>
Apr 7 11:37:48 localhost dovecot: auth-worker(default): sql(cunha,200.242.199.10): query: SELECT email as user, password FROM users WHERE email='cunha';
Apr 7 11:37:48 localhost dovecot: auth-worker(default): sql(cunha,200.242.199.10): unknown user
Apr 7 11:37:50 localhost dovecot: auth(default): client out: FAIL#0112#011user=cunha
Apr 7 11:38:10 localhost dovecot: imap-login: Disconnected (auth failed, 2 attempts): user=<cunha>, method=PLAIN, rip=200.242.199.10, lip=207.192.74.104, TLS

My netstat:

root@localhost:/var/log# netstat -tan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN


Any help ?


Top
   
PostPosted: Wed Apr 07, 2010 9:51 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
slcunha wrote:
Apr 7 11:37:46 localhost dovecot: auth-worker(default): sql(cunha,200.242.199.10): query: SELECT email as user, password FROM users WHERE email='cunha';
Apr 7 11:37:46 localhost dovecot: auth-worker(default): sql(cunha,200.242.199.10): unknown user

From the guide referenced in your post, it seems more likely that you should log into dovecot using an email address rather than a standard username.


Top
   
PostPosted: Thu Apr 08, 2010 4:43 pm 
Offline
Newbie

Joined: Wed Apr 07, 2010 7:46 am
Posts: 2
mjrich wrote:
slcunha wrote:
Apr 7 11:37:46 localhost dovecot: auth-worker(default): sql(cunha,200.242.199.10): query: SELECT email as user, password FROM users WHERE email='cunha';
Apr 7 11:37:46 localhost dovecot: auth-worker(default): sql(cunha,200.242.199.10): unknown user

From the guide referenced in your post, it seems more likely that you should log into dovecot using an email address rather than a standard username.


You're right !... SOLVED : ] Thanks !


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group