I am using RHEL 5 with the following postfix and dovecot version -
[root@linux1 ~]# rpm -qa | grep postfix
postfix-2.3.3-2
[root@linux1 ~]# rpm -qa | grep dovecot
dovecot-1.0-1.2.rc15.el5
[root@linux1 ~]#
My postfix server is running fine. While enabling smtp auth I have floowed the following article -
http://www.linuxmail.info/post…..ecot-sasl/
I have a failure to enable smtp auth.
The problem is, the system is not asking user to supply password -
Here are some outputs that may help you to identify the problem -
Output 1
telnet 192.168.254.103 25
Trying 192.168.254.103…
Connected to linux1 (192.168.254.103).
Escape character is '^]'.
220 linux1.banerjee.com ESMTP Postfix
ehlo banerjee.com
250-linux1.banerjee.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:atanu@banerjee.com
250 2.1.0 Ok
rcpt to:banerjee@banerjee.com
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
testing mail
.
250 2.0.0 Ok: queued as 062046DD8C
quit
221 2.0.0 Bye
Connection closed by foreign host.
The system is simply not asking to supply password, and the mail is getting delivered to destination.
Output 2
[root@linux1 sasl2]# telnet 192.168.254.103 25
Trying 192.168.254.103…
Connected to linux1 (192.168.254.103).
Escape character is '^]'.
220 linux1.banerjee.com ESMTP Postfix
ehlo banerjee.com
250-linux1.banerjee.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:atanu@banerjee.com
250 2.1.0 Ok
auth plain AGF0YW51AGE=
235 2.0.0 Authentication successful
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@linux1 sasl2]#
Please check, the system is accepting password, but not forcing it supply while sending mail.
The private/auth file exists -
Output 3
[root@linux1 private]# pwd && ls -l auth
/var/spool/postfix/private
srw-rw—- 1 postfix postfix 0 Dec 27 18:06 auth
[root@linux1 private]#
The dovecot service and corresponding ownership -
Output 4
[root@linux1 spool]# ps -ef | grep dovecot
root 13678 1 0 18:06 ? 00:00:01 /usr/sbin/dovecot
root 13680 13678 0 18:06 ? 00:00:00 dovecot-auth
dovecot 13681 13678 0 18:06 ? 00:00:01 pop3-login
dovecot 13682 13678 0 18:06 ? 00:00:00 pop3-login
dovecot 13683 13678 0 18:06 ? 00:00:01 pop3-login
dovecot 13971 13678 0 18:46 ? 00:00:00 imap-login
dovecot 13984 13678 0 18:51 ? 00:00:00 imap-login
dovecot 14006 13678 0 18:56 ? 00:00:00 imap-login
Output 5
[root@linux1 spool]# postconf -a
cyrus
dovecot
[root@linux1 spool]#
The main.cf and dovecot.conf is modified as it is suggested in http://www.linuxmail.info/post…..ecot-sasl/
Please help me to enforce smtp auth. I want to force user to supply password while sending mail.
Atanu