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=<[EMAIL PROTECTED]> rejected after DATA: malformed address: > may not
follow [EMAIL PROTECTED]: failing address in "To:" header is: 
[EMAIL PROTECTED]>

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

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to