Sorry - this was my mistake. The server's arch was 64 and the sasl expected smtpd.conf in /usr/lib64/sasl2/, not in /usr/lib/sasl2/. Once I symlinked the two, SASL authenticated correctly.
Thank you for the attention, Regards Gurunandan On Thu, 2009-05-07 at 01:28 +0530, Gurunandan R. Bhat wrote: > Hi, > > I am configuring Virtual domains and mailboxes on CentOS 5.5 using > MySQL for data maps and SASL for SMTP Auth. As far as I can say, I > have followed The Book of Postfix. > > Dovecot and Postfix both use the same tables for authentication > and POP authentication works perfectly. However any attempt at SMTP > authentication gives the following (SASL?) error: > > May 7 01:02:23 Server1 postfix/smtpd[11760]: auxpropfunc error > invalid parameter supplied > May 7 01:02:23 Server1 postfix/smtpd[11760]: sql_select option > missing > May 7 01:02:23 Server1 postfix/smtpd[11760]: auxpropfunc error no > mechanism available > > and then followed by: > > May 7 01:02:24 Server1 saslauthd[11666]: do_auth: auth failure: > [user=XXXX] [service=smtp][realm=XXXXX] [mech=pam][reason=PAM auth > error] > > My /usr/lib/sasl2/smtpd.conf reads: > > log_level: 8 > pwcheck_method: auxprop > mech_list: PLAIN LOGIN > auxprop_plugin: sql > sql_verbose: yes > sql_engine: mysql > sql_hostnames: localhost > sql_user: XXXXXX > sql_passwd: XXXXXX > sql_database: postfix > sql_select: select password from mailbox where username = '%...@%r' > > I would really appreciate your help in figuring whats wrong. > > Thanks and regards > Gurunandan > >