Postfix problems

Discussion in 'Installation/Configuration' started by BHGR, Jun 15, 2009.

  1. BHGR

    BHGR New Member

    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.
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

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

    BHGR New Member

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

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. BHGR

    BHGR New Member

    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
     
  6. BHGR

    BHGR New Member

    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
     
  7. falko

    falko Super Moderator Howtoforge Staff

    What's in your smtpd.conf?
     
  8. BHGR

    BHGR New Member

    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.
     
  9. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    uname -a
    ?
     
  10. BHGR

    BHGR New Member

    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.
     
  11. falko

    falko Super Moderator Howtoforge Staff

  12. BHGR

    BHGR New Member

    I used 5.2 32bit tutorial, with some modifications (used 5.3 repos), source rpms were compiled OK...
     
  13. falko

    falko Super Moderator Howtoforge Staff

    As far as I remember, the 5.3 guide differs a little bit from the 5.2 guide. Please try the 5.3 guide.
     
  14. BHGR

    BHGR New Member

    Hi,

    I reinstalled ISPConfig and again I get the same message:

    Jun 23 22:35:01 srv1 postfix/smtpd[9627]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
    Jun 23 22:35:01 srv1 postfix/smtpd[9627]: fatal: no SASL authentication mechanisms
    Jun 23 22:35:02 srv1 postfix/master[5159]: warning: process /usr/libexec/postfix/smtpd pid 9627 exit status 1
    Jun 23 22:35:02 srv1 postfix/master[5159]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
     

Share This Page