View Single Post
  #6  
Old 26th May 2008, 16:56
craig baker craig baker is offline
Senior Member
 
Join Date: Mar 2008
Posts: 131
Thanks: 0
Thanked 5 Times in 5 Posts
Default when saslauthd is running:

when its running I see (ps ax)

[root@ns5 saslauthd]# ps ax | grep sasl
23501 ? Ss 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
23502 ? S 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
23503 ? S 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
23504 ? S 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
23506 ? S 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a shadow
23860 pts/3 S+ 0:00 grep sasl

occurs to me I should add that I've tried several changes in desperation. current main.cf postfix file end:
(I have tried to implement the sasl_passwd file as a simpler authentication method.
this pw file contains:
vanguard-rugged.com vanguard:mysecretpasswd
kozan.us kozan:anothersecretpassword
baylit.com baylit:yetanotherpw

rebuilt with postmap. I had hoped that dovecot would just authenticate all mail from these domains with the user/pw given.
I found folks saying this worked fine, but I could get nothing authenticated at all!

at wits end!
Oh - I saw your references to smtp_ and others to smtpd_ before the lines so I duplicated some and had both smtpd_ and smtp_
why are there two sets of these variables anyway?
thanks.

-----snip from end of main.cf-----

#readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
smtpd_sasl_local_domain =
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = plain,login
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sender_dependent_authentication = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_mechanism_filter = plain,login
smtpd_sasl_security_options = noanonymous
smtpd_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sender_dependent_authentication = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
mynetworks = 127.0.0.0/8
smtpd_tls_auth_only = no
smtpd_use_tls = yes
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
myhostname = ns5.cdbsystems.com
home_mailbox = Maildir/
mailbox_command =

Last edited by craig baker; 26th May 2008 at 17:22. Reason: more information
Reply With Quote