On Tue, 6 May 2003 14:22:10 +0100 (BST) Philip Hazel <ph10@???> wrote:
> On Tue, 6 May 2003, Phil Chambers wrote:
>
> > > 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.
Sorry, I should have been more precise. What I have is:
acl_smtp_data = check_message
.
.
check_message:
require message = Invalid message header: $acl_verify_message
verify = header_syntax
require message = Invalid message sender: $acl_verify_message
verify = header_sender
In both cases $acl_verify_message is empty if the verify part fails.
Phil.
---------------------------------------
Phil Chambers (postmaster@???)
University of Exeter