Unable to send mail messages: fatal: no SASL authentication mechanisms




  • Avatar
    Yves YperLine

    I have the same problem and my string is smtp_sasl_type = dovecot

    If the string smtp_sasl_type is removed, does that mean sasl is disabled ?


  • Avatar
    Konstantin Annikov

    Hello Yves, 

    The smtp_sasl_type parameter is defined to choose he SASL plug-in type that the Postfix SMTP client should use for authentication. The available types are listed with the "postconf -A" command.

    If the string is not defined, the SASL authentication will be still in use, but without plugins. If it is needed to disable SASL authentication, please change the 

    smtpd_sasl_auth_enable =yes


    smtpd_sasl_auth_enable = no 

    In the same configuration file. 

    You can read more about both parameters in official postfix documentation: 


  • Avatar
    Yves YperLine

    Thank you Konstantin.  You give me the exact solution.

    Indeed ! postconf -A  gives cyrus.

    So, I changed smptd_sasl_type = dovecot  to  smptd_sasl_type = cyrus

    It seems it works fine now ! 

Please sign in to leave a comment.

Have more questions? Submit a request