I build a virtual machine to answer you because I don't use anymore sendmail I prefer postfix.
The best and easiest way, is to enter the routine below into "/etc/mail/access"
mailadr2avoid ERROR:"No mail please !"
Once you have modified that file, run "make".
if don't have make installed, you can directly execute "makemap hash /etc/mail/access.db < /etc/mail/access"
after that "service sendmail restart"
To test it, inside a console type "telnet host 25"
you should get an error message
Last edited by Fantasio; 08-31-2008 at 06:02 PM.