Re: [Exim] Reject mails from specific addresses to particula…

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: Simon Clayton
CC: exim-users
Onderwerp: Re: [Exim] Reject mails from specific addresses to particular users
On Wed, 12 Sep 2001, Simon Clayton wrote:

> Is it possible to have exim check a list of e-mail addresses
> that should be rejected based on the e-mail address that they
> are sending to (preferably via a MySQL table)?


1. This will probably be easier in Exim 4.

2. You don't want to reject the sender; you want to reject the
recipient. After all, a message may have two recipients, with one
who likes the sender and one who does not.

3. If you set up receiver_verify, you can set up a special director with
verify_only set on it. You could make it conditional upon matching the
sender, and this could be done with a lookup based on the recipient. The
director, if it runs, could be a smartuser using :fail: to reject the
recipient.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.