Re: [Exim] empty senders address list

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Jeremy C. Reed
CC: exim-users
Subject: Re: [Exim] empty senders address list
On Fri, 22 Feb 2002, Jeremy C. Reed wrote:

> I block unknown senders with this director:
>
> verify_known_sender:
> driver = smartuser
> require_files = /home/$local_part/.mail-accept-list
> senders = ! /home/$local_part/.mail-accept-list
> new_address = :fail: Sender unknown
>
> But if .mail-accept-list file is empty then it doesn't "fail" (so anyone
> can send to the user).
>
> I understand if the last item is negated then it behaves like a wildcard
> is at end.
>
> I want it to fail if the senders is empty or does not match one of the
> email address in this .mail-accept-list file.
>
> Any ideas?


Testing shows that this is a bug in Exim 3 which is fixed in Exim 4.
Luckily, there is an easy workaround for Exim 3. Change your setting to
read

senders = ! /home/$local_part/.mail-accept-list : *


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