From: Andreas Winkelmann (no email)
Date: Sun Aug 01 2004 - 05:01:46 EDT
Am Sonntag, 1. August 2004 10:34 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 ...".
>
> It's all on one line (line wrapped from my cut-n-paste.. my apologies).
> I tried removing the "-o..." portion, with no effect (stopping and
> restarting postfix, of course).
>
> I tried running strace -f -p <postfix PID>. It looks like smtpd is
> segfaulting, but I'm not a very good debugger so I don't know exactly
> why. It looks like it reads the various auth libraries from
> /usr/lib/sasl2/ (libplain.la, libcrammd5.la, libanonymous.la, etc.),
> then reads in /etc/passwd and /etc/group. Shortly after that I see the
> IP address I connected from, and then it segfaults.
If smtpd exited with a sig11 (sigsegv) you should see it in your Log.
Most time it happens, when there are diffrent versions of a Library in the
same address-space. Top Candidates are Cyrus-SASL and Berkeley-DB. Check if
for example Postfix (smtpd) is linked with sasl2 and ldap is linked against
sasl1. Run ldd on each bin or lib.
# ldd /usr/libexec/postfix/smtpd
# ldd /path/to/libldap.so
> I could post the results of strace if you like, but it's quite a bit of
> output.
-- Andreas
|
|
|