From ece153e8b15455c6b42799d536d1b5d8f7546e23 Mon Sep 17 00:00:00 2001 From: Josue-T Date: Fri, 10 May 2019 15:44:59 +0200 Subject: [PATCH] Disable VRFY command in Postfix command --- data/templates/postfix/main.cf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/templates/postfix/main.cf b/data/templates/postfix/main.cf index c38896a3f..feeeb4c9f 100644 --- a/data/templates/postfix/main.cf +++ b/data/templates/postfix/main.cf @@ -154,3 +154,9 @@ smtpd_milters = inet:localhost:11332 # Skip email without checking if milter has died milter_default_action = accept + +# Avoid email adress scanning +# By default it's possible to detect if the email adress exist +# So it's easly possible to scan a server to know which email adress is valid +# and after to send spam +disable_vrfy_command = yes