Can't restart....

Nick Phillips nwp at LEMON-COMPUTING.COM
Thu Nov 22 09:38:23 GMT 2001


On Thu, Nov 22, 2001 at 09:45:26AM +0100, Luka Kolanovic wrote:
> Hi.
> I'm trying to let thorugh some file w/ extension .prj.doc, and don't succed. I tried to restart mailscanner with line:
> /opt/mailscanner/bin/mailscanner /opt/mailscanner/etc/mailscanner.conf
> I took care of tabs, those two (three) lines from filename.rules.conf are:
> # Deny all other double file extensions. This catches any hidden filenames.
> deny    \.[a-z][a-z0-9]{2,3}\.[a-z0-9]{3}$      Found possible filename hiding
> allow   \.[a-z][a-z0-9]{2,3}\.doc$
> What am I doing wrong.

You probably want:

> allow   \.prj\.doc$           -       -
> # Deny all other double file extensions. This catches any hidden filenames.
> deny    \.[a-z][a-z0-9]{2,3}\.[a-z0-9]{3}$      Found possible filename hiding

as the first matching rule gets used.



Cheers,


Nick

--
Nick Phillips -- nwp at lemon-computing.com
Write yourself a threatening letter and pen a defiant reply.



More information about the MailScanner mailing list