|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: smtpd_sasl_auth_enable problem
From: Patrick Ben Koetter (p
state-of-mind.de)
Date: Tue Jun 06 2006 - 03:49:41 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* Jim Neeland <postfixdg
neeland.net>:
>
> >On Sunday 04 June 2006 11:17 I wrote:
> >
> >> I have been running Postfix 2.2.3 on Redhat 9, and now want to
> >> run the same configuration (or 2.2.8) on Fedora Core 3. I have built
> >both
> >> versions on FC3, and have encountered the same runtime problem.
> >> When I attempt to enable sasl with smtpd_sasl_auth_enable = yes in
> >> main.cf, each attempt to telnet to port 25 fails (the connection closes
> >> immediately), and the following 2 lines appear in my maillog file:
> >> postfix/master[16431]: warning: process /usr/libexec/postfix/smtpd
> >> pid 16449 killed by signal 11
> >> postfix/master[16431]: warning: /usr/libexec/postfix/smtpd: bad
> >> command startup -- throttling
> >>
> >> As far as I can tell, I have modified all of the sasl-related files
> >> just as on the RH9 system (e.g. /usr/lib/sasl2/smtpd.conf). The
> >> Make option that I used was: -DUSE_SASL_AUTH.
>
> Andreas Winkelmann suggested:
>
> >Run ldd on Postfix smtpd and check each linked Library with ldd for
> >diffrent
> >Versions of the same library. Maybe your Postfix is linked against sasl2
> >and
> >ldap and the ldap-Library itself is linked against sasl1.
>
> Unfortunately, I didn't find any discrepancies. Other suggestions?
Here's a classic from the "How Redhat made Cyrus SASL even more complicated
when you thought nobody could..." list:
RH ships with 2 (!) different versions of Cyrus SASL: Cyrus-SASL.1.x and
Cyrus-SASL.2.x files are mixed on your machine.
This also includes the sasl.h helper file - it's located two times on RH
machines (prior to FC5).
Chances are, the Postfix build process was fed the sasl.h for Cyrus-SASL.1.x
while you wanted to gain SASL2 support (and therefore needed sasl.h for
Cyrus-SASL.2.x).
Check the sasl.h files for their version number. Open the file and look for
something like this:
#define SASL_VERSION_MAJOR 1
#define SASL_VERSION_MINOR 5
#define SASL_VERSION_STEP 28
If you have a sasl.h with a major version number of 1, rename the file so the
Postfix build process won't stumble over it. Then "make tidy" and run your
make CCFLAGS... statement again.
p
rick
--
The Book of Postfix
<http://www.postfix-book.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]