Hi!
I have two SME Server machines, one in our office here, and one in our other office 1500km away. We have a single domain (which i'll call example.com) for both offices. At present, mail for our domain is sent into our web host's mail servers, sorted into two mailboxes there, and our two servers each use maildrop to download mail from their respective mailboxes.
We want to ditch our web host and do all our hosting internally. I have tried to get the remote SME box to maildrop from an account on our local box, but I've had problems because both machines are in the same domain.
If the local machine doesn't have example.com listed as a virtual domain, it won't accept mail addressed to users@example.com - it will either be bounced or forwarded to admin, depending on the settings
If the remote machine doesn't have example.com listed as a virtual domain, it won't accept mail addressed to users@example.com - it will either be bounced or forwarded to admin, depending on the settings. The local server will accept mail but the remote one won't
If both machines have example.com listed as a virtual domain, the remote server will receive the mail, then decide that it has already processed mail for example.com and that the mail is looping, so it will be bounced
Here's the mail headers for that last case:
Hi. This is the qmail-send program at glynntucker.local.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<recipient@example.com>:
This message is looping: it already has my Delivered-To line. (#5.4.6)
How can I resolve this? I need some way to process the mail and send it to the remote server based on recipient.
Cheers!
Darren