Help no SASL authentication mechanisms

Discussion in 'Server Operation' started by vinsan, Aug 19, 2016.

  1. vinsan

    vinsan New Member

    Just change my postfix from pam to mysql however after setup it shows while send out mail. 3 days i can't find out why

    postfix/smtpd[26315]: fatal: no SASL authentication mechanisms
    ++++++++++++++++++++++++++++++++++++++++
    postconf
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    allow_percent_hack = no
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    data_directory = /var/lib/postfix
    debug_peer_level = 2
    home_mailbox = Maildir/
    html_directory = no
    inet_protocols = all
    mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
    mailbox_size_limit = 0
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    milter_default_action = accept
    milter_protocol = 2
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    mydomain = domain.com
    myhostname = $mydomain
    myorigin = $mydomain
    newaliases_path = /usr/bin/newaliases.postfix
    non_smtpd_milters = $smtpd_milters
    readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
    sample_directory = /usr/share/doc/postfix-2.6.6/samples
    sender_bcc_maps = hash:/etc/postfix/bcc
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
    smtp_sasl_security_options =
    smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
    smtp_use_tls = yes
    smtpd_banner = $myhostname ESMTP $mail_name
    smtpd_milters = inet:127.0.0.1:8891
    smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination reject_sender_login_mismatch
    smtpd_sasl_auth_enable = yes
    smtpd_tls_cert_file = /etc/postfix/postfix.cert.pem
    smtpd_tls_key_file = /etc/postfix/postfix.key.pem
    smtpd_tls_mandatory_ciphers = high
    smtpd_tls_security_level = may
    transport_maps = hash:/etc/postfix/transport
    unknown_local_recipient_reject_code = 550
    virtual_alias_domains = domain.com
    virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
    virtual_gid_maps = static:5000
    virtual_mailbox_base = /home/vmail
    virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
    virtual_mailbox_limit = 51200000
    virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
    virtual_minimum_uid = 5000
    virtual_transport = dovecot
    virtual_uid_maps = static:5000
     
  2. vinsan

    vinsan New Member

    thanks for anyone trying to help
     

Share This Page