On Fri, 19 Jan 2001, Bjorn Nilsen wrote:
> What I want to do is kind of a weird set up but I think it should work. I've
> got a customer that wants virus scanning on there mail at the server. I have
> a really nice qmail+vpopmail+qmailadmin set up that hosts mail for about 30
> domains I don't want to (the hardware won't permit it either) enable virus
> scanning for all that mail. So the plan I have come up with is using an old
> pentium box set up qmail on that and make it the MX for the domain then get
> it to virus scan all mail through it. So if it takes a while it won't effect
> my other customers mail. What I want to know is how do I tell qmail to just
> forward every bit of mail it gets to another mail server, but it needs to be
> virus scanned first.
A suitable .qmail-default in the ~alias directory would fix that (it
catches everything that hasn't allready been matched). The file
could contain code for pushing the mails through the anti-virus software.
To redirect the mail afterwards, you could make it forward it to a domain
that has spesific routing (in smtproutes).
Thorkild