checking outgoing mail attachments

Phani Achanta vachanta at gmail.com
Fri Sep 24 00:22:23 IST 2004


> Filename Rules = %rules-dir%/filename.rules.rules

sorry i didnt mention that in my earlier but i did make this change.I
did exactly what you said Mr.Peter Bonivart and that didnt work out so
i e-mailed the list




On Fri, 24 Sep 2004 01:07:38 +0200, Peter Bonivart <peter at ucgbook.com> wrote:
> Venkata Achanta wrote:
> > Hello all,
> >
> > I want to specify what attachements are allowed/disallowed in BOTH
> > DIRECTIONS (i.e. the incoming and outgoing as well,our company doesnt want
> > to send some file outside but is willing to accept them from outside.In
> > this scenario only one filename.rules will not suffice)
> >
> > Hence,I have specified them in two files namely (matches the examples in
> > actual filename.rules.conf)
> >
> > filetypeoutgoing.rules.conf
> > filetypeincoming.rules.conf
> >
> > These are not the same files.
> >
> > and my filename.rules.conf looks like this
> >
> > From:   192.168.217.26   /etc/rules/filetypeoutgoing.rules.conf
> > From:   default         /etc/rules/filetypeincoming.rules.conf
> >
> >
> > (The ip address is internal mail server address,its been modified to fake
> > ip for posting purposes)
> >
> > When i am starting the mailscanner i get this message
> >
> > Possible syntax error on line 1 of /etc/rules/filename.rules.conf
> > Sep 23 14:02:04  MailScanner[31112]: Remember to separate fields with tab
> > characters!
>
> You need to set in MailScanner.conf:
>
> Filename Rules = %rules-dir%/filename.rules.rules
>
> In the above file you put your content:
>
> From:   192.168.217.26   /etc/rules/filenameoutgoing.rules.conf
> From:   default          /etc/rules/filenameincoming.rules.conf
>
> Copy the standard filename.rules.conf into the two above files and edit
> them to suite your purpose. Reload MailScanner.
>
> --
> /Peter Bonivart
>
> --Unix lovers do it in the Sun
>
>
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list