HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Postfix problems (http://www.howtoforge.com/forums/showthread.php?t=36518)

BHGR 15th June 2009 18:18

Postfix problems
 
Hi,

I have problems with Postfix on ISPConfig 3.0.1.3, OS is CentOS 5.3

Postfix won't send or recieve mail for any user.

Logs say this:

/var/log/maillog
Code:

Jun 15 19:12:33 srv1 postfix/master[11611]: warning: process /usr/libexec/postfix/smtpd pid 11628 exit status 1
Jun 15 19:12:33 srv1 postfix/master[11611]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 15 19:13:33 srv1 postfix/smtpd[11888]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Jun 15 19:13:33 srv1 postfix/smtpd[11888]: fatal: no SASL authentication mechanisms
Jun 15 19:13:34 srv1 postfix/master[11611]: warning: process /usr/libexec/postfix/smtpd pid 11888 exit status 1
Jun 15 19:13:34 srv1 postfix/master[11611]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

/var/log/messages
Code:

Jun 15 19:13:33 srv1 postfix/smtpd[11888]: sql_select option missing
Jun 15 19:13:33 srv1 postfix/smtpd[11888]: auxpropfunc error no mechanism available

Can anyone tell me what's wrong with this setup?

Thank you.

Croydon 15th June 2009 18:43

Did you strictly follow the perfect setup howto for your distribution?
It seems that you didn't setup the sql authentication correctly.

BHGR 15th June 2009 18:57

Yes I did, and also I tried running update.php to rewrite config files, but nothing has changed...

till 16th June 2009 15:58

Looks as if the mysql bindings for sasl are missing. Maybe you used some packages from another repository. Please seek for a package on your server that has mysql and sasl in its name.

BHGR 16th June 2009 18:04

I guess this is it:


[root@srv1 ~]# rpm -qa | grep sasl
cyrus-sasl-sql-2.1.22-4
cyrus-sasl-devel-2.1.22-4
cyrus-sasl-lib-2.1.22-4
cyrus-sasl-2.1.22-4

[root@srv1 ~]# rpm -qa | grep mysql
perl-DBD-mysql-4.011-1.el5.rf
php-mysql-5.1.6-23.2.el5_3
mysql-server-5.0.45-7.el5
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
courier-authlib-mysql-0.62.1-1
mydns-mysql-1.1.0-1

BHGR 16th June 2009 18:06

and:

[root@srv1 ~]# rpm -qa | grep sql
perl-DBD-mysql-4.011-1.el5.rf
php-mysql-5.1.6-23.2.el5_3
php-mssql-5.1.6-15.el5.centos.1
cyrus-sasl-sql-2.1.22-4
python-sqlite-1.1.7-1.2.1
postgresql-libs-8.1.11-1.el5_1.1
mysql-server-5.0.45-7.el5
sqlite-3.3.6-2
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
courier-authlib-mysql-0.62.1-1
mydns-mysql-1.1.0-1
postgresql-8.1.11-1.el5_1.1
postgresql-devel-8.1.11-1.el5_1.1

falko 17th June 2009 14:11

What's in your smtpd.conf?

BHGR 17th June 2009 19:12

Code:

[root@srv1 lib]# more /usr/lib/sasl2/smtpd.conf
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/var/spool/authdaemon/socket


Thank you.

falko 18th June 2009 15:26

What's the output of
Code:

uname -a
?

BHGR 18th June 2009 16:29

Code:

[root@srv1 ~]# uname -a
Linux srv1.domain.com 2.6.18-128.1.1.el5.028stab062.3 #1 SMP Sun May 10 18:54:51 MSD 2009 i686 i686 i386 GNU/Linux

The machine in OpenVZ VPS with CentOS 5.3.


All times are GMT +2. The time now is 16:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.