Sendmail.mc: alias all incoming e-mails to one account
- by Angus
I need to alias all mail coming from another SMTP server to this one account "myinbox". The system in question is to receive all e-mail on the domain, if that's any help. http://william.shallum.net/random-notes/sendmailredirectallmailfordevelopment is a template for the beginning of a solution, but that routes everything (including outgoing and internal mail) to that one account, and trying to understand how these R rules work is making my head spin. I think the answer is in sendmail.mc rather than any Procmail configuration.
So I think what I generally don't want the filter to do is:
Interfere w/any outgoing e-mail
Interfere w/any internal e-mail Sometimes some cron job causes "root" to mail to "root". I don't want these to go to myinbox.
Cause infinite loops Who does? Bounce messages and any DSNs come to mind.
I'm running Sendmail 8.13.1 and Procmail 3.22.