[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix & SASL



On Tue, 2004-03-09 at 16:49, Jeffrey L. Taylor wrote:
> Quoting David Clymer <david@zettazebra.com>:
> > On Mon, 2004-03-08 at 18:13, Jeffrey L. Taylor wrote:
> > > Quoting Jeffrey L. Taylor <jeff@austinblues.dyndns.org>:
> > > > I am trying to get SASL running with Postfix on Debian.  I would like
> > > > to authenticate against /etc/passwd, but I only have a few users and
> > > > they don't change often so any mechanism would be okay.  I have the
> > > > following in /etc/postfix/sasl/smtpd.conf and
> > > > /usr/lib/sasl/smtpd.conf:
> > > > 
> > > > pwcheck_method: passwd
> > > > mech_list: PLAIN LOGIN
> > > > 
> > > > I am getting the following error in syslog:
> > > > 
> > > > postfix/smtpd[3072]: fatal: no SASL authentication mechanisms
> > > > 
> > > > Does anyone have this working?
> > > > 
> > > > TIA,
> > > >   Jeffrey
> > > > 
> > > > 
> > > 
> > > Additional details, I have the following packages installed:
> > > 
> > > postfix
> > > postfix-tls
> > > libsasl7
> > > 
> > 
> > 
> > Make sure you have libsasl-modules | libsasl2-modules && libsasl |
> > libsasl2 installed. The libsasl? packages only provide an abstract sasl
> > lib. For it to be very useful, you will need to install the modules
> > which provide the various authentication implementations.
> > 
> > -davidc
> > 
> > 
> 
> apt-get install libsasl-modules-plain
> 
> Did the trick.  Or at least got rid or the error message and normal,
> incoming mail goes thru.  I am still getting authentication failed
> when trying to use "AUTH PLAIN".  I keep banging on it.
> 

What other errors/output are you seeing in your /var/mail.* logs? 

Try adding:

#debug
debug_peer_level=2
debug_peer_list=client.ip.address

to your main.cf. That will provide more debugging so that you have more
to go on (hopefully)


-davidc



Reply to: