Sendmail Redirect by Message Subject?
Hello,
I am trying to see if sendmail can be configured to redirect incoming messages to any user based on the subject line of the message. Anyone know if this can be done? Thanks Bob |
I don't know how to do it just using sendmail, but if you combine it with procmail
it is very easy. in ~/.procmailrc of the receiving user you put this type of content :0 * ^Subject:.*to.be.forwarded someOtherUser@host.domain.tld :0 (just accept it, takes more explanation) * a line with a regular expression to look for an adress in case it matches 'man procmailrc' can be helpful for more details, tlowk |
All times are GMT -5. The time now is 04:27 AM. |