Le 13/12/2010 14:30, Gianluca Gargiulo a écrit :
it's possible to replace all links in mail, also those on some line?
postfix body_checks use regular expressions. you can certainly devise expressions to rewrite 1, 2 ,3 ... "words" in a line:
/(.*)foo(.*)foo(.*)foo(.*)foo(.*)/ REPLACE $1bar$2bar$3bar$4bar$5 /(.*)foo(.*)foo(.*)foo(.*)/ REPLACE $1bar$2bar$3bar$4 /(.*)foo(.*)foo(.*)/ REPLACE $1bar$2bar$3 /(.*)foo(.*)/ REPLACE $1bar$2 but this is ugly, fragile and limited. as Viktor said, you are trying to fix the wrong problem.