Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

"not" keyword, proper syntax?

2008-01-23 by Matt Kettler

according to the docs:
" Clauses can be negated, by prefixing them by the not keyword."

So, for example, if I wanted to penalize helo's that don't contain a . , thus 
cannot be proper domain format or address literal as required in RFC 1123, would 
I use:


acl greylist not helo /\./ delay 4h

or

acl greylist helo not /\./ delay 4h

I couldn't find any specific examples in the docs or sample conf files, so it's 
ambiguous to me where exactly the not belongs..


note: I know the RFCs prohibit using lookup or validation of HELO strings to 
refuse mail. However they do permit refusal when the format of the HELO is 
invalid, as this would force your Received: headers quoting them to violate 
standards.

I know some legitimate mail still violates this, but here I'm just wanting to 
try using it as a greylist criteria with heavier delays, rather than an outright 
blacklist.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.