Bonjour, Michelle Konzack a écrit, dimanche 16 mai 2004, à 16:51 : [...] > ______ ( ~/.procmail ) _______________________________________________ > / > | :0 fw > | * ^Content-type.*(multipart\/alternative|multipart\/mixed) > | * B ?? Content-Type.*(.exe|.bat|.com|.pif|.scr|.zip|x-msdownload) > | |/usr/bin/fprot-unpack
Le / n'est pas spécial dans procmail, mais le \/ sert à capturer dans la variable $MATCH... :0 fw * ^Content-Type:.*multipart/(alternative|mixed) * B ?? Content-Type.*(\.(exe|bat|com|pif|scr|zip)|x-msdownload) |/usr/bin/fprot-unpack > | > | :0 > | * ^Subject.*(****VIRUS****) * ^Subject.*\*\*\*\*VIRUS\*\*\*\* On peut aussi éliminer des virus avec :0 * ^Content-Type:.*boundary="\/[^"]+ * 1^0 MATCH ?? ^^xxxx^^ * 1^0 MATCH ?? ^^----=_NextPart_000_0016----=_NextPart_000_0016^^ * 1^0 MATCH ?? ^^----=_NextPart_00(0_001B|1_001C)_01C0CA80\.6B015D10^^ * 1^0 MATCH ?? ^^----=_NextPart_000_00.._0000....\.0000....^^ # Ces . sont des [0-9A-F] ____________^^_____^^^^______^^^^ /dev/null Hop zat elpse, -- Jacques L'helgoualc'h