Results 1 to 2 of 2
Hi all, VM - ubuntu1010 server 64bit host - ubuntu1104 desktop 64bit Orcle VirtualBox On router Port 25 pointing VM Ip(local) Just finished building a mail server $ telnet localhost ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-31-2012 #1
- Join Date
- Sep 2004
Postfix unable to send mail
VM - ubuntu1010 server 64bit
host - ubuntu1104 desktop 64bit
Port 25 pointing VM Ip(local)
Just finished building a mail server
$ telnet localhost smtp
Connected to localhost.
Escape character is '^]'.
220 server1.domain.com ESMTP Postfix (Ubuntu)
250-AUTH PLAIN LOGIN
250 2.1.0 Ok
554 5.7.1 <firstname.lastname@example.org>: Relay access denied
I have been googling a while unable to find a solution. Please help. TIA
- 02-01-2012 #2Originally Posted by satimis
I use Sendmail myself, so I don't know about Postfix specifics. But in my experience, this error can come from several sources. The first one to tackle is spam prevention techniques used by many big email providers such as Yahoo, gmail, hotmail, etc...
They simply don't accept email from unknown mailservers. You need to relay your mail via a mailserver that does accept your mail. Simply put, the first thing to try is the mailserver from your ISP.
Now it depends a great deal on your ISP, their policies and their setup. But a good startingpoint would be to configure your server not to send mail but to relay mail to the outgoing mailserver from your ISP. Something like smtp.yourisp.com is a starting point.
This may or may not work though. My previous ISP relayed my email blindly, my current one needs authentication. And then still, sometimes my mail is rejected. But I found out hotmail only accepts x number of emails per minute from the mailserver of my ISP. If that quota is reached, all further mail (not just mine) gets rejected and I have no control over that.
What I'm trying to say is, that it's not just you and your mail server settings to take into account, but also specifics of your ISP and the domains you are sending to. Oh, and please double check you are certain you don't relay mail yourself.
Good luck!Can't tell an OS by it's GUI