Wednesday, February 25

Postfix Invalid HELO names

Mail server administrator use some technic to fight with spam,like using RBL or using FQDN (RFC2821 4.1.1.1).

in postfix add this line in main.cf ..

smtpd_helo_required = yes
disable_vrfy_command = yes

smtpd_recipient_restrictions =
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,

reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
permit_mynetworks,
reject_unauth_destination,
check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
check_helo_access dbm:/etc/postfix/helo_checks,
check_sender_access dbm:/etc/postfix/sender_checks,
check_client_access dbm:/etc/postfix/client_checks,
check_client_access pcre:/etc/postfix/client_checks.pcre,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl.spamhaus.org,
reject_rbl_client pbl.spamhaus.org
permit

smtpd_data_restrictions =
reject_unauth_pipelining,
permit

but how if you rejected by administrator that using this technic.

in main.cf edit myhostname=with.youractualdoamain.com

good luck

No comments:

Post a Comment