[wellylug] SpamAssassin/Virus checking 'before' Exchange Server
Sam Cannell
sam at plaz.net.nz
Mon Mar 29 15:01:53 NZST 2004
Jamie,
At home, I have mail for one particular domain forwarded to an internal smtp server. I'm not sure about other distributions - I think there is some fairly heavy debian-specific scripting around the Exim configuration, however I hope this will be some help.
First off, to forward all the mail for @karma.wh.0r.co.nz to the internal smtp server:
sam at vorpal:/etc/exim4/conf.d/router$ cat 099_karmawhore
special:
driver = manualroute
transport = remote_smtp
route_list = karma.wh.0r.co.nz tequila.local.plaz.net.nz
Any mail for *@karma.wh.0r.co.nz is forwarded to tequila.local.plaz.net.nz (the internal smtp server).
After modifying anything under /etc/exim4/conf.d:
sam at vorpal:/etc/exim4/conf.d/router$ sudo update-exim4.conf
Will rebuild the main exim configuration file.
Secondly, the spam checking. I've never done this myself, but this might do what you're looking for:
sam at vorpal:/etc/exim4/conf.d$ apt-cache show sa-exim
Package: sa-exim
Priority: optional
Section: mail
Installed-Size: 220
Maintainer: Sander Smeenk <ssmeenk at debian.org>
Architecture: i386
Version: 4.0-1
Depends: exim4-daemon-light (>> 4.30-1) | exim4-daemon-heavy (>> 4.30-1) | exim4-daemon-custom (>> 4.30-1), spamc | spamassassin (<< 2.30-2), libc6 (>= 2.3.2.ds1-4), debconf (>= 1.2.0) | debconf-2.0
Filename: pool/main/s/sa-exim/sa-exim_4.0-1_i386.deb
Size: 60678
MD5sum: c8b60ca65c0b35166abe98efe8a3d080
Description: Use spamAssassin at SMTP time with the Exim v4 MTA
SA-Exim lets you use spamAssassin at SMTP time with the Exim
v4 MTA, which enables you to do many things with incoming Emails,
including refusing them before they come in, or even teergrubing the
sender (i.e. slowing him down, by tying his resources)
.
Homepage: http://marc.merlins.org/linux/exim/sa.html
There's also an amavis Debian package which will handle smtp virus scanning, along with clamav or similar (www.clamav.net). The amavis package may even provide the spamassassin functionality of sa-exim.
Hope this is of some help :)
Sam
-----Original Message-----
From: Sam Cannell [mailto:sam at plaz.net.nz] On Behalf Of Jamie Dobbs
Sent: Monday, 29 March 2004 1:51 p.m.
To: wellylug at lists.naos.co.nz; linux-users at it.canterbury.ac.nz
Subject: [wellylug] SpamAssassin/Virus checking 'before' Exchange Server
Working in a company that loathes spending money I have been tasked with finding a low/no cost solution to removing that large amoun of spam that hits our Exhchange Server (5.5) on a daily basis.
Changing to another mail server is not an option, but I was thinking that perhaps a Linux box equiped with exim(or other MTA) + SpamAssassin + some sort of antivirus might be a good answer to check incoming mail then pass on to the Exchange Server once it passes spam and virus checks.
Does anyone have any experience with such a setup or could point me to a good online resource for this?
I have tried Googling but haven't found anything or particular use so far.
Thanks
Jamie
--
Wellington Linux Users Group Mailing List: wellylug at lists.naos.co.nz To Leave: http://lists.naos.co.nz/mailman/listinfo/wellylug
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.642 / Virus Database: 410 - Release Date: 24/03/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.642 / Virus Database: 410 - Release Date: 24/03/2004
More information about the wellylug
mailing list