Hi,
I have 2 machines: sendmail 8.11 (mail.domain.com) and an antivirus
for smtp machine (mailscan.domain.com).
My MX for domain.com is pointing to mailscan.domain.com so that every
incoming email goes to mailscan.domain.com which forwards it to
mail.domain.com
This work ok.
For outgoing email, I setup mailertable with the following:
. relay:[mailscan.domain.com]
note the leading .
With this setup, when user@domain.com sends a mail to
someuser@outsidedomain.com, the mail is forwarded to
mailscan.domain.com and then to outside world.
My problem is that when user@domain.com sends an email to
anotheruser@domain.com,
the mail is not forwarded to mailscan.domain.com. Sendmail in
mail.domain.com treats that mail because it is a local account. Basically, I want the outgoing mail
to go mailscan.domain.com which then sends it back to mail.domain.com
Of course I want to avoid an infinite loop, meaning that sendmail sends all emails to mailscan which then forwards all local account to sendmail and so on...
Thanks for your help in advance.
Mohsen
I have 2 machines: sendmail 8.11 (mail.domain.com) and an antivirus
for smtp machine (mailscan.domain.com).
My MX for domain.com is pointing to mailscan.domain.com so that every
incoming email goes to mailscan.domain.com which forwards it to
mail.domain.com
This work ok.
For outgoing email, I setup mailertable with the following:
. relay:[mailscan.domain.com]
note the leading .
With this setup, when user@domain.com sends a mail to
someuser@outsidedomain.com, the mail is forwarded to
mailscan.domain.com and then to outside world.
My problem is that when user@domain.com sends an email to
anotheruser@domain.com,
the mail is not forwarded to mailscan.domain.com. Sendmail in
mail.domain.com treats that mail because it is a local account. Basically, I want the outgoing mail
to go mailscan.domain.com which then sends it back to mail.domain.com
Of course I want to avoid an infinite loop, meaning that sendmail sends all emails to mailscan which then forwards all local account to sendmail and so on...
Thanks for your help in advance.
Mohsen