On Ter, 23 Fev 2010, wrote: > Bonjour Messieurs, > je reviens vers vous pour chercher encore de l'aide. > Cette fois ci cela concerne la syntaxe du system.filter de exim. > > je voudrais rediriger les mails d'une adresse vers une autre avec le > system.filter de exim. > > Par exemple dans mon fichier system.filter je mets: > > if $header_to: contains "[email protected]" then deliver "[email protected]" > endif > > Le problème est tel que l'application délivre aussi les mails destinés à > "[email protected]" ou toutes les autres adresses de type > "[email protected]); ce qui est normal selon la syntaxe. > > Je souhaite qu'il s'en tient à "[email protected]" et non tout ce qui > contient "toto". Y'a t-il moyen de contourner? > > Je rappelle que j'ai testé la condition "is" ou "matches" et ca donne rien > pour le moment.
First, do not reply to an old e-mail to start a new thread, use the "compose" button so that the new message is separate from old ones. Second, you might get more answers if you ask in English. As for the question, try if $header_to: is "[email protected]" this will match only that exact address. -- cursor address, n: "Hello, cursor!" -- Stan Kelly-Bootle, "The Devil's DP Dictionary" Eduardo M KALINOWSKI [email protected] -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
