1.

How To Disable Certain Smtp Commands?

Answer»

ADD the confPRIVACY_FLAGS define to the sendmail configuration to set Privacy Options that DISABLE unwanted, optional SMTP commands. Here we will DISABLES the EXPN, VRFY, VERB, and ETRN commands.

dnl Disable EXPN, VRFY, VERB and ETRN

define(`confPRIVACY_FLAGS', `noexpn,novrfy,noverb,noetrn')

Rebuild and REINSTALL sendmail.cf, and then restart sendmail.

Add the confPRIVACY_FLAGS define to the sendmail configuration to set Privacy Options that disable unwanted, optional SMTP commands. Here we will disables the EXPN, VRFY, VERB, and ETRN commands.

dnl Disable EXPN, VRFY, VERB and ETRN

define(`confPRIVACY_FLAGS', `noexpn,novrfy,noverb,noetrn')

Rebuild and reinstall sendmail.cf, and then restart sendmail.



Discussion

No Comment Found