Setup Secondary Mail Relay - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Setup Secondary Mail Relay (/thread-6560.html) |
RE: Setup Secondary Mail Relay - kilburn - 05-25-2009 07:52 PM Quote:BTW - temporarily setting the relay domain as IN MX 5 relay.domain.tld. in DNS... Hmmm... I don't remember how did you assign the DNS records, so double answer here: 1. If relay.domain.tld points to the panel Invalid test. Postfix will think that it's the main server, but as you told it that this domain isn't local, it won't know what to do with the messages and thus it will generate failure DSNs. 2. If mail.domain.tld points to the panel This is the good setup. As the final server is the preferred one, postfix will know what to do with mails for that domain (relay them to the primary) and everything should work fine and wonderfully. The easiest way to test the setup is manually sending an e-mail through telnet, like (server answers omitted, but you will get feedback to this commands): Code: telnet mail.domain.tld 25 Just look at the responses you get during the process (relay denied, whatever). RE: Setup Secondary Mail Relay - vetch101 - 05-25-2009 07:56 PM (05-25-2009 07:52 PM)kilburn Wrote:Quote:BTW - temporarily setting the relay domain as IN MX 5 relay.domain.tld. in DNS... Awesome... mail.domain.tld is actually a remote Exchange server at a client site, but still, that would seem to be an equivalent setup... It's working perfectly now... You are an absolute star - thanks for helping me so much with all this!!!! Once again, many thanks! I'll try not to bother you any more with this Jx RE: Setup Secondary Mail Relay - kilburn - 05-25-2009 08:03 PM No problem It has always amazed me how many things can go wrong in a mail setup, specially considering the little amount of config that needs to be done! RE: Setup Secondary Mail Relay - vetch101 - 05-25-2009 08:06 PM (05-25-2009 08:03 PM)kilburn Wrote: No problem Heh - well, me being a total noob when it comes to Postfix probably doesn't help Once again - thanks so much - you've really been awesome... Jx |