Forwarding mail

Ken Anderson ka at PACIFIC.NET
Wed Oct 1 18:25:33 IST 2003


Antony,

Your solution is much simpler and appropriate for most.

We have an extra complication that made the way we do forwarding
necessary. We had Postini before we had MS/SA, and a few customers would
have our heads if they lost their postini 'message center'. But, Postini
costs $$$(and has had some issues lately..), so we don't filter all mail
there. Postini forwards to our MS/SA machines and then mail gets
forwarded on to the mailhub. So, depending on the first MX to fail
doesn't really work in our case.

Now, I just need to fix up a good user interface for SA rules and
managing quarantined mail and we can dump Postini.

p.s. your sigs are always a good read!

Ken A.
Pacific.Net

Ken Anderson wrote:

> That's really a sendmail question, but here's how we do it:
>
> The MX for the domain(s) point to MS/SA machine.
> The MS/SA machine has entries in local-host-names for all domains we
> accept mail for. Sendmail on MS/SA relays mail to hub using
> virtusertable entries that point at the hub.
>
> ---
> in sendmail.mc
> "FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl"
> ---
>
> virtusertable looks like this:
>
> @domain.com %1 at mailhub.domain.com
> user at someotherdomain.com user at mailhub.domain.com
> etc....
>
> The first one catches the default domain and forwards mail to the mail
> hub. The other entries catch virtualuser at otherdomains and forward those
> to local user mailboxes on the mailhub.
>
> Also, the mailhub only accepts SMTP connections from the MS/SA machine,
> otherwise spammers figure out how to get around your filter. :-(
>
> Ken A.
> Pacific.Net
>
>
>
> Joe Stuart wrote:
>
>> 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