Re: [Exim] Invalid Sender: headers

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: William Thompson
Dátum:  
Címzett: Philip Hazel
CC: Phil Chambers, exim-users
Tárgy: Re: [Exim] Invalid Sender: headers
> > > deny message = Your message contains invalid syntax: $acl_verify_message
> > >         verify = header_syntax

> > >
> >
> > Could there be a bug here? I have tried this in my acl_smtp_data ACL and
> > $acl_verify_message expands to an empty string!
>
> Alan Flavell posted a message pointing out my typo. The above should
> read
>
>    deny   message = Your message contains invalid syntax: $acl_verify_message
>          !verify = header_syntax

>
> Note the exclamation mark.


or was it supposed to be:
require    message = Your message contains invalid syntax: ...
    verify = header_syntax


??

I had a "require verify = sender/callout=30s", but I decided that I'd not do
this if the mail came from my local network or my secondary mx (which I run
and it does do callout and didn't see a need on doing 2).  I tried different
combinations of require, but I gave up and used this below:
    deny    !hosts = +local_net : +secondary_mx
        !verify = sender/callout=30s


How would you write that as a require (NOTE, I do want to check other acls
so an accept/endpass wasn't an option)