postfix - cant send mail

3 posts / 0 new
Last post
#1 Sun, 10/03/2010 - 14:41
wespen

postfix - cant send mail

Hi,

trying to get mail working on Virtualmin/Debian 5 fresh install.

Receiving works fine with username.domain but sending using SMTP keeps failing at auth.

here are logs when I tried sending from Thunderbird

/var/log/mail.log

Oct  3 21:30:27 Debian-50-lenny-64-LAMP postfix/smtpd[2588]: connect from 93-136-43-80.adsl.net.t-com.hr[93.136.43.80]
Oct  3 21:30:29 Debian-50-lenny-64-LAMP postfix/smtpd[2588]: warning: SASL authentication failure: Password verification failed
Oct  3 21:30:29 Debian-50-lenny-64-LAMP postfix/smtpd[2588]: warning: 93-136-43-80.adsl.net.t-com.hr[93.136.43.80]: SASL PLAIN authentication failed: authentication failure
Oct  3 21:30:31 Debian-50-lenny-64-LAMP postfix/smtpd[2588]: warning: 93-136-43-80.adsl.net.t-com.hr[93.136.43.80]: SASL LOGIN authentication failed: authentication failure
Oct  3 21:30:32 Debian-50-lenny-64-LAMP postfix/smtpd[2588]: disconnect from 93-136-43-80.adsl.net.t-com.hr[93.136.43.80]

/var/log/auth.log

Oct  3 21:30:27 Debian-50-lenny-64-LAMP saslauthd[13444]: pam_unix(smtp:auth): check pass; user unknown
Oct  3 21:30:27 Debian-50-lenny-64-LAMP saslauthd[13444]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Oct  3 21:30:29 Debian-50-lenny-64-LAMP saslauthd[13444]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
Oct  3 21:30:29 Debian-50-lenny-64-LAMP saslauthd[13444]: do_auth         : auth failure: [user=igor] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]
Oct  3 21:30:29 Debian-50-lenny-64-LAMP saslauthd[13443]: pam_unix(smtp:auth): check pass; user unknown
Oct  3 21:30:29 Debian-50-lenny-64-LAMP saslauthd[13443]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Oct  3 21:30:31 Debian-50-lenny-64-LAMP saslauthd[13443]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
Oct  3 21:30:31 Debian-50-lenny-64-LAMP saslauthd[13443]: do_auth         : auth failure: [user=igor] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]

Thx

Sun, 10/03/2010 - 18:01
andreychek

Howdy,

It looks like the user it sees authenticating is "igor" rather than "igor.domain". Are you sure Thunderbird is using the correct username when authenticating for outgoing SMTP?

-Eric

Mon, 10/04/2010 - 04:01
wespen

damn, you were right.

Just tried Outlook, set proper SMTP auth and it works. grrrrrr, stupid Thunderbird :)

And I just spent 8 hours trying to tweak postfix/pam/devcoat combo. I thought Virtualmin wasnt binding users for domain right.

Wesp

Topic locked