PDA

View Full Version : CentOS5 Vserver mailing setup - sasl problems


vargadanis
19th April 2008, 16:04
Hi all

I don't think I have posted a lot here. I am quite new to this whole server thingy. I would like to follow the steps of this tutorial:
http://howtoforge.com/virtual-users-and-domains-postfix-courier-mysql-centos5.1-p2
I linked the 2nd page because I suppose the problem I have is in connection with the sasl daemon.
When I try to telnet to postfix (telnet localhost 25) I get a message that connection closed by foreign host. In the syslog (which is only partial due to the vserver) has these lines:

Apr 19 08:58:50 danis amavis[31833]: Creating db in /var/amavis/db/; BerkeleyDB 0.33, libdb 4.3
Apr 19 08:58:52 danis postfix/postfix-script: warning: /usr/lib/sendmail and /usr/sbin/sendmail differ
Apr 19 08:58:52 danis postfix/postfix-script: warning: Replace one by a symbolic link to the other
Apr 19 08:58:52 danis postfix/postfix-script: starting the Postfix mail system
Apr 19 08:58:52 danis postfix/master[31918]: daemon started -- version 2.3.3, configuration /etc/postfix
Apr 19 09:02:13 danis postfix/smtpd[32038]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Apr 19 09:02:13 danis postfix/smtpd[32038]: fatal: no SASL authentication mechanisms
Apr 19 09:02:14 danis postfix/master[31918]: warning: process /usr/libexec/postfix/smtpd pid 32038 exit status 1
Apr 19 09:02:14 danis postfix/master[31918]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
bash-3.1#


Any idea why this could be?

vargadanis
19th April 2008, 21:49
The sollution was quite simple yet very confusing. After reading a post on these forums I installed a single package which has solved this problem.
yum install cyrus-sasl-plain
The end of the story... Good luck everyone!