On Wed, 2012-03-28 at 02:40 +0200, web@??? wrote:
>
> I would like to deny messages with empty From headers.
I use this test to reject mail with MISSING From: headers.
acl_smtp_data = acl_check_data
#---------------------------
acl_check_data:
deny message = [2D2] 'From:' header missing.
condition = ${if !def:h_From: {1}}
With my test, if the From: header exists but is empty, the email will be
accepted. In reality that never occurs, certainly not on my systems.
--
Paul.
England,
EU.