1834796 Members
2573 Online
110070 Solutions
New Discussion

disable VRFY

 
SOLVED
Go to solution
fahad_8
Advisor

disable VRFY

Hi all

i got this report from Security section
{
In its default configuration, Sendmail implements the VRFY command which allows anyone who can connect to Sendmail to obtain information about which user accounts exist, and where mail is being delivered. Many sites choose not to hand out this information via VRFY.

Recommendation: You should disable VRFY by adding "needvrfyhelo" to the P or Privacy line in the sendmail.cf file, usually found in the directory /etc }

so how i can disable VRFY , i tried many times but no result

regards
1 REPLY 1
Arunvijai_4
Honored Contributor
Solution

Re: disable VRFY

Hi,

Have you looked into /etc/mail/sendmail.cf file ?

#grep -i VRFY /etc/mail/sendmail.cf
# needvrfyhelo Insist on HELO (or EHLO) before the VRFY command
# novrfy Disallow VRFY command totally

So, you can use novrfy to disallow VRFY.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"