I have a sendmail/cyrus installation. Sendmail rejects mails from non existent MAIL FROM:-addresses. This is good. But sendmail does not reject mails from non-existent From:-header-addresses. The mail is then forwarded to cyrus, cyrus makes this check and rejects the mail. Now sendmail tries to (and usually can) send mail back an error mail to the MAIL FROM address.
Is it possible to configure sendmail to not accept non-existent domains in From:-header field?
Other ideas for a solution? Probably writing a milter could be a solution, but are there simpler solutions?
Thanks Teddy