User Guide

84 Kaspersky
®
SMTP-Gateway 5.5 for Linux/Unix
If a rule has been applied, the establishment/termination of an email
session will be determined by the specified allow|deny value.
HeloRule – defines application response to HELO/EHLO command
received from a client.
Syntax:
HeloRule=allow|deny from has_ip|no_ip to
<rcpt>|<rcpt_mask>
or
HeloRule=allow|deny from same_ip|diff_ip to
<rcpt>|<rcpt_mask>
or
HeloRule=allow|deny from any to <rcpt>|<rcpt_mask>
where has_ip|no_ip corresponds to a situation, when it is
possible/impossible to receive an address from the host name
transferred by client as a parameter for the HELO/EHLO SMTP
command, while same_ip|diff_ip corresponds to a situation, when an
address received from that name matches/doesn't match the actual
address of the client that has established the connection. The
<rcpt>|<rcpt_mask>value determines the mail recipient or a mask for
email addresses of recipients. You can use the "*" and "?" wildcards to
specify a mask for recipients' mail addresses; "*" stands for any
address. The any keyword allows any sender’s address. During rule
selection from a list the program will use the first one matching the
recipient’s address mask.
If a rule has been applied, the establishment/termination of an email
session will be determined by the specified allow|deny value.
MailfromRule defines application behaviour at an attempt to send a
message from a source (MAIL FROM) with a domain name, which does
not match the actual IP address of the originating domain or MX host
corresponding to that domain.
Syntax:
MailfromRule=allow|deny from has_ip|no_ip to
<rcpt>|<rcpt_mask>
or
MailfromRule=allow|deny from has_mx|no_mx to
<rcpt>|<rcpt_mask>
or
MailfromRule=allow|deny from any to
<rcpt>|<rcpt_mask>
where has_ip|no_ip corresponds to a situation, when it is
possible/impossible to receive an address from host name, while