Forwarding mail

Joe Stuart jstuart at EDENPR.K12.MN.US
Wed Oct 1 19:29:46 IST 2003


>>> mike at CAMAROSS.NET 10/01/03 11:55AM >>>
>I do it like this:
>
>Say the domain you want to forward mail for is foo.com
>
>In /etc/mail/relay-domains:
>
>foo.com
>
>In /etc/mail/mailertable
>
>foo.com esmtp:primary.mail.server
>
>hash the files to db
>
>cd /etc/mail;make
>
>Now, in DNS, I remove the MX record for primary.foo.com and replace it
with
>scanning_host.foo.com

>That way, ALL mail gets routed to the MS box...and spammers don't get
to hit the
>primary.foo.com

>Mike

Thanks for all the input.



More information about the MailScanner mailing list