PDA

View Full Version : Problem with Saslauthd and postfix


aellabaetsch85
21st April 2007, 18:39
Hi,

since the last upgrade of my debian distribution I can't send mails through my smtp server...

I'm using ISPConfig 2.2.5 and Postfix as SMTP

/var/log/mail.warn contains:


Apr 21 15:45:31 h918036 postfix/smtpd[6305]: warning: SASL authentication failure: cannot connect to saslauthd server: Connection refused
Apr 21 15:45:31 h918036 postfix/smtpd[6305]: warning: XXX.t-dialin.net[XX.XXX.XX.XXX]: SASL LOGIN authentication failed: generic failure


content of
/etc/default/saslauthd is


# This needs to be uncommented before saslauthd will be run automatically
START=yes
PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"

MECHANISMS="pam"


ISPConfig: Administration --> Server --> Properties --> Mail
Virtuser: /etc/postfix/virtusertable
Sendmail CW: /etc/postfix/local-host-names

these files exist and seem to be correct... all urls and aliases are correct

Hope anybode can help me!

Best regards,
Andreas

Hans
22nd April 2007, 01:38
On this point, there are some small differences between Sarge and Etch.
I think it is a good idea to have a look here:
*edit*
http://www.howtoforge.com/forums/showthread.php?t=10106&highlight=Etch+Saslauthd

It might help you.

aellabaetsch85
22nd April 2007, 13:56
the above link seems to be directed to this thread... perhaps you can correct this?

thanks so far.

Andreas

*UPDATE*
I solved the problem using the Guide "The perfect setup Debian 4.0" for postfix and saslauth config.
now everything works fine!