Postfix的3个配置
去掉vrfy返回
disable_vrfy_command = yes
disable_vrfy_command (no)
Disable the SMTP VRFY command.
关闭ip反向查找域名,减少dns搜索,提升响应速度
smtpd_peername_lookup = no
smtpd_peername_lookup (yes)
Attempt to look up the remote SMTP client hostname, and verify that the name matches the client IP address. The per SMTP client connection count and request rate limits are imple- mented in co-operation with the anvil(8) service, and are available in Postfix version 2.2 and later.
smtpd_discard_ehlo_keywords = dsn, etrn, PIPELINING, silent-discard
A case insensitive list of EHLO keywords (pipelining, starttls, auth, etc.)
that the SMTP server will not send in the EHLO response to a remote SMTP client.