Thread: SMTP Auth fail
View Single Post
  #2  
Old 29th May 2009, 21:40
0x1a4 0x1a4 is offline
Junior Member
 
Join Date: May 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

From reading and trying a few things, killing saslauthd and starting it using:

Code:
saslauthd -a pam  -n 5  -V -c -m /var/spool/postfix/var/run/saslauthd -r -d
from the command line works. I'm guesing it's the -r that I need. not sure how to make this automatic, though.

Edit:
OK, got it. In /etc/sysconfig/saslauthd I added -r to the flags line. Any drawbacks to doing this?

Quote:
# Directory in which to place saslauthd's listening socket, pid file, and so
# on. This directory must already exist.
SOCKETDIR=/var/run/saslauthd

# Mechanism to use when checking passwords. Run "saslauthd -v" to get a list
# of which mechanism your installation was compiled with the ablity to use.
MECH=pam

# Additional flags to pass to saslauthd on the command line. See saslauthd(8)
# for the list of accepted flags.
FLAGS=-r

Last edited by 0x1a4; 29th May 2009 at 21:47.
Reply With Quote