Mohsen Pahlevanzadeh: > smtpd_sasl_path = /opt/postfix/etc/postfix/smtpd.conf > smtpd_sasl_type = dovecot
Please review http://www.postfix.org/SASL_README.html. You mave mixed up CYRUS and DOVECOT authentication. Choose one of the two and stick with it. Wietse > my smtpd.conf: > > ////////////////////////// > pwcheck_method: saslauthd > mech_list: plain login > allow_plaintext: true > auxprop_plugin: mysql > sql_hostnames: 127.0.0.1 > sql_user: mail_admin > sql_passwd: mail_admin_password > sql_database: mail > sql_select: select password from users where email = '%u' > /////////////////////////////// > > then i use postfix stop; postfix start and i get the following log after > telnet 0 25: > //////////////////////////////////////////////////////////////////////// > Apr 1 04:18:43 mail postfix/postfix-script[8312]: starting the Postfix > mail system > Apr 1 04:18:43 mail postfix/master[8313]: daemon started -- version > 2.9.5, configuration /opt/postfix/etc/postfix/ > Apr 1 04:18:52 mail postfix/smtpd[8317]: warning: dict_nis_init: NIS > domain name not set - NIS lookups disabled > Apr 1 04:18:52 mail postfix/smtpd[8317]: connect from > localhost[127.0.0.1] > Apr 1 04:18:52 mail postfix/smtpd[8317]: warning: SASL: Connect > to /opt/postfix/etc/postfix/smtpd.conf failed: Connection refused > Apr 1 04:18:52 mail postfix/smtpd[8317]: fatal: no SASL authentication > mechanisms > Apr 1 04:18:53 mail postfix/master[8313]: warning: > process /opt/postfix/usr/libexec/postfix/smtpd pid 8317 exit status 1 > Apr 1 04:18:53 mail postfix/master[8313]: > warning: /opt/postfix/usr/libexec/postfix/smtpd: bad command startup -- > throttling > //////////////////////////////////////////////////////////////////// > > I don't know about my sasl. i read guide of postfix. and change perform > postfix binary installation to compile... > > Yours, > Mohsen > >