[exim] acl_smtp_data header_sender not using log_message

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mike Sturdee
Date:  
À: exim-users
Sujet: [exim] acl_smtp_data header_sender not using log_message
(oops, no subject prior)

I am trying to set a custom log message upon failing verification of the
header_sender in the smtp_data acl, but when verification is deferred, it
ignores mine and
uses the "stock" error message.

Is this possibly an exim bug?

-Mike


Log line:

1CUR8W-0009w7-0D H=(server.teeview.com) [216.127.74.44]
F=<phoyatnoqacur@???> temporarily rejected after DATA: all
attempts to verify a sender in a header
line deferred


configure section:
##################################################
acl_smtp_data = check_data

check_data:

deny    !verify = header_sender
    log_message = There must be a valid sender address in the headers: 
RCPTS $recipients
    message     = There must be a valid sender address in the headers
##################################################



Have also tried:

deny    !verify = header_sender
    logwrite    = There must be a valid sender address in the headers: 
RCPTS $recipients
    message     = There must be a valid sender address in the headers
##################################################



Have also tried:

require   verify = header_sender
    log_message = There must be a valid sender address in the headers: 
RCPTS $recipients
    message     = There must be a valid sender address in the headers