Hello every one first I'am new to mail servers, I have followed this tutorial --> https://library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql?format=print to set up an Ubuntu 12.04 Dovecot postfix mail box for a subdomain mailer.adnane.me, I think I followed every thing right but I get disconnected when I try to access adnane at mailer.adnane.me with thunderbird dig mx mailer.adnane.me +short 1 mailer.adnane.me. root at mailer:~# postmap -q mailer.adnane.me mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf 1 root at mailer:~# postmap -q adnane at mailer.adnane.me mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf 1 I think the issue is with authentication root at mailer:~# tail -f /var/log/syslogJul Jul 22 03:34:41 mailer dovecot:imap-login: Disconnected (no auth attempts): rip=41.251.155.145, lip=5.135.151.43, TLS Jul 22 03:35:02 mailer dovecot: imap-login: Disconnected (no auth attempts): rip=41.251.155.145, lip=5.135.151.43, TLS handshaking: Disconnected Jul 22 03:35:02 mailer dovecot: imap-login: Disconnected (no auth attempts): rip=41.251.155.145, lip=5.135.151.43, TLS handshaking: Disconnected Jul 22 03:35:03 mailer dovecot: imap-login: Disconnected (no auth attempts): rip=41.251.155.145, lip=5.135.151.43, TLS: Disconnected plz let me know which conf files I need to post here, tnx.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 22 Jul 2013, Adnane wrote:> I think the issue is with authentication > > root at mailer:~# tail -f /var/log/syslogJul > Jul 22 03:34:41 mailer dovecot:imap-login: Disconnected (no auth attempts): > rip=41.251.155.145, lip=5.135.151.43, TLS > Jul 22 03:35:02 mailer dovecot: imap-login: Disconnected (no auth attempts): > rip=41.251.155.145, lip=5.135.151.43, TLS handshaking: Disconnected > Jul 22 03:35:02 mailer dovecot: imap-login: Disconnected (no auth attempts): > rip=41.251.155.145, lip=5.135.151.43, TLS handshaking: Disconnected > Jul 22 03:35:03 mailer dovecot: imap-login: Disconnected (no auth attempts): > rip=41.251.155.145, lip=5.135.151.43, TLS: DisconnectedThere is "no auth attempts", so you do not have an issue with authentication. Because of the "TLS handshaking: Disconnected" it looks like the connection gets cut during the initial TLS handshake. To debug this, first increare logging, then try from localhost without encryption, e.g.: telnet localhost 143 1 login "loginname" "password" and watch the human friendly output. Terminate the IMAP connection via 2 logout Maybe that client does not like your SSL cert and drops the connection thereof? Or maybe a firewall thinks it has to fiddle in, e.g. change Thunderbird to use SSL on port 993 instead of STARTTLS on 143. Kind regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUezg/13r2wJMiz2NAQKjkQf+MSiRcG8h4C3cdH2uKQNvc4K1UkJVmPjx tZvsBQmMQB0kY9y9GC9YiDKKCx3Cua6lxQ89Mbh4UDkjWdIV6T617QXT55HglLoY +fS1vVAIjCQlOD42GW1W8XKrQN9mfzCDw2CvdtMX8weiXPvsMA0ZMT/m5ZCWOtzR 8eP1Jjd8APuTPQqYg13+vWBSWNOfeyeY69m3loqKAuSw4ntSRglx5qlMrK8IRSji MHXkX2HJmbSV+iFstDRvbqVRWkJCGj6mzt+N34HU3py1H5zxiCjOSF9Q3UkU4psO 7xIGEDHbIrLpAca+6B2ZRIcfU0BgRAsvmcLLogqH40G/F7edud9YGw==9TD0 -----END PGP SIGNATURE-----
From: Adnane <mls at adnane.me> writes:> Jul 22 22:32:53 mailer dovecot: pop3-login: Disconnected (tried to use > disabled plaintext auth): rip=196.217.182.199, lip=5.135.151.43 > Jul 22 22:36:04 mailer dovecot: pop3(adnane at mailer.adnane.me): > Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0Looks like a mail client issue: you're not enabling STARTTLS on port 110. Fiddle with the SSL configuration. Joseph Tam <jtam.home at gmail.com>
Adnane <mls at adnane.me> writes:> but I cant send mails > > Jul 23 03:01:34 mailer postfix/anvil[9245]: statistics: max connection > rate 1/60s for (smtp:209.85.220.177) at Jul 23 02:58:13 > Jul 23 03:01:34 mailer postfix/anvil[9245]: statistics: max connection > count 1 for (smtp:209.85.220.177) at Jul 23 02:58:13 > Jul 23 03:01:34 mailer postfix/anvil[9245]: statistics: max cache size 1 > at Jul 23 02:58:13Not a dovecot issue. In fact, neither was your previous problem, which was a mail reader configuration problem. Joseph Tam <jtam.home at gmail.com>