Forwarding mail
Mike Kercher
mike at CAMAROSS.NET
Wed Oct 1 17:55:09 IST 2003
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
> -----Original Message-----
> From: MailScanner mailing list
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Joe Stuart
> Sent: Wednesday, October 01, 2003 11:30 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Forwarding mail
>
>
> I am trying to setup Mailscanner and spamassasin on a mail
> server that is supposed to scan the mail then forward it onto
> the primary mail server. Could anyone point me in a direction
> on how to configure sendmail to do the forwarding.
>
> Thanks
>
More information about the MailScanner
mailing list