double extension rule

Julian Field mailscanner at ecs.soton.ac.uk
Wed Aug 21 15:08:40 IST 2002


At 15:00 21/08/2002, you wrote:
>I would like to setup an exception to the double extension filename rule.
>
>One user has a particular file that arrives in this format:
>xxx.dat.pdf
>
>But mailscanner deletes it, how can we allow just that one file through
>without disabling the double extension rule entirely?

Sure. Just add a rule like
allow   /\.dat\.pdf$/   -       -
above the double-extension trap. The rules are executed in the order they
are specified in the conf file.
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list