LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-06-2004, 11:34 PM   #1
smaida
Member
 
Registered: Apr 2004
Location: Richmond, VA - USA
Distribution: Debian
Posts: 62

Rep: Reputation: 15
sasl and postfix configuration


Hello,

I am setting up an email system per an article found at http://workaround.org/articles/ispmail-sarge/

The only thing that is not currently configured from the article is amavis. I am waiting to configure amavis until after the mail system is functioning.

Currently authentication for imap is working and I am able to check email without issue from both thuderbird and squirrelmail.

When I try and send email the mail logs fill with the following error:

Code:
May  6 22:57:27 zionsecure postfix/smtpd[1325]: connect from unknown[192.168.1.100]
May  6 22:57:30 zionsecure postfix/smtpd[1325]: warning: SASL authentication failure: cannot connect to saslauthd server: Connection refused
May  6 22:57:30 zionsecure postfix/smtpd[1325]: warning: SASL authentication failure: Password verification failed
May  6 22:57:30 zionsecure postfix/smtpd[1325]: warning: unknown[192.168.1.100]: SASL PLAIN authentication failed
I have found many articles related to this on google and have spent the last 8 hours working on this; trying many different configurations. I also have read all the posts I could find in the forums, but I am still at a loss.

At this point any help would be greatly appreciated.

Thank you.

My Configuration Files are as follows:

****************
Code:
zionsecure:~# postconf -n
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
mailbox_size_limit = 5000000000
mydestination = $mydomain $myhostname localhost.$mydomain
mydomain = zionsecure.com
myhostname = zionsecure.com
program_directory = /usr/lib/postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
virtual_gid_maps = static:1008
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
virtual_uid_maps = static:1008

zionsecure:~# ps aux | grep sasl
root       510  0.0  0.2  6248 1468 ?        Ss   22:02   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -a pam
root       511  0.0  0.2  6248 1468 ?        S    22:02   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -a pam
root       512  0.0  0.2  6248 1468 ?        S    22:02   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -a pam
root       513  0.0  0.2  6248 1468 ?        S    22:02   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -a pam
root       514  0.0  0.2  6248 1468 ?        S    22:02   0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -a pam
root      1753  0.0  0.0  1536  452 pts/1    R+   23:28   0:00 grep sasl

zionsecure:~#  cat /etc/pam.d/smtp
auth required pam_mysql.so user=postfix passwd=password host=localhost db=provider table=users usercolumn=email passwdcolumn=password crypt=1
account sufficient pam_mysql.so user=postfix passwd=password host=localhost db=provider table=users usercolumn=email passwdcolumn=password crypt=1

pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
 
Old 05-17-2004, 03:37 PM   #2
smaida
Member
 
Registered: Apr 2004
Location: Richmond, VA - USA
Distribution: Debian
Posts: 62

Original Poster
Rep: Reputation: 15
It turns out that my problem was with sasl and pam.

Sasl was not able to unencrypt the passwords from the database. For now I am able to provide secure smtp by using unencrypted passwords in the database. Although I hope to work around this in the future.
 
Old 12-15-2004, 07:48 PM   #3
juliancoccia
Member
 
Registered: Dec 2003
Posts: 51

Rep: Reputation: 15
Hi there!

How do you force the usage of unencrypted passwords ?

Regards,
Julian
 
  


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
Building Postfix with SASL + TLS mcd Linux - Networking 0 10-08-2005 09:43 PM
Adding SASL Support to Postfix SiE Linux - Software 1 07-30-2005 06:33 AM
Mdk 10 + postfix + sasl the_reen Mandriva 1 10-05-2004 05:37 PM
postfix,sasl problem strace Mandriva 1 09-02-2004 09:00 AM
postfix and sasl issue nielchiano Linux - Networking 0 04-22-2004 09:38 AM


All times are GMT -5. The time now is 09:53 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