Domains not to scan?

Julian Field mailscanner at
Thu Jun 27 19:14:16 IST 2002

At 18:35 27/06/2002, you wrote:
>Anyway, what I'd like to be able to do is prevent MailScanner from modifying
>the headers of outgoing messages from our users, perhaps a
>"" file or negative entries in
>"" is in order.

I really must write a FAQ about this, I get asked it about once a month.

Summary: it's impossible.

Right, say you have domains under your control called and There is some other domain out there on the net called

You want to restrict scanning by having a "" file
containing "".

Okay so far?

Someone sends a message from to You scan it as isn't in the list. Now you get a message from to You still scan it as isn't in the list.

The same arises from and *to*

Last case: someone sends a message from to Do
you scan it or not? As is not in the list, then you should scan
it. The guys at are going to get real mad at you for not
scanning their incoming mail, if you decide to not scan it as is in the list. So you have to scan it. So you have to give
priority to domains that are *not* in the list, and these over-ride domains
that *are* in the list.

So you end up scanning everything. It isn't what you think you wanted to
do, but it is the logical consequence of what you have to do (i.e. scan
mail for people who want it scanned).

So it can't be done.

Must put this in a FAQ...
Julian Field                Teaching Systems Manager
jkf at         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ

More information about the MailScanner mailing list