From: Abid Saigol (Campbell Cohen) [mailto:[EMAIL PROTECTED]
>
> My company is implementing a MS Exchange (in the Small Biz
> Server) server. We would like to implement a *nix based MTA
> to pre-process all email for viruses and spam. I have used
> Courier-MTA before and would like to use it for this purpose.
>
> My idea is as follows:
>
> Point my domain's MX to the Courier box.
>
> Setup Courier to:
> - accept mail for my domain
> - point my domain to the Exchange server in esmtproutes
>
> The question is if I set DEFAULTDELIVERY to maildrop and
> configure maildrop for spam scanning with Spamassassin, will
> it work? I am thinking the esmtpd will accept and the email
> and immediately queue for relaying and maildrop will never be
> called. If so, then how can I configure Courier to accept
> all the email, preprocess and the immediately relay to
> exchange with envelope info intact.
That is similar to what we do here. This is the way we have it set up:
The domain is listed in both esmtpacceptmailfor and hosteddomains. Courier
has a list of all of the valid mailboxes in the userdb. Each account has
it's own home directory on the Courier server. DEFAULTDELIVERY is set to
maildrop.
/etc/courier/maildroprc:
xfilter "spamc"
$HOME/.mailfilter:
to "! [EMAIL PROTECTED]"
I also have Amavisd-new as a courierfilter to do virus scanning (with
ClamAV). If you want to do SMTP rejects for spam, you can run SpamAssassin
from Amavis as well, but you will not be able to tag the messages if you run
it that way.
One advantage of this approach is that Courier can reject emails to invalid
users immediately. If you let Courier accept all mail for the domain,
Exchange will reject the mail and then Courier will have to generate a
bounce to the (probably forged) sender.
Bowie
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users