|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: sasl works but complains of no user in db
From: Patrick Ben Koetter (p
state-of-mind.de)
Date: Sun Oct 03 2004 - 16:02:20 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* J.D. Bronson <jbronson
wixb.com> [041003 21:52]:
> by the way, I used Cyrus-SASL test programs in the sample directory.
> Set one window up as 'server'
> Set one window up as 'client' and then I tried to authenticate:
>
> successful authentication
> closing connection
fine!
> Here is the output that you requested: (nice program by the way!)
>
> -- smtpd is linked to --
> libsasl2.so.2 => /usr/local/lib/libsasl2.so.2
>
> -- active SMTP AUTH parameters for smtpd --
> smtpd_sasl_application_name = smtpd
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain = $myhostname
> smtpd_sasl_security_options = noanonymous,noplaintext
> smtpd_sasl_tls_security_options = noanonymous,noplaintext
What's your machines hostname?
Is it the same as $myhostname in postfix?
> -- content of /usr/lib/sasl2/smtpd.conf --
> pwcheck_method: auxprop
> mech_list: cram-md5 digest-md5
you might want to add:
auxprop_plugin: sasldb
It should work without also, because SASL falls back to the default
auxprop_plugin sasldb if nothing else is given, but then... one never
knows...
> -- active services in /etc/postfix/master.cf --
> # service type private unpriv chroot wakeup maxproc command + args
> # (yes) (yes) (yes) (never) (100)
> smtp inet n - y - - smtpd -v
you run smtpd chrooted. GEt it out of the chroot while you try to get
SMTP AUTH going. Later you can go for more complex setups.
What are the permissions on sasldb?
It is /etc/sasldb2?
p
rick
--
I take the freedom to ignore offlist messages. Open Source software
requires open access to information that tells all of us how to run it.
Don't deprive the community of that!
SMTP AUTH HOWTO: <http://postfix.state-of-mind.de/patrick.koetter/>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]