LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2004, 05:57 AM   #1
NeptunEz
Member
 
Registered: Dec 2003
Location: Russia, Moscow
Distribution: Fedora Core 4
Posts: 52

Rep: Reputation: 15
sasl + mysql


Hi.
Can't get sasl working with mysql.

I'm using postfix and courier-imap over mysql. Both are ok.
But can't get sasl working. It simply says

Dec 16 14:34:25 gate postfix/smtpd[30422]: warning: SASL authentication failure: no secret in database
Dec 16 14:34:25 gate postfix/smtpd[30422]: warning: smtp.tehexergo.ru[192.168.0.2]: SASL CRAM-MD5 authentication failed
an so on..

/etc/postfix/main.cf:

# SASL
# auth stuff
#
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sender_restrictions = permit_sasl_authenticated
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
check_relay_domains

/usr/lib/sasl2/smtpd.conf:

auxprop_plugin: mysql
pwcheck_method: auxprop
mysql_user: root
mysql_passwd:
mysql_hostnames: localhost
mysql_database: mail
mysql_statement: SELECT passwd FROM users WHERE email='%u@%r'
mysql_verbose: yes

Examining mysql logs tells that sasl does not even try to connect to mysql.

system: FC2
rpms:
postfix-2.1.5-2.1
cyrus-sasl-gssapi-2.1.18-2
cyrus-sasl-devel-2.1.18-2
cyrus-sasl-md5-2.1.18-2
cyrus-sasl-2.1.18-2
cyrus-sasl-plain-2.1.18-2

Am I mistaken anywhere?
Regadrs
 
Old 12-19-2004, 03:17 AM   #2
NeptunEz
Member
 
Registered: Dec 2003
Location: Russia, Moscow
Distribution: Fedora Core 4
Posts: 52

Original Poster
Rep: Reputation: 15
No one has ever tried to do that? Don't believe you.
 
  


Reply



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
Postfix, SASL with MySQL prompting for username and password acecomp Linux - Software 2 02-16-2005 02:04 PM
sasl & mysql jrafalek Linux - Networking 3 02-04-2005 10:00 AM
Compiling Postfix+MySQL+SASL merkelt Linux - Software 2 09-03-2004 03:22 PM
rebuilding cyrus-sasl src.rpm w/mysql support fails willwrk4u Red Hat 1 04-17-2004 02:34 PM
Would like to get CourierImap, Sasl and ProFTPd to auth from MySql pembo13 Linux - Networking 0 03-29-2004 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration