Postfix SMTP Authentication - On The Secure Port Only - MECH question

Discussion in 'HOWTO-Related Questions' started by bendycode, Dec 29, 2008.

  1. bendycode

    bendycode New Member

    How do I change MECH values?

    Sure enough, my authentication failed the test.

    The article says: **If the authentication is not successful, you may have to change the MECH value in /etc/sysconfig/saslauthd and /etc/init.d/saslauthd.

    I don't have an /etc/sysconfig/saslauthd file, and I don't see what I need to change in /etc/init.d/saslauthd

    saslauthd -V shows:

    authentication mechanisms: sasldb getpwent kerberos5 pam rimap shadow ldap

    I got to this point after following , having everything work, except for SMTP to the server. My ISP blocks port 25, and ports 465 and 587 were not yet serving secure SMTP. That lead me to this howto.

    Thanks in advance for your help!
  2. falko

    falko Super Moderator

    Which distribution are you using?
  3. bendycode

    bendycode New Member

    Ubuntu 8.04.1
  4. falko

    falko Super Moderator

    What's in /etc/postfix/sasl/smtpd.conf?
  5. bendycode

    bendycode New Member

    pwcheck_method: saslauthd
    mech_list: plain login
  6. falko

    falko Super Moderator

    According to the tutorial it should look as follows:
    pwcheck_method: saslauthd
    mech_list: plain login
    allow_plaintext: true
    auxprop_plugin: mysql
    sql_user: mail_admin
    sql_passwd: mail_admin_password
    sql_database: mail
    sql_select: select password from users where email = '%u'

Share This Page