View Single Post
  #3  
Old 9th January 2013, 14:27
xsas xsas is offline
Junior Member
 
Join Date: May 2010
Location: Valencia
Posts: 16
Thanks: 5
Thanked 0 Times in 0 Posts
Default We found it ...

Hi,

We found it!!!

Thanks for your reply tahunasky but the problem wasn't amavis but SASL authentication.

Making a test in localhost we found :

Jan 3 07:39:49 64 postfix/smtpd[17781]: connect from localhost[::1]
Jan 3 07:39:49 64 postfix/smtpd[17781]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Jan 3 07:39:49 64 postfix/smtpd[17781]: fatal: no SASL authentication mechanisms
Jan 3 07:39:50 64 postfix/master[16109]: warning: process /usr/libexec/postfix/smtpd pid 17781 exit status 1
Jan 3 07:39:50 64 postfix/master[16109]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

then we review the sasl authentication mechanism and the sasl installed packets.

# cat /etc/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login

# rpm -qa | grep sasl
cyrus-sasl-2.1.23-13.el6_3.1.x86_64
cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
cyrus-sasl-devel-2.1.23-13.el6_3.1.x86_64

and we install that we need.

# yum search sasl | grep cyrus
[...]
cyrus-sasl-plain.i686 : PLAIN and LOGIN authentication support for Cyrus SASL
cyrus-sasl-plain.x86_64 : PLAIN and LOGIN authentication support for Cyrus SASL
[...]

#yum install cyrus-sasl-plain cyrus-sasl-md5

and finally restart the services

# service saslauthd stop
# service postfix stop
# service saslauthd start
# service postfix start

Simple, but it's complicated to detect. Normally you search in more other places than here.

Now I have reviewed the howto and I have realized that there is a comment with the solution, ups.

http://www.howtoforge.com/perfect-se...#comment-32968

bye
__________________
---
Salvador Ausina

quadux.net
Reply With Quote