I have successfully completed the Howto by Falko on mail server on Ubuntu 8.04 with virtual domains.
I can administer with phpmyadmin.
I can log into squirrelmail and can send to external email addresses. I can send from external email and it is received in squirrelmail. I have tried to setup outlook to connect to it (on same LAN) and I can download the emails to outlook OK but I cant send.
I get a "network password" popup which doesnt accept my username (email account) and password. I know these are correct because I can log into squirrelmail with them and outlook can use them to get mail via POP3.
my mail log says this
Quote:
Sep 22 11:48:27 smail postfix/smtpd[5183]: warning: 10.1.1.2: address not listed for hostname localhost
Sep 22 11:48:27 smail postfix/smtpd[5183]: connect from unknown[10.1.1.2]
Sep 22 11:48:27 smail postfix/smtpd[5183]: warning: unknown[10.1.1.2]: SASL LOGIN authentication failed: authentication failure
Sep 22 11:48:27 smail postfix/smtpd[5183]: lost connection after AUTH from unknown[10.1.1.2]
Sep 22 11:48:27 smail postfix/smtpd[5183]: disconnect from unknown[10.1.1.2]
Sep 22 11:48:29 smail postfix/smtpd[5175]: warning: 10.1.1.2: address not listed for hostname localhost
Sep 22 11:48:29 smail postfix/smtpd[5175]: connect from unknown[10.1.1.2]
Sep 22 11:48:29 smail postfix/smtpd[5175]: lost connection after UNKNOWN from unknown[10.1.1.2]
Sep 22 11:48:29 smail postfix/smtpd[5175]: disconnect from unknown[10.1.1.2]
Sep 22 11:48:29 smail postfix/smtpd[5183]: warning: 10.1.1.2: address not listed for hostname localhost
Sep 22 11:48:29 smail postfix/smtpd[5183]: connect from unknown[10.1.1.2]
Sep 22 11:48:29 smail postfix/smtpd[5183]: lost connection after CONNECT from unknown[10.1.1.2]
Sep 22 11:48:29 smail postfix/smtpd[5183]: disconnect from unknown[10.1.1.2]
Sep 22 11:49:30 smail postfix/smtpd[5175]: warning: 10.1.1.2: address not listed for hostname localhost
Sep 22 11:49:30 smail postfix/smtpd[5175]: connect from unknown[10.1.1.2]
Sep 22 11:49:30 smail postfix/smtpd[5175]: warning: unknown[10.1.1.2]: SASL LOGIN authentication failed: authentication failure
Sep 22 11:49:30 smail postfix/smtpd[5175]: lost connection after AUTH from unknown[10.1.1.2]
Sep 22 11:49:30 smail postfix/smtpd[5175]: disconnect from unknown[10.1.1.2]
|
I noticed in /var/log/auth.log
Quote:
Sep 22 13:33:39 smail saslauthd[5045]: pam_mysql - required option "db" is not set
Sep 22 13:33:40 smail saslauthd[5045]: DEBUG: auth_pam: pam_authenticate failed: Error in service module
Sep 22 13:33:40 smail saslauthd[5045]: do_auth : auth failure: [user=xxxxxxx@scribalpublishingmail.com.au] [service=smtp] [real
m=scribalpublishingmail.com.au] [mech=pam] [reason=PAM auth error]
|
my /etc/pam.d/smtp
Quote:
auth required pam_mysql.so user=xxxxxxx passwd=xxxxxxxx host=127.0.0.1 db=mail table=users usercolumn=email passwdcolumn=password crypt=1
account sufficient pam_mysql.so user=xxxxxxx passwd=xxxxxxx host=127.0.0.1 db=mail table=users usercolumn=email passwdcolumn=password crypt=1
|
(usernames and passwords are correct but edited in post)
/etc/postfix/sasl/smtpd.conf
Quote:
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: xxxxxxx
sql_passwd: xxxxxxx
sql_database: mail
sql_select: select password from users where email = '%u'
|
EVERYTHING else is working though.
In outlook I have enabled "SMTP requires authentication" but no joy.
in the setup I have ticked "outgoing server use same credntials as incoming"
I am so close now it hurts.
Any help would be greatly appreciated.
Thanx in Advance.
Recent comments
9 hours 17 min ago
18 hours 45 min ago
19 hours 34 min ago
23 hours 7 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 6 hours ago
1 day 16 hours ago
1 day 21 hours ago
1 day 22 hours ago