View Single Post
  #13  
Old 11th September 2012, 06:18
ansabhailte ansabhailte is offline
Junior Member
 
Join Date: Sep 2012
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default one more thing

I just ran testsaslauthd:

sudo testsaslauthd -u josh@goldenoakit.com -p *password* -f /var/spool/postfix/var/run/saslauthd/mux -s submission

(I'm running smtp on 587 not 25) and it returns:

NO "authentication failed"

auth.log shows this:

Sep 10 20:30:33 nigel saslauthd[5002]: pam_unix(submission:auth): check pass; user unknown
Sep 10 20:30:33 nigel saslauthd[5002]: pam_unix(submission:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Sep 10 20:30:35 nigel saslauthd[5002]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
Sep 10 20:30:35 nigel saslauthd[5002]: do_auth : auth failure: [user=josh@goldenoakit.com] [service=submission] [realm=] [mech=pam] [reason=PAM auth error]


Also, when I run:

sudo testsaslauthd -u josh@goldenoakit.com -p *password* -s submission

it returns:

connect() : No such file or directory

I'm thinking my problem lies within the SASL area... that would explain why I can receive mail from local accounts.

edit: I'm running postfix chrooted, per Falko's guide (linked at top of thread)

edit2: When I run testsaslauthd with -u josh -p *password* (being my UNIX username and password, not my MySQL email username and password) I get:

OK "Success."

Last edited by ansabhailte; 11th September 2012 at 06:36.
Reply With Quote