Add F=k flag to the relevant mailer to disable the check.
(Sendmail-8.7 and above)
e.g. to modify "relay" mailer in
sendmail.mc use the following line:
MODIFY_MAILER_FLAGS(`RELAY', `+k')dnl
BTW The flag is used in
submit.cf to disable such checks (see feature/msp.m4).
--
[Andrew] Andrzej A. Filip -
https://www.linkedin.com/in/andfil