cPanel & WHM Version 98 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
This object is in archive! 

Ability to define which headers to use for matching

rbroberts shared this idea 9 years ago
Open Discussion

With procmail, I can define a macros like these:


FROM="^(From[ ]|(Old-|X-)?(Resent-)?(From|Reply-To|Sender)):.*"

and then use them like so


* $ $LIST(


* $ $FROM(


Having just converted a large number of procmail rules to cpanel, I find I'm stuck with "any header contains" or else I have to define several rules to get the above effect. I would love to be able to define header matches like the above which would make my rule sets more specific and more compact which in turn makes them more accurate.

Leave a Comment
Attach a file