LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix, Dovecot, MySQL users - issue with SASL (https://www.linuxquestions.org/questions/linux-server-73/postfix-dovecot-mysql-users-issue-with-sasl-733338/)

silviap 06-16-2009 08:49 AM

Postfix, Dovecot, MySQL users - issue with SASL
 
Hello,

I installed on a CentOS 5 machine Postfix and Dovecot with MySQL users and PostfixAdmin (I mainly followed this tutorial: http://wiki.dovecot.org/HowTo/Doveco...tfixAdminMySQL). This setup worked for me in the past, but now, I notice I can send emails out, but I cannot receive any.
In maillog I have:

postfix/smtpd: warning: SASL: Connect to private/auth failed: Connection refused
postfix/smtpd: fatal: no SASL authentication mechanisms
postfix/master: warning: process /usr/libexec/postfix/smtpd pid 7632 exit status 1
postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

Any suggestions?
Thanks!

archangel_617b 06-16-2009 04:24 PM

Check your sasl/smtpd.conf, look for what you're permitting and blocking for recipient restrictions in your main.cf... It looks like your recipient restrictions may be broken.

Your outbound sending should be pretty different from inbound since you're allowing relaying to senders who are either on your local network or else who are authenticating (via SASL) so it doesn't mean to much that you can have email go one way but not the other. This really just means that Postfix is on and doing *something* ;)

- Arch

silviap 06-17-2009 06:24 AM

Hello,

I noticed the server was updated recently (not by me). I restarted all the services, I even re-installed Postfix and Dovecot.

The /usr/lib/sasl2/smtpd.conf file had the following line:
pwcheck_method: saslauthd

The output for "saslauthd -v" is:
saslauthd 2.1.22
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap

I tried adding mech_list: plain login, but nothing happened.

Any suggestions?
Thanks!


All times are GMT -5. The time now is 05:55 AM.