On 7/30/2011 5:29 AM, Miguel Guedes wrote: > 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!
The connection from Gmail is obviously going to another host. If you'd have provided the actual MX domain I'd be typing the answer to your question instead of scolding you for obfuscating information that is necessary for us to help you. As a general rule, unless lives or millions of $currency is at stake, don't obfuscate domains and IP addresses. It simply eats more of your time, and ours, and delays a solution. -- Stan