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 ?