bimal_linux
asked on
postfix sasl smtp problem
Hi,
I am using centosl 4.3,
cyrus-sasl-devel-2.1.19-5. EL4
cyrus-sasl-2.1.19-5.EL4
cyrus-sasl-plain-2.1.19-5. EL4
cyrus-sasl-md5-2.1.19-5.EL 4
After compile and installtion of postfix-2.2.10 from source with (during installation I selected default locations), SMTPD is killing by throwing the following error: if i do a 'telnet localhost 25'
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: smtpd_access_maps ~? relay_domains
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: smtpd_access_maps ~? smtpd_access_maps
Jun 2 18:50:12 email02 postfix/smtpd[7170]: smtpd_sasl_initialize: SASL config file is smtpd.conf
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: fast_flush_domains ~? debug_peer_list
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: fast_flush_domains ~? fast_flush_domains
Jun 2 18:50:12 email02 postfix/smtpd[7170]: attr_clnt_create: transport=local endpoint=private/anvil
Jun 2 18:50:12 email02 postfix/smtpd[7170]: connection established
Jun 2 18:50:12 email02 postfix/smtpd[7170]: master_notify: status 0
Jun 2 18:50:12 email02 postfix/smtpd[7170]: name_mask: resource
Jun 2 18:50:12 email02 postfix/smtpd[7170]: name_mask: software
Jun 2 18:50:12 email02 postfix/master[7166]: warning: process /usr/libexec/postfix/smtpd pid 7170 killed by signal 11
Jun 2 18:50:12 email02 postfix/master[7166]: warning: /usr/libexec/postfix/smtpd : bad command startup -- throttling
I was able to use the default rpm from centos without any probelm. I was using the same config for my compiled version..
Any Idea?
bimal_linux
I am using centosl 4.3,
cyrus-sasl-devel-2.1.19-5.
cyrus-sasl-2.1.19-5.EL4
cyrus-sasl-plain-2.1.19-5.
cyrus-sasl-md5-2.1.19-5.EL
After compile and installtion of postfix-2.2.10 from source with (during installation I selected default locations), SMTPD is killing by throwing the following error: if i do a 'telnet localhost 25'
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: smtpd_access_maps ~? relay_domains
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: smtpd_access_maps ~? smtpd_access_maps
Jun 2 18:50:12 email02 postfix/smtpd[7170]: smtpd_sasl_initialize: SASL config file is smtpd.conf
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: fast_flush_domains ~? debug_peer_list
Jun 2 18:50:12 email02 postfix/smtpd[7170]: match_string: fast_flush_domains ~? fast_flush_domains
Jun 2 18:50:12 email02 postfix/smtpd[7170]: attr_clnt_create: transport=local endpoint=private/anvil
Jun 2 18:50:12 email02 postfix/smtpd[7170]: connection established
Jun 2 18:50:12 email02 postfix/smtpd[7170]: master_notify: status 0
Jun 2 18:50:12 email02 postfix/smtpd[7170]: name_mask: resource
Jun 2 18:50:12 email02 postfix/smtpd[7170]: name_mask: software
Jun 2 18:50:12 email02 postfix/master[7166]: warning: process /usr/libexec/postfix/smtpd
Jun 2 18:50:12 email02 postfix/master[7166]: warning: /usr/libexec/postfix/smtpd
I was able to use the default rpm from centos without any probelm. I was using the same config for my compiled version..
Any Idea?
bimal_linux
what are the contents of your master.cf
oops and main.cf
ASKER
Sorry for the late reply..I was bit busy.. Than you for the reply .. That was the problem with SASL + LDAP library. I fixed it by compiling new curus after installing latest version of openldap and specifying the path while compiling..
Regards,
Bimal
Regards,
Bimal
gotcha. Can you please post, in a little more detail, step by step what you did? Then post a Q in the Community Support area requesting a PAQ/Refund. Someone may search and come across this question and need to know a little more indepth what you did.
Thanks
Thanks
ASKER
Sorry, it took a long time to respond.. I was little busy with other stuff.. Here follows what I did to fix it..
First download and install cyrus sasl
wget http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.22.tar.gz
tar -zxvf cyrus-sasl-2.1.22.tar.gz
cd cyrus-sasl-2.1.22
./configure --prefix=/usr/local/cyrus- sasl
make;make install
Download ,compile and install openldap: (from openldap.org)
./configure --prefix=/usr/local/openld ap
make depend; make install
will do that for you..
now download and compile postfix with the following arguments in it. (from postfix.org)
make makefiles CCARGS="-I/usr/local/inclu de -DHAS_LDAP -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/local/cyrus-sasl/in clude/sasl -DUSE_TLS -I/usr/local/openldap/incl ude" AUXLIBS="-L/usr/local/cyru s-sasl/lib -L/usr/local/lib -lldap -llber -L/usr/local/lib -lsasl2 -L/usr/local/openldap/lib -lssl -lcrypto"
make; make upgrade (if you have a postfix preinstalled, else, make install)
While make install, it will ask for the libldap and liblber libiraries. Go to create a symlink from /usr/local/openldap/lib to /lib for the corresponding library files to resolve this issue. :)
After stop and start, Postfix will behave properly ...
I have noticed the same postfix sasl issue with Fedora Core 4. Above mentioned steps will help to fix that unpleasant surprise too.. :)
Good Luck..
Bimal Mankara
First download and install cyrus sasl
wget http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.22.tar.gz
tar -zxvf cyrus-sasl-2.1.22.tar.gz
cd cyrus-sasl-2.1.22
./configure --prefix=/usr/local/cyrus-
make;make install
Download ,compile and install openldap: (from openldap.org)
./configure --prefix=/usr/local/openld
make depend; make install
will do that for you..
now download and compile postfix with the following arguments in it. (from postfix.org)
make makefiles CCARGS="-I/usr/local/inclu
make; make upgrade (if you have a postfix preinstalled, else, make install)
While make install, it will ask for the libldap and liblber libiraries. Go to create a symlink from /usr/local/openldap/lib to /lib for the corresponding library files to resolve this issue. :)
After stop and start, Postfix will behave properly ...
I have noticed the same postfix sasl issue with Fedora Core 4. Above mentioned steps will help to fix that unpleasant surprise too.. :)
Good Luck..
Bimal Mankara
ASKER
Now, please tell me how can i refund those points..
Support, Please do that for me..
Regards
Bimal
Support, Please do that for me..
Regards
Bimal
If you look at the very upper right of this page you will see a link for Support. Click on that, then in that section post a Q referenceing the URL for this Q. Say that you answered your own question and wish to PAQ/Refund this question.
A moderator will then post a comment stating your intentions and then wait a few days to make sure there are no objections. If none, then the request is finalized
A moderator will then post a comment stating your intentions and then wait a few days to make sure there are no objections. If none, then the request is finalized
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.