Postfix / smtpd : sql_select option missing auxpropfunc error no mechanism available error and solution

by Vivek Gite on June 11, 2007 · 4 comments

Q. I’m running Redhat Enterprise Linux 4.5 server along with Postfix and Cyrus mail server. However I’m getting following error in my log files:

Jun 10 18:00:04 server postfix/smtpd[7280]: sql_select option missing
Jun 10 18:00:04 server postfix/smtpd[7280]: auxpropfunc error no mechanism available

How do I fix this error? I’m not using mysql for postfix.

A. The cyrus software comes with various plugin. The cyrus-sasl-sql package contains the Cyrus SASL plugin which supports using a RDBMS for storing shared secrets.

If you are not using MySQL, just remove the plugin using rpm command:

# rpm -ev cyrus-sasl-sql

Note if you are using Debian or Ubuntu remove libsasl2-modules-sql package:
# apt-get remove libsasl2-modules-sql

Also on RHEL 3 / 4, make sure that file /etc/openldap/slapd.conf is owned by the user ldap:
# chown ldap.ldap /etc/openldap/slapd.conf

Other option is to configure the sql module. Now there should not be any sort of error in /var/log/messages or /var/log/maillog file.

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 4 comments… read them below or add one }

1 satish May 9, 2008

this solved my problem. Thanx

Reply

2 York December 2, 2008

seems this put out those ugly lines from my server logs. thank you.

Reply

3 Giancarlo December 8, 2008

Thanks.

Reply

4 Andre August 15, 2009

I am getting somehow a similar problem. The difference is that I am using mysql with
cyrus-sasl-2.1.19-14 and cyrus-sasl-sql-2.1.19-14 with rhel 4

postfix/smtpd[5425]: sql_select option missing
postfix/smtpd[5425]: auxpropfunc error no mechanism available

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 14 + 7 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: