auxprop fails to find SASL mechanisms

Göran Höglund goran.hoglund at telemar.se
Mon May 14 10:02:16 EDT 2007


Hi,
After a struggle with compiling and linkig SASL to be used with Postfix 
on a Solaris 8 machine I finally got the the point where I start to test 
a connection.
I have setup mysql for virtual hosting as well.
The first question is wether this is a matter for this list or for a 
postfix list??

Anyhow, the output in my maillog is:
May 14 06:34:31 apollo postfix/smtpd[28368]: [ID 197553 mail.info] 
connection established
May 14 06:34:31 apollo postfix/smtpd[28368]: [ID 197553 mail.info] 
master_notify: status 0
May 14 06:34:31 apollo postfix/smtpd[28368]: [ID 197553 mail.info] 
name_mask: resource
May 14 06:34:31 apollo postfix/smtpd[28368]: [ID 197553 mail.info] 
name_mask: software
May 14 06:34:31 apollo postfix/smtpd[28368]: [ID 197553 mail.info] 
xsasl_cyrus_server_create: SASL service=smtp, realm=telemar.se
May 14 06:34:31 apollo postfix/smtpd[28368]: [ID 197553 mail.info] 
name_mask: noanonymous
May 14 06:34:31 apollo postfix/smtpd[28368]: [ID 947731 mail.warning] 
warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL 
mechanisms
May 14 06:34:31 apollo postfix/smtpd[28368]: [ID 947731 mail.crit] 
fatal: no SASL authentication mechanisms
May 14 06:34:32 apollo postfix/master[275]: [ID 947731 mail.warning] 
warning: process /usr/libexec/postfix/smtpd pid 28368 exit status 1
May 14 06:34:32 apollo postfix/master[275]: [ID 947731 mail.warning] 
warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

My smtpd.conf is:
log_level: 3
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: PLAIN LOGIN
sql_engine: mysql
sql_hostnames: localhost
sql_database: mail
sql_user: postfix
sql_passwd: secret
sql_select: SELECT %p FROM virtual_users WHERE username = '%u' and 
'userrealm'
'%r' and auth = '1'

My virtual_users table:
+-----------------+------------------+------+-----+------------+----------------+
| Field           | Type             | Null | Key | Default    | Extra 
         |
+-----------------+------------------+------+-----+------------+----------------+
| id              | int(11) unsigned | NO   | PRI |            | 
auto_increment |
| username        | varchar(255)     | NO   |     | 0          | 
         |
| userrealm       | varchar(255)     | NO   |     | telemar.se | 
         |
| userpassword    | varchar(255)     | NO   |     | 1stP at aa    | 
         |
| auth            | tinyint(1)       | YES  |     | 1          | 
         |
| active          | tinyint(1)       | YES  |     | 1          | 
         |
| email           | varchar(255)     | NO   | MUL |            | 
         |
| virtual_uid     | smallint(5)      | YES  |     | 1000       | 
         |
| virtual_gid     | smallint(5)      | YES  |     | 1000       | 
         |
| virtual_mailbox | varchar(255)     | YES  |     |            | 
         |
+-----------------+------------------+------+-----+------------+----------------+

My settings in main.cf:
# SASL particulrars
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = smtpd
smtpd_sasl_authenticated_header = yes
smtpd_sasl_security_options = noanonymous
# smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
         reject_unauth_destination
smtpd_sasl_local_domain = telemar.se
broken_sasl_auth_clients = yes

I have seen a lot of references to this problem for saslauth but none 
for auxprop







More information about the Cyrus-sasl mailing list