I am running sendmail 8.11.2 on a redhat system. The system runs as an open relay and has been blacklisted. It is documented that the system had a buggy linuxconf that means it is susceptible to the trailing @ hack. I cannot find a compatible more recent linuxconf and have therefore tried the following but the percent hack still gets through:
Recompiled sendmail.cf using m4
Manually edited sendmail.cf and inserted documented check_rcpt rules.
Inserted the documented check_rcpt rules into a newly compiled sendmail.cf
I thought this version of sendmail barred relaying mails by default!
Any assistance greatfully received
James