Re: [exim] Denying mail from certain email address

Top Page
Delete this message
Reply to this message
Author: Giuliano Gavazzi
Date:  
To: exim-users
Subject: Re: [exim] Denying mail from certain email address
At 10:17 am +0000 2004/11/26, Peter Bowyer wrote:
>Brent Clark <bclark@???> wrote:
>> Hi all
>>
>> I know that Spam assassin is more meant for this.
>> But I would like it how and where is it possible to have some kind of
>> text file (list of email address) that would deny mail (send to
> > /dev/null) from a certain user.

[...]
>deny message = Your mail is unwanted
> senders = lsearch;/file/of/banned/senders
> recipients = user@example
>
>Note that this doesn't devnull the mail, it denies it at SMTP time - to
>actually devnull (ie accept normall then silently discard), use 'discard'
>instead of 'deny'.


although discarding messages from certain users can, in very
particular situations, be appropriate, when giving such an advice I
would warn (actually: WARN) that this is usually a very bad idea,
verging on the illegal.

g