On Wed, 2012-03-28 at 02:40 +0200, [email protected] 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.



-- 
## List details at https://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