Hi all, this my first post up here, so please kindly fogive be if I make some mistake.
I have a problem with cyrus-sasl2 to authenticate a user using MySQL. During the installation I've checked the MySQL option and in /usr/local/lib/sasl2 I've got all four libsql* files. When I'm trying to send mail, I get such as info:
All this because sasl considers only one auxprop mechanism: sasldb
despite of the fact that my smtpd.conf consists of:
My current configuration is:
My main.cf looks like this:
I don't know what other information would be useful. I have read about some bug related to this version 2.1.25 and I was considering to downgrade to 2.1.23 but currently I don't know how and where to find it. I would appreciate if someone could give me some advise.
Many thanks,
Peter.
I have a problem with cyrus-sasl2 to authenticate a user using MySQL. During the installation I've checked the MySQL option and in /usr/local/lib/sasl2 I've got all four libsql* files. When I'm trying to send mail, I get such as info:
Code:
Feb 1 09:15:22 poczta postfix/smtpd[68250]: connect from unknown[10.100.11.223]
Feb 1 09:15:22 poczta postfix/smtpd[68250]: warning: unknown[10.100.11.223]: SASL PLAIN authentication
failed: no mechanism available
All this because sasl considers only one auxprop mechanism: sasldb
Code:
poczta# pluginviewer
Installed and properly configured auxprop mechanisms are:
sasldb
List of auxprop plugins follows
Plugin "sasldb" , API version: 8
supports store: yes
despite of the fact that my smtpd.conf consists of:
Code:
pwcheck_method: auxprop
auxprop_plugin: mysql
sql_engine: mysql
allowanonymouslogin: no
allowplaintext: yes
mech_list: login plain mysql
password_format plaintext
sql_user: [user]
sql_hostnames: 127.0.0.1
sql_passwd: [passwd]
sql_database: postfix
sql_select: select password from mailbox where username = '%u'@'%r' sql_verbose: yes
My current configuration is:
Code:
FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE
postfix-base-2.8.7,1
mysql-server-5.5.19
mysql-client-5.5.19
courier-authlib-mysql-0.63.0_3
courier-authlib-0.63.0_3
courier-authlib-mysql-0.63.0_3
cyrus-sasl-2.1.25_1
cyrus-sasl-saslauthd-2.1.25
My main.cf looks like this:
Code:
smtpd_recipient_restrictions =
permit_mynetworks,
reject_authenticated_sender_login_mismatch,
permit_sasl_authenticated,
reject_unauth_destination,
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = seacrew.pl
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = cyrus
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = smtpd
cyrus_sasl_config_path = /usr/local/lib/sasl2/smtpd.conf
I don't know what other information would be useful. I have read about some bug related to this version 2.1.25 and I was considering to downgrade to 2.1.23 but currently I don't know how and where to find it. I would appreciate if someone could give me some advise.
Many thanks,
Peter.