Gregory, > But I'm confused. Why does the first match use: > $'i > vs > $'ix for the second?
amavis is written in Perl, this is Perl syntax: i stands for case insensitive: the regexp would match .exe and .EXE and .eXe etc. x means extended, you can have spaces in the regexp and they will be ignored, that adds readability to your regexp. Bests, Olivier
