Re: [exim] Condition in ACL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Alain Williams
Date:  
À: exim-users
Sujet: Re: [exim] Condition in ACL
On Fri, Jan 09, 2009 at 08:21:24PM +0000, Martin A. Brooks wrote:
> Alain Williams wrote:
> >This can't be hard, but it does the reverse of what I want ... I need to
> >start the w/end
> >
> >
> >I have a standard 'verify sender' in the acl_check_rcpt.
> >There are a few people who send this domain email where this does not work
> >-- IIRC they
> >block incoming bouces (from<>). So I thought that I would whitelist them
> >for this test only,
> >create a file that has their domain(s) one per line:
> >
> >
> >   require verify        = sender
> >          sender_domains = ! lsearch;/etc/exim/NoVerifySender_SenderDomain

>
> You should be able to shorten this condition to:
>
> !sender_domains = /etc/exim/NoVerifySender_SenderDomain


Maybe, but it still rejects domains listed in the file.
What I want to do is sender verification for all domains *except* those listed in the file.

--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Past chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>