LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-23-2007, 12:42 PM   #1
mmoor
Member
 
Registered: May 2006
Distribution: Fedora core 5
Posts: 37

Rep: Reputation: 15
saslauthd problems with mysql


Feb 23 17:40:07 sol postfix/smtpd[3183]: TLS connection established from x-x-x-x.ch[x.x.x.x]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Feb 23 17:40:07 sol postfix/smtpd[3183]: warning: SASL authentication failure: empty secret
Feb 23 17:40:07 sol postfix/smtpd[3183]: warning: xxx.ch[x.x.x.x]: SASL CRAM-MD5 authentication failed
Feb 23 17:40:07 sol postfix/master[2976]: warning: process /usr/libexec/postfix/smtpd pid 3183 killed by signal 11
Feb 23 17:40:07 sol postfix/master[2976]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

/usr/lib/sasl2/smptd.conf (same as in /etc/postfix/sasl)
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login plain-md5 cram-md5 digest-md5
log-level: 7
sql_engine: mysql
sql_hostnames: localhost
sql_database: xxx
sql_user: xxxx
sql_passwd: xxxxx
sql_select: select passwort from postfix where email='%u@%r'
-----------------------

/etc/pam.d/smptd.conf
#%PAM-1.0
auth sufficient pam_mysql.so user=xxx passwd=xxx host=localhost db=xxx table=postfix usercolumn=email passwdcolumn=passwort crypt=1
account required pam_mysql.so user=xxx passwd=xxx host=localhost db=xxx table=postfix usercolumn=email passwdcolumn=passwort crypt=1

if I have that in i get the above errors. The password is in plain text insite the mysql. But even if i change the email or leave it empty in mysql, i get the same error, i dont think it even uses mysql.
If I take the smptd.conf away from the lib/sasl2/ then it works again.. But I even can delete the mysql table it still works. and if i put the damn smptd.conf in, then i get that worthless stupid error.

Messages log
Auxprop plugin error, missing mech..

I tryed to recompile that stupid saslauthd with -enable mysql. but still dont work. No matter what im doing it just uses tath stupid berkley db /etc/sasldb2..

Any hint are warmly welcomed.

Last edited by mmoor; 02-26-2007 at 09:34 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-08-2008 12:48 AM
postfix mysql cyrus saslauthd problem Sleen Linux - Server 1 02-15-2007 11:10 AM
on reboot problems with authdaemond saslauthd and pop2,imap sulee Slackware 9 11-17-2005 11:52 AM
sendmail cannot access saslauthd server msound Linux - Software 0 09-13-2005 03:12 AM
saslauthd dead but subsys locked! shyee Linux - Software 0 01-07-2005 04:05 AM


All times are GMT -5. The time now is 10:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration