Re: [Exim] blocking external senders

Top Page
Delete this message
Reply to this message
Author: Tabor J. Wells
Date:  
To: Sujit Choudhury
CC: exim-users
Subject: Re: [Exim] blocking external senders
On Thu, Apr 24, 2003 at 12:00:24PM +0100,
Sujit Choudhury <S.Choudhury@???> is thought to have said:

> I am now running Exim 4.12 (on two weeks experimental basis).
> I have a list in a file called unwanted-people.
> The addresses are in the from sender@??? in that file.
> How do I block these senders without having to verify everybody's
> address?


I use something like:

  deny    senders = lsearch;/path/to/unwanted-people
          message = We does not accept mail from $sender_address.\n \
          ${lookup {$sender_address} lsearch {/path/to/unwanted-people} \
          {Reason: $value\n}} \
          Please contact postmaster@??? with any questions.


where the file contains lines like:

user@???: You annoy me

Tabor

--
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality