Hi,

I've recently followed a guide I found online [1] and installed Postfix and 
Courier on my server machine. I can send emails from the server to any email 
address but unfortunately I can only receive emails sent from the server - 
it's only accepting emails sent locally from the host. In other words, if I 
try sending myself an email from, say, Gmail, it is rejected and an error 
email generated (see below.)

/etc/postfix/main.cf: http://pastebin.com/gETbUt1C
Error email generated: http://pastebin.com/JnJbvpkT

Trying to troubleshoot what could be wrong, I have connected directly to the 
server by telnet on port 25 from another machine (connected to the same 
private network as the server's) and succeeded in sending an email manually, 
which proves it is working as it should.

Also set every single component in /etc/postfix/master.cf to 'verbose logging' 
(appended -v at the end) and while it generated much more logging, there was 
no logging whatsoever after sending an email from Gmail indicating it had 
rejected the email.

Any pointers that might help be troubleshoot this would be greatly 
appreciated!

Miguel


[1] [url]http://www.howtoforge.com/virtual-users-and-domains-with-postfix-
courier-mysql-and-squirrelmail-ubuntu-11.04[/url]

Reply via email to