I have several VPS with Webmin/Virtualmin and they work fine. But on one i have error when trying to send mail from outlook or other mail clients. I`m receiving mails without problems but i have problem when i try to send mails from the mail client software.
For example i get this error:
Your message did not reach some or all of the intended recipients.
Subject: test
Sent: 03.03.2011 10:45
The following recipient(s) cannot be reached:
'name@xxx.com' on 03.03.2011 10:45
554 5.7.1 <name@xxx.com>: Relay access denied
( The mail address is hidden for protection of spam name@xxx.com is not real mail. )
I have try different mail accounts, different domains, different e-mail clients and different ISP. All the time i get the same message so i think is problem with the VPS i have. The strange thing is that i CAN send mails without problem from SquirrelMail ( i have installed ) and from usermin without problem. I have just problems when sending from mail client.
A common cause of the error you’re seeing is due to the email client not being configured to authenticate outgoing SMTP messages.
If it doesn’t authenticate those messages, Postfix doesn’t realize that you’re a legitimate user, and will deliver a relay access denied error.
Outlook doesn’t do that by default, you’d need to go into your account settings, find the Outgoing SMTP section, and then set it up to authenticate for outgoing SMTP.
If i set authenticate for outgoing SMTP in outlook it ask me for passwords like my password if not correct i have recheck my pass several times and is ok. The strange this is i turn off authenticate for outgoing SMTP i receive mails without problem and my pass is ok.
I think several days ago this was not happening just did not send mail and no password problem and i did not change anything on my VPS.
What I would do is enable Outgoing SMTP authentication again, and then look in the mail logs for any errors that may help you figure out what’s going on.
The mail logs are in either /var/log/maillog, or /var/log/mail.log, depending on your distro.
here is what i get when setup authenticate for outgoing SMTP in outlook:
Mar 6 14:58:12 vps dovecot: pop3-login: Login: user=test@motoparts.com.mk, method=PLAIN, rip=::ffff:xx.xx.2.74, lip=::ffff:xxx.xx.127.87
Mar 6 14:58:14 vps dovecot: POP3(test@motoparts.com.mk): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Mar 6 14:58:15 vps postfix/smtpd[30371]: connect from unknown[xx.xx.2.74]
Mar 6 14:58:17 vps postfix/smtpd[30371]: warning: unknown[xx.xx.2.74]: SASL LOGIN authentication failed: authentication failure
Mar 6 14:58:18 vps postfix/smtpd[30371]: lost connection after AUTH from unknown[xx.xx.2.74]
Mar 6 14:58:18 vps postfix/smtpd[30371]: disconnect from unknown[xx.xx.2.74]
Mar 6 14:58:20 vps postfix/smtpd[30371]: connect from unknown[xx.xx.2.74]
Mar 6 14:58:23 vps postfix/smtpd[30371]: warning: unknown[xx.xx.2.74]: SASL LOGIN authentication failed: authentication failure
Mar 6 14:58:23 vps postfix/smtpd[30371]: lost connection after AUTH from unknown[xx.xx.2.74]
Mar 6 14:58:23 vps postfix/smtpd[30371]: disconnect from unknown[xx.xx.2.74]
I do not know why is saying like i do not have the correct password but i do. I log over SquirrelMail and usermin without problem with the same password.