Hi guys, I've had cyrus setup with simle plaintext authentication using sasl2 for imap on my notebook (so I can change e-mail clients at will). All worked faboulous since 9.3 came out. Today I installed xffm and xfcalender via yast sw_single, and since then I cannot log into my imap. When I telnet into port 110 (just to test auth and see what the error is) I get this: twoflower:/etc/pam.d # telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK twoflower Cyrus POP3 v2.2.12 server ready <3713703467.1125835904@twoflower> user hansdp +OK Name is a valid mailbox pass ******** -ERR [AUTH] Invalid login /var/log/messages tells me: Sep 4 14:11:43 theluggage pop3[17361]: executed Sep 4 14:11:43 theluggage pop3[17361]: sql_select option missing Sep 4 14:11:43 theluggage pop3[17361]: auxpropfunc error no mechanism available Sep 4 14:11:43 theluggage pop3[17361]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql Sep 4 14:11:43 theluggage pop3[17361]: accepted connection Sep 4 14:11:56 theluggage pop3[17361]: badlogin: localhost [127.0.0.1] plaintext hansdp SASL(-13): user not found: checkpass failed The imap.conf specifies sasl_pwcheck_method: auxprop and the above message complains about auxprop. How do I fixe this? Or are there alternatives? I did this setup from a howto and I don't know sals or cyrus well at all. I'll include the relevant config files. Any ideas on what might be wrong would be welcome. Thanks Hans /etc/imap.conf configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve sieveusehomedir:no admins: cyrus root postfix allowanonymouslogin: no autocreatequota: 10000000 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 sasl_pwcheck_method: auxprop sasl_mech_list: PLAIN LOGIN lmtp_overquota_perm_failure: no lmtp_downcase_rcpt: yes lmtpsocket: /var/spool/postfix/public/lmtp /etc/pam.d/imap #%PAM-1.0 auth include common-auth account include common-account password include common-password session include common-session
Hans du Plooy wrote:
Today I installed xffm and xfcalender via yast sw_single, and since then I cannot log into my imap.
[...]
/var/log/messages tells me:
Sep 4 14:11:43 theluggage pop3[17361]: executed Sep 4 14:11:43 theluggage pop3[17361]: sql_select option missing Sep 4 14:11:43 theluggage pop3[17361]: auxpropfunc error no mechanism available Sep 4 14:11:43 theluggage pop3[17361]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
For some reason sasl is trying to query a sql database. Is it possible that the programs you installed redirected the sasl query from sasldb to sql? If for some reason it installed a pam plugin that says sql is required you are out of luck. Please check to documentation of these programs.
The imap.conf specifies sasl_pwcheck_method: auxprop and the above message complains about auxprop. How do I fixe this? Or are there alternatives?
I did this setup from a howto and I don't know sals or cyrus well at all. I'll include the relevant config files. Any ideas on what might be wrong would be welcome.
You do have a backup of your setup, right? How is saslauthd called and configured in /etc/sysconfig/saslauthd? Sandy
For some reason sasl is trying to query a sql database. Is it possible that the programs you installed redirected the sasl query from sasldb to sql? If for some reason it installed a pam plugin that says sql is required you are out of luck. Please check to documentation of these programs. I don't understand why - I checked all the files in /etc/pam.d/ and all
Sandy, thanks, I got it working the other relevant files, and there's no reference to sql at all.
You do have a backup of your setup, right? Unfortunately not...
How is saslauthd called and configured in /etc/sysconfig/saslauthd? SASLAUTHD_AUTHMECH=pam
I changed, in imap.conf: sasl_pwcheck_method: auxprop to sasl_pwcheck_method: saslauthd And that fixed it. I'm just completely baffled at why this would have happened at all. XFFM is the XFCE file manager, xfcalender a calender program - they shouldn't touch my imap, sasl or pam config?!? Thanks for your reply! Hans
participants (2)
-
Hans du Plooy
-
Sandy Drobic