Greetings,
I have installed Dovecot from ports. I have configured it and I am able to access it using OpenSSL but the client is unable to connect. The clients I have tested are Thunderbird and Aquamail on an Android device. Neither connect; both have different errors in the maillog.
I am trying to authenticate on the IMAPS protocol. I will try to relay the changes I have made to dovecot.conf. So here goes
I have created the /etc/pam.d/dovecot file as directed by the Dovecot documentation.
Finally here is my log when I attempt to connect from the Android device.
Here is what attempting to connect Thunderbird produces.
Thank you for taking the time to look at this. I appreciate your time and efforts.
Best regards,
Mike
I have installed Dovecot from ports. I have configured it and I am able to access it using OpenSSL but the client is unable to connect. The clients I have tested are Thunderbird and Aquamail on an Android device. Neither connect; both have different errors in the maillog.
I am trying to authenticate on the IMAPS protocol. I will try to relay the changes I have made to dovecot.conf. So here goes
Code:
protocols = imaps
auth_debug = yes
auth_debug_passwords = yes
passdb pam {
args = session=yes dovecot
}
I have created the /etc/pam.d/dovecot file as directed by the Dovecot documentation.
Code:
auth required pam_unix.so nullok
account required pam_unix.so
Finally here is my log when I attempt to connect from the Android device.
Code:
Jul 20 17:52:19 mail dovecot: imap-login: Disconnected (no auth attempts): rip=192.168.1.1, lip=192.168.1.20, TLS: SSL_read() syscall failed: Connection reset by peer
Jul 20 17:52:19 mail dovecot: auth(default): client in: AUTH 1 PLAIN service=imap secured lip=192.168.1.20 rip=192.168.1.1 lport=993 rport=56819
Jul 20 17:52:19 mail dovecot: auth(default): client out: CONT 1
Jul 20 17:52:19 mail dovecot: auth(default): client in: CONT 1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [obscured sensitive stuff -- mod]
Jul 20 17:52:19 mail dovecot: auth-worker(default): pam(me@mydomain.net,192.168.1.1): lookup service=dovecot
Jul 20 17:52:19 mail dovecot: auth-worker(default): pam(me@mydomain.net,192.168.1.1): #1/1 style=1 msg=Password:
Jul 20 17:52:19 mail dovecot: auth-worker(default): pam(me@mydomain.net,192.168.1.1): #1/1 style=3 msg=pam_unix: pam_sm_authenticate: UNIX authentication refused
Jul 20 17:52:19 mail dovecot: auth-worker(default):
Jul 20 17:52:19 mail dovecot: auth-worker(default): pam(me@mydomain.net,192.168.1.1): pam_authenticate() failed: authentication error (password mismatch?) (given password: mypasswd)
Jul 20 17:52:20 mail dovecot: auth(default): new auth connection: pid=1166
Jul 20 17:52:20 mail dovecot: auth(default): new auth connection: pid=1165
Jul 20 17:52:21 mail dovecot: auth(default): client out: FAIL 1 user=me@mydomain.net
Jul 20 17:52:22 mail sm-mta[1167]: r6KLqL2u001167: from=<me@mydomain.net>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MSA, relay=www.asusnetwork.net [192.168.1.1]
Jul 20 17:52:26 mail dovecot: imap-login: Aborted login (auth failed, 1 attempts): user=<me@mydomain.net>, method=PLAIN, rip=192.168.1.1, lip=192.168.1.20, TLS
Here is what attempting to connect Thunderbird produces.
Code:
Jul 20 18:01:01 mail sm-mta[1232]: r6KM11HS001232: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
Jul 20 18:01:01 mail sm-mta[1233]: r6KM11UR001233: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA
Jul 20 18:01:01 mail sm-mta[1234]: r6KM11JZ001234: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA
Jul 20 18:01:01 mail sm-mta[1235]: r6KM11KL001235: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
Jul 20 18:01:01 mail sm-mta[1237]: r6KM11V8001237: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
Jul 20 18:01:01 mail sm-mta[1236]: r6KM11qd001236: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA
Jul 20 18:01:01 mail sm-mta[1238]: r6KM11Lw001238: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA
Jul 20 18:01:01 mail sm-mta[1239]: r6KM11J1001239: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
Jul 20 18:01:02 mail sm-mta[1240]: r6KM12wd001240: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA
Jul 20 18:01:02 mail sm-mta[1241]: r6KM120E001241: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
Jul 20 18:01:02 mail sm-mta[1242]: r6KM12Ep001242: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA
Jul 20 18:01:02 mail sm-mta[1243]: r6KM12Zx001243: www.asusnetwork.net [192.168.1.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
Thank you for taking the time to look at this. I appreciate your time and efforts.
Best regards,
Mike