ProcmailRecipes: Difference between revisions
Jump to navigation
Jump to search
m (2 revisions imported) |
(No difference)
|
Latest revision as of 15:20, 6 April 2016
ProcmailRecipes
Here are a few useful procmail recipes you can use in your RT configuration.
#Remove mail from Galaxy@email.com :0 * ? formail -x"From" -x"From:" -x"Reply-To:" -x"Errors-To:"\ | egrep -i "Galaxy@email.com" /dev/null #Change the from header to a real RT user :0 fhw * ? formail -x"From" -x"From:" -x"Reply-To:" -x"Errors-To:" | egrep -i "rt.username@hotmail.com" |formail -I "From: rtusername@realdomain.com" #Add the big tag in front of the subject :0 fhw * ^Subject:\/.* | formail -I "Subject: {* -BIG- *} $MATCH"
Recipe Requests
-Redirect or bounce an email message via procmail. (our exchange users do not have permissions to re-direct via outlook)