Re: [exim] ACL error bypass?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Graeme Fowler
Date:  
À: exim users
Sujet: Re: [exim] ACL error bypass?
On Tue, 2011-02-22 at 08:44 -0800, Marc Perkel wrote:
> Thanks for your advice but it didn't work. The use of WARN still
> produced a Temporary Local error. in this example I deliberately created
> a bad regex that wouldn't expand. Users create them by accident.
>
> 2011-02-22 08:38:49 1PrvGD-0007dm-Ae H=64.junkemailfilter.com
> [65.49.42.64] F=<techrepublicnewsletters@???>
> temporarily rejected after DATA: failed to expand ACL string "${if
> match{$message_headers}{\N*.hotmail.fr\N}}": regular expression error in
> "*.hotmail.fr": nothing to repeat at offset 0
>
> What I'm needing is a way to ignore this kind of error and have the ACL
> do nothing.


Thinking laterally, what you need is to make use of "exim -be" before
committing the regex to the config.

That way you can validate the user's input and tell them that it's wrong
(or correct it).

Graeme