From: Andreas Winkelmann (no email)
Date: Sun Aug 01 2004 - 04:31:10 EDT
Am Sonntag, 1. August 2004 09:51 schrieb Eric N. Valor:
> Everything is happy except now I'm getting "warning:
> /usr/libexec/postfix/smtpd: bad command startup" upon connection to port
> 25. I have no idea what I'm passing to smtpd.
>
> master.cf:
> smtp inet n - n - - smtpd -o
> smtpd_sasl_auth_enable=yes
Hmm, is this Line? Or is the second line indented?
To find the cause, delete the "-o ...".
> > > saslauthd_uri: ldap://XXX.XXX.XXX.XXX
> > > saslauthd_mech: ldap
> >
> > This is wrong, or better senseless. The authmech, which saslauthd uses is
> > given as startup-argument ("saslauthd -a ldap"). The URI is defined in
> > the configuration-file, normally saslauthd.conf somewhere in /etc.
>
> Thanks. I thought this was rather redundant. But I'm finding that the
> SASL documentation (especially for LDAP) is.... well... rather..
> "lacking". I have yet to find a complete listing of smtpd.conf options
> and/or an explanation of what is appropriate when.
The smtpd.conf - Options are described in "cyrus-sasl-sourcedir/doc/
options.html". The ldap-options "cyrus-sasl-sourcedir/saslauthd/
LDAP_SASLAUTHD"
> > > saslauthd_path: /var/state/saslauthd/mux
> >
> > Be carefull, this is the socket the Library uses to connect to saslauthd.
> > If you change it here, don't forget to tell saslauthd that you want to
> > change it ("saslauthd ... -m /var/state/saslauthd").
>
> Is this even necessary in smtpd.conf then? My saslauthd defaults to
> /var/state/saslauthd.
If you do not change the default, it is not necessary.
-- Andreas
|
|
|