[Dovecot] Postfix and Dovecot SASL authentication error
sharad kanekar
sharad.kanekar at gmail.com
Sat Aug 23 17:00:46 EEST 2008
ear All,
I configured Postfix 2.3.3-2 on CentOS 5.2 using SASL Dovecot
authentication put I am facing the problem to receive mails . My postconf -n
result is:
[root at mails ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = coreteamsolutions.in
myhostname = mails.coreteamsolutions.in
mynetworks = 192.168.1.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
And my /var/log/maillog is:
Aug 23 19:01:03 mails dovecot: Dovecot v1.0.rc15 starting up
Aug 23 19:01:55 mails postfix/smtpd[3472]: warning: SASL: Connect to
private/auth failed: No such file or directory
Aug 23 19:01:55 mails postfix/smtpd[3472]: fatal: no SASL authentication
mechanisms
Aug 23 19:01:56 mails postfix/master[3407]: warning: process
/usr/libexec/postfix/smtpd pid 3472 exit status 1
Aug 23 19:01:56 mails postfix/master[3407]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 23 19:02:56 mails postfix/smtpd[3507]: warning: SASL: Connect to
private/auth failed: No such file or directory
Aug 23 19:02:56 mails postfix/smtpd[3507]: fatal: no SASL authentication
mechanisms
Aug 23 19:02:57 mails postfix/master[3407]: warning: process
/usr/libexec/postfix/smtpd pid 3507 exit status 1
Aug 23 19:02:57 mails postfix/master[3407]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 23 19:11:08 mails postfix/smtpd[3579]: warning: SASL: Connect to
private/auth failed: No such file or directory
Aug 23 19:11:08 mails postfix/smtpd[3579]: fatal: no SASL authentication
mechanisms
Aug 23 19:11:09 mails postfix/master[3407]: warning: process
/usr/libexec/postfix/smtpd pid 3579 exit status 1
Aug 23 19:11:09 mails postfix/master[3407]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
Aug 23 19:12:09 mails postfix/smtpd[3582]: warning: SASL: Connect to
private/auth failed: No such file or directory
Aug 23 19:12:09 mails postfix/smtpd[3582]: fatal: no SASL authentication
mechanisms
Aug 23 19:12:10 mails postfix/master[3407]: warning: process
/usr/libexec/postfix/smtpd pid 3582 exit status 1
Aug 23 19:12:10 mails postfix/master[3407]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
And our server 's fetchmail -vvv log is:
[sharad at mails ~]$ fetchmail -vvv
fetchmail: 6.3.6 querying coreteamsolutions.in (protocol POP3) at Sat 23 Aug
2008 07:13:41 PM IST: poll started
Trying to connect to 66.7.148.25/110...connected.
fetchmail: POP3< +OK Hello there.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Here's what I can do:
fetchmail: POP3< STLS
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< LOGIN-DELAY 10
fetchmail: POP3< PIPELINING
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Courier Mail Server
fetchmail: POP3< .
fetchmail: POP3> USER sharad at coreteamsolutions.in
fetchmail: POP3< +OK Password required.
fetchmail: POP3> PASS *
fetchmail: POP3< +OK logged in.
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 805
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Invalid command.
fetchmail: Invalid command.
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 UID60-1217729843
fetchmail: 1 is unseen
fetchmail: POP3< .
1 message for sharad at coreteamsolutions.in at coreteamsolutions.in (805
octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 805
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK headers follow.
reading message sharad at coreteamsolutions.in@coreteamsolutions.in:1 of 1 (805
octets)
About to rewrite Return-Path: <sharad at coreteamsolutions.in>
Rewritten version is Return-Path: <sharad at coreteamsolutions.in>
About to rewrite From: <sharad at coreteamsolutions.in>
Rewritten version is From: <sharad at coreteamsolutions.in>
About to rewrite To: <sharad at coreteamsolutions.in>
Rewritten version is To: <sharad at coreteamsolutions.in>
Trying to connect to 127.0.0.1/25...connected.
fetchmail: smtp listener protocol error
Trying to connect to 127.0.0.1/25...connected.
fetchmail: smtp listener protocol error
fetchmail: SMTP connect to localhost failed
fetchmail: POP3> QUIT
fetchmail: POP3< This is an e-mail message sent automatically by Microsoft
Office Outlook's Account Manager while testing the settings for your POP3
account.
fetchmail: SMTP transaction error while fetching from
sharad at coreteamsolutions.in@coreteamsolutions.in and delivering to SMTP host
localhost
fetchmail: 6.3.6 querying coreteamsolutions.in (protocol POP3) at Sat 23 Aug
2008 07:13:56 PM IST: poll completed
fetchmail: discarding new UID list
fetchmail: Query status=10 (SMTP)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 10
fetchmail: Deleting fetchids file.
please help me to rectify this problem.
Thanks and Regards,
--
Thanks and Regards,
Sharad Kanekar
More information about the dovecot
mailing list