Bacfd Bubb:
> Hi,
> 
> I've got a virtual domain setup with a box dedicated to spam filtering
> in front of it, to keep the hungry spam and av checks away from the
> mail server itself.
> 
> Mail between domains is delivered as expected, but the behaviour I'm
> after is one where if the sender domain is not the same as the
> recipient domain, and the recipient domain is on the mail server, and
> if it hasn't got a header from the spam box; send it through the spam
> box first.
> 
> This way all local domains' incoming mail would get scanned and avoid
> sending mail out through the spam box which is only setup to accept
> mail for the domains on the mail server. The reason for this is all
> the clean/crap reporting is done on the spam server and I'd like to
> have those stats.
> 
> I guess something like ( $sender_domain != $recipient_domain ) &&
> exists $local_domains{$recipient_domain}  then send it on to the
> header checks which would check for the spam box header and deliver
> appropriately. Ideally these domains wouldn't come from the data
> section.
> 
> Does anyone know of a way to achieve this (preferably in a way that
> doesn't require a rule(s) per domain) or can point me in the right
> direction?

Yes. Use an *external* spam filter.

        Wietse

Reply via email to