On Thu, May 21, 2009 at 12:59 PM, Ashish Verma <[email protected]>wrote:

> Hi,
>
> Is the below possible, if yes how?
>
> 1 mail server ("ms") has been set up in a way that all mails sent to it go
> to a server ("fs") that filter the mail. Once filtring is done, the "fs"
> server delivers the mail to "ms" server.

Firstly, it is better to avoid this kind of looping. Will become difficult
to debug problems. Better to have fs deliver mail to the outside world. I'm
talking of sendmail/ postfix here. Do not know if qmail has this facility
but guess it must. Use SMARTHOST directive to forward all outgoing mail to
fs. This still leaves internal mail. If the load is small maybe ms can do
that itself.

>
> Now the admin of ms server wants that mail relayed by a specific mail relay
> server ("mls"), be directly delivered to it, without going through the
> filtering process.

If it is for the domain that ms servers, in the above scheme will ensure it
does not go thro' fs.

>
> I am not sure if this can be done by making alterations in the DNS, as it
> can hold MX record for either "fs" or "ms".
>
I've seen a reply on using split horizon DNS. It would mean you need to run/
setup your DNS on a machine owned by you as I've not seen service providers
allow this. May be wrong though.

One alternativev comes to mind though I've not tried it myself. Need to
check if it works. Let MX point to a host. Let the host be resolved on "fs"
as "ms" using the /etc/hosts file and the standard resolve heirarchy having
/etc/hosts as the highest/first.

Mohan Sundaram
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to