Postfix + sasl problem

Discussion in 'Installation/Configuration' started by nexon, Dec 31, 2007.

  1. nexon

    nexon New Member

    Based on falko's Postfix + Mysql Tutorial for Centos 5.1 ( I was having good progress up until I had to test the SMTP server, here is where the problem starts. When I try to connect to SMTP server it fails (not firewall) and I can't seem to figure it out :(

    Trying to connect to SMTP automatically results in a refused connection (not firewall).
    [[email protected] postfix]# telnet localhost 25
    Connected to localhost.
    Escape character is '^]'.
    Connection closed by foreign host.
    [[email protected] postfix]#
    When I look at /var/log/maillog I get this:
    [[email protected] postfix]# cat /var/log/maillog
    Dec 31 03:31:04 guinness postfix/smtpd[3483]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
    Dec 31 03:31:04 guinness postfix/smtpd[3483]: fatal: no SASL authentication mechanisms
    Dec 31 03:31:05 guinness postfix/master[14238]: warning: process /usr/libexec/postfix/smtpd pid 3483 exit status 1
    Dec 31 03:31:05 guinness postfix/master[14238]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    [[email protected] postfix]#
    Here is my /usr/lib/sasl2/smtpd.conf file:
    [[email protected] postfix]# cat /usr/lib/sasl2/smtpd.conf
    pwcheck_method: authdaemond
    log_level: 3
    mech_list: PLAIN LOGIN
    [[email protected] postfix]#
    And finally here is my postfix /etc/postfix/ contents:
    [[email protected] postfix]# postconf -n
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    mydestination =, localhost, localhost.localdomain
    myhostname =
    mynetworks =
    newaliases_path = /usr/bin/newaliases.postfix
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
    sample_directory = /usr/share/doc/postfix-2.3.3/samples
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_use_tls = yes
    transport_maps = proxy:mysql:/etc/postfix/
    unknown_local_recipient_reject_code = 550
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/, mysql:/etc/postfix/
    virtual_create_maildirsize = yes
    virtual_gid_maps = static:5000
    virtual_mailbox_base = /home/vmail
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
    virtual_mailbox_limit_override = yes
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    virtual_uid_maps = static:5000
    [[email protected] postfix]#
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    uname -a

Share This Page