Thanks Benny, if your rule worked, it would only match FROM or TO... the great advantage of the ALL is that i "sees" all headers in one string so we can match FROM 'and' TO at the same time ------PedroD
On Thursday, December 6, 2018, 10:23:17 PM GMT+1, Benny Pedersen <m...@junc.eu> wrote: Pedro David Marco skrev den 2018-12-06 21:25: > header TESTRULE2 ALL =~ /From=.*pedro.* > To=.*pedro.*/ism > This is a mistery... :-? header TESTRULE (From|To) =~ /\.*pedro\.*/ism dont know if it works, just my silly thinking right now