[exim] Mail header syntax error: no feedback

Top Page
Delete this message
Reply to this message
Author: Ian Eiloart
Date:  
To: exim-users
New-Topics: Re: [exim] Mail header syntax error: no feedback
Subject: [exim] Mail header syntax error: no feedback
Hi,

We use verify = header_syntax to reject messages with invalid headers. When
such an incident happens, the log message is quite specific, but the
message used in the rejection message is quite general.

For example, a rejection message might read:

F=<bar@???> rejected after DATA: malformed address: > may not
follow Ben.Foo@???: failing address in "To:" header is:
Ben.Foo@???>

But a rejection message just reads, oh I can't remember but it's something
bland like "policy violation", which I've changed to "Your message header
syntax is not valid, please check sender and recipient addresses" - since
the documentation says that only address headers are checked. However, I'd
prefer to be able to include the logged message, as that gives the sender a
chance to fix problem without reference to me.

I don't see any way to access the log message for use in the rejection
message.

Perhaps it would be useful to be able to expand a variable like
$log_message, and for symmetry $rejection_message



--
Ian Eiloart
IT Services, University of Sussex
x3148