Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysterious sasl/smtpd error messages

Status
Not open for further replies.

kooganani

MIS
Jun 14, 2005
1
US
I finally got my postfix + mysql + sasl2 + authlib + courier-imap server working, and I'm getting some very familiar errors in my auth.* syslog:

Jul 7 21:33:55 truea postfix/smtpd[6652]: SQL engine 'mysql' not supported
Jul 7 21:33:55 truea postfix/smtpd[6652]: auxpropfunc error no mechanism available
Jul 7 21:33:55 truea postfix/smtpd[6652]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql

The reason that they're familiar is that these are the errors I got when I was trying to get sasl2 to interface with mysql directly. As it stands, sasl2 is using courier authlib. Here is my sasl2 smtpd.conf:

pwcheck_method: authdaemond
log_level: 5
mech_list: PLAIN LOGIN
authdaemond_path: /var/spool/authdaemon/socket

The strange thing is that everything is working. I can only send out using smtp auth, and smtp auth is interfacing fine with mysql by way of sasl2->authlib. But I keep getting the smtpd/sasl2/mysql errors every time I send a message. Here's my postfix sasl configuration:

broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous

(I haven't gotten around to changing check_relay_domains yet)

Is there some way that sasl2 can still be attempting to use the mysql interface? Please note that I am not interested in getting sasl2 to work directly with mysql; I'm just trying to figure out the cause of the error messages.

Thanks,
Aaron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top