Step Description Command Keys
28 Set the maximum email size in KB
(optional).
esr(config-mailserver)# mail max-
size <SIZE>
<SIZE> - the maximum email
size in KB, takes values from
5120 to 51200.
29 Enable mandatory HELO or EHLO SMTP
command when establishing an SMTP
session (optional).
esr(config-mailserver)# smtp helo-
required
30 Enable the VRFY SMTP command on
the mail server during an SMTP session
(optional).
esr(config-mailserver)# smtp vrfy-
enable
31 Enable mail server. esr(config-mailserver)# enable
13.9.2 Configuration example:
Objective:
Configure the "Antispam" service on ESR to work as an SMTP Proxy to analyze e-mail addressed to the mail
server located in the enterprise network and serving the eltex-co.ru domain.
Solution:
Ensure that the MX record for the domain eltex-co.ru points to the ESR IP address:
esr@eltex:~$ dig +noall +answer eltex-co.ru MX
eltex-co.ru. 3548 IN MX 10 mail-gate.eltex-co.ru.
esr@eltex:~$ dig +noall +answer mail-gate.eltex-co.ru A
mail-gate.eltex-co.ru. 3453 IN A 95.171.220.11