HELO/EHLO Filter


This file specifies the hostnames used in the HELO/EHLO command during the SMTP session that should be rejected or allowed. You should specify the whole area to be accepted or rejected by a single line containing 1 or 0. That means that all following entries are meant to be rejected (0) or accepted (1). Each line contains a hostname or hostname mask.

Formal Syntax:

filteritems = *(filteritem CRLF)  
filteritem = (defaultitem / itemstring)  
defaultitem = ("0" / "1")  
itemstring = (hostname / hostnamemask)  
 

Example:

1
mail.icewarp.com
mail.yahoo.com
0
*spamsite.com
mail.spammer.com
This causes that any message with "HELO mail.icewarp.com" or "HELO mail.yahoo.com" command at the beginning of SMTP session will be accepted automatically. On the other hand SMTP session with "HELO mail.spammer.com" will be rejected.