These posting are provided "AS IS" with no warranties, and confers no rights.
Saturday, August 4, 2012
How to Disable ndr's in sendmail
vi /etc/mail/sendmail.mc
Change the below line
dnl # define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
TO
define(`confPRIVACY_FLAGS', `authwarnings,nobodyreturn')dnl
One more step to make it work: sendmail won't pickup the changes in the sendmail.mc file unless you remake the sendmail.cf file after editing sendmail.mc:
One more step to make it work:
ReplyDeletesendmail won't pickup the changes in the sendmail.mc file unless you remake the sendmail.cf file after editing sendmail.mc:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
Thank you
DeleteWhy did you remove novrfy, noexpn?
ReplyDeleteBad idea!
this just removes the body NO BODY RETURN ( for privacy reasons)
ReplyDelete