Hot answers tagged sendmail
The typical flow is rather one of delivery. Your question is tagged procmail so I assume a Procmail solution is acceptable. You should not need any additional MX records or other shenanigans. Sendmail (or any modern MTA; I would recommend Postfix if you are not particularly married to Sendmail for legacy reasons) can run a script on an incoming message ...
No, that's not correct at all. domain.com does not need PTR records, those go in the relevant .in-addr.arpa zone at your ISP. Your SPF records are also not correct, you don't need include:mail.domain.com. And the google includes are only needed if you send mail via google (gmail, google apps).
sendmail.mc errors after upgrade sendmail.mc:18: m4: cannot open `/usr/share/sendmail-cf/ostype/linux-gnu.m4': No such file or directory Your sendmail.mc file is buggy. It contains OSTYPE(linux-gnu) directive without support for linux-gnu parameter for OSTYPE. You get the above error message when sendmail package regenerates/recompiles sendmail.mc into ...
Only top voted, non community-wiki answers of a minimum length are eligible