smaida |
05-06-2004 11:34 PM |
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
|