On Mon, Dec 13, 2010 at 02:32:20PM +0100, Ralf Hildebrandt wrote: > * Gianluca Gargiulo <gianluca.gargi...@ediconsul.it>: > > > it's possible to replace all links in mail, also those on some line? > > Not in a generic fashion. > My pattern works for one occurence, but can be adapted for 2,3,4,...,etc
Helping the OP do what he is asking is not in fact helpful, since his objective is flawed. Any message content rewriting based on body_checks is extremely fragile and unreliable. The correct answer to the OP, is - Postfix cannot on its own do what you ask. - A very complex content filter or miler could perhaps correctly rewrite some MIME entity bodies in the way the OP suggested. - The correct solution to the problem is in the MUA. -- Viktor.