Hi,
I'm trying to set up a virtual server with a website only, but no mail handling. Mail shall be handled by a different server, my customer's regular mail server.
This works fine, except when I try to send an email from my server to that domain. Then my Postfix accepts my mail, but sends me this error message immediately:
The mail system
: mail for somedomain.de loops back to myself
Reporting-MTA: dns; myserversdomain.de
X-Postfix-Queue-ID: BCDA69360C04
X-Postfix-Sender: rfc822; me@myserversdomain.de
Arrival-Date: Mon, 15 Jun 2009 22:07:37 +0200 (CEST)
Final-Recipient: rfc822; someone@somedomain.de
Original-Recipient: rfc822; someone@somedomain.de
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for somedomain.de loops back to myself
So I guess my server tries to find that domain's mail server, but my server's Bind tells my Postfix to handle mail by itself.
The MX record for somedomain.de is setup correctly (in public worldwide DNS).
What can I do to let my server use my customer's mail server to deliver mail?
Thanks and best regards,
Johannes
Disable email for that domain in Virtualmin. Edit Virtual Server>Enabled Features>Mail for domain enabled?
--
Check out the forum guidelines!
Howdy,
You may need to verify that the DNS MX records for that domain are pointing to this other server.
In Services -> DNS Domain -> Mail Server, make sure the entry listed there is going to the correct mail server.
After you change those records, don't forget that DNS servers on the Net may have cached it's current value, so it may appear to not work correctly at first until the cache is all cleared. -Eric
Oh yes, and as Joe said, disable the Mail feature ;-) -Eric
Thanks for your help! The mail feature was disabled of course, and setting the correct Mail Server in Services -> DNS Domain -> Mail Server didn't help either – no clue why.
What did help was to disable Virtual Server -> Enabled Features -> DNS domain.
- Johannes