You are not logged in.
Hey,
Few days ago I noticed some weird errors and e-mails being rejected. Apparently, it has something to do with SASL and the pam module but I am stuck.
mail.log
Apr 15 19:20:26 cadaques postfix/smtpd[23900]: connect from mail-pv0-f181.google.com[74.125.83.181]
Apr 15 19:20:26 cadaques postfix/smtpd[23900]: setting up TLS connection from mail-pv0-f181.google.com[74.125.83.181]
Apr 15 19:20:26 cadaques postfix/smtpd[23900]: Anonymous TLS connection established from mail-pv0-f181.google.com[74.125.83.181]: TLSv1 with cipher RC4-MD5 (128/128 bits)
Apr 15 19:20:26 cadaques postfix/smtpd[23900]: warning: SASL authentication failure: Password verification failed
Apr 15 19:20:26 cadaques postfix/smtpd[23900]: warning: mail-pv0-f181.google.com[74.125.83.181]: SASL PLAIN authentication failed: authentication failure
Apr 15 19:20:26 cadaques postfix/smtpd[23900]: disconnect from mail-pv0-f181.google.com[74.125.83.181]
errors.log
Apr 15 19:11:48 cadaques postfix/smtpd[21768]: auxpropfunc error invalid parameter supplied
Apr 15 19:11:49 cadaques postfix/smtpd[21768]: sql plugin could not connect to host
Apr 15 19:11:49 cadaques postfix/smtpd[21768]: sql plugin couldn't connect to any host
Apr 15 19:11:49 cadaques saslauthd[21461]: PAM unable to dlopen(/lib/security/pam_mysql.so): libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
Apr 15 19:11:49 cadaques saslauthd[21461]: PAM adding faulty module: /lib/security/pam_mysql.so
auth.log
Apr 15 19:45:36 cadaques saslauthd[25159]: PAM unable to dlopen(/lib/security/pam_mysql.so): libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
Apr 15 19:45:36 cadaques saslauthd[25159]: PAM adding faulty module: /lib/security/pam_mysql.so
Apr 15 19:45:36 cadaques saslauthd[25159]: DEBUG: auth_pam: pam_authenticate failed: Module is unknown
If anyone had similar issues please let me know how you fixed.
Thanks!
Last edited by miguimon (2010-05-15 06:38:47)
Offline
anyone out there??? please help..
Offline
Apr 15 19:11:48 cadaques postfix/smtpd[21768]: auxpropfunc error invalid parameter supplied Apr 15 19:11:49 cadaques postfix/smtpd[21768]: sql plugin could not connect to host Apr 15 19:11:49 cadaques postfix/smtpd[21768]: sql plugin couldn't connect to any host Apr 15 19:11:49 cadaques saslauthd[21461]: PAM unable to dlopen(/lib/security/pam_mysql.so): libcrypto.so.0.9.8: cannot open shared object file: No such file or directory Apr 15 19:11:49 cadaques saslauthd[21461]: PAM adding faulty module: /lib/security/pam_mysql.so
That seems to be the problem there....
libcrypto.so.0.9.8 would have been upgraded in the recent openssl update, so you'll need to recompile mysql against the new openssl version I'm guessing. If you haven't compiled mysql yourself, then you need to upgrade to the most recent mysql in the repos (I'm assuming that *has* been updated against the newest openssl)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
restart the services
Give what you have. To someone, it may be better than you dare to think.
Offline
fukawi2,
yeah I reckon the problem comes from the openssl update but I've updated all the packages and still giving me the same errors. I also tried to restart services. I found a temporally fix just to send everything trough gmail. thanks guys
Offline
What package owns that file?
pacman -Qo /lib/security/pam_mysql.so
If it hasn't been updated properly against the new OpenSSL, then it should have a bug filed against it.
Last edited by fukawi2 (2010-05-11 05:24:45)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
root@cadaques ~/ # pacman -Qo /lib/security/pam_mysql.so
/lib/security/pam_mysql.so is owned by libpam_mysql 0.7RC1-4
Apparently I've installed the latest from AUR:
aur/libpam_mysql 0.7RC1-4 [installed] (7)
A PAM module to authenticate users against mysql.
Should I try to reinstall the package from AUR?
Offline
Should I try to reinstall the package from AUR?
You will need to recompile it against the new OpenSSL, so just rerunning makepkg and installing the new package will do it
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thanks!!
Its finally working fine the authentication:
May 15 16:35:25 cadaques postfix/smtpd[22865]: connect from mail-pz0-f171.google.com[209.85.222.171]
May 15 16:35:25 cadaques postfix/smtpd[22865]: setting up TLS connection from mail-pz0-f171.google.com[209.85.222.171]
May 15 16:35:25 cadaques postfix/smtpd[22865]: Anonymous TLS connection established from mail-pz0-f171.google.com[209.85.222.171]: TLSv1 with cipher RC4-MD5 (128/128 bits)
May 15 16:35:25 cadaques postfix/smtpd[22865]: 74DF453782: client=mail-pz0-f171.google.com[209.85.222.171], sasl_method=PLAIN, sasl_username=info@domain.com
May 15 16:35:25 cadaques postfix/cleanup[22881]: 74DF453782: message-id=<AANLkTim86BkbKzVVzUQmFe8AGzwYdwDpxqKvOt4EwiJy@mail.gmail.com>
May 15 16:35:25 cadaques postfix/qmgr[22554]: 74DF453782: from=<info@domain.com>, size=1204, nrcpt=1 (queue active)
May 15 16:35:25 cadaques postfix/smtpd[22865]: disconnect from mail-pz0-f171.google.com[209.85.222.171]
Cheers
Offline