<html>
<body>
At 12:33 02/09/2003, you wrote:<br><br>
<blockquote type=cite class=cite cite><font size=2>Hi,</font> <br><br>
<font size=2>I've been using MailScanner (4.22-4) with Exim (4.20)</font>
<br><br>
<font size=2>I'd like to congratulate Julian on an unbelievable product, that in my honest opinion beats most commercial</font> <br>
<font size=2>products that cost ridiculous amounts of money.</font> <br><br>
<font size=2>Anyway, what I'd like is an example on how to split the filename/filetype options into rulesets</font> <br><br>
<font size=2>I have a specific client that wants to be able to receive all content types from a specific domain and just need</font> <br>
<font size=2>an example to work with.</font> </blockquote><br>
In MailScanner.conf, set<br>
Filetype Rules = /etc/MailScanner/rules/filetype.rules<br>
Filename Rules = /etc/MailScanner/rules/filename.rules<br><br>
In filetype.rules put<br>
From: domain.com /etc/MailScanner/filename.allowall.rules.conf<br>
FromOrTo: default /etc/MailScanner/filename.rules.conf<br><br>
In filename.rules put<br>
From: domain.com /etc/MailScanner/filetype.allowall.rules.conf<br>
FromOrTo: default /etc/MailScanner/filetype.rules.conf<br><br>
In filename.allowall.rules.conf put (separated by tabs, not spaces)<br>
allow&nbsp;&nbsp; .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -<br><br>
In filetype.allowall.rules.conf put (separated by tabs, not spaces)<br>
allow&nbsp;&nbsp; .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -<br><br>
That should do the trick.<br><br>
<br>
<blockquote type=cite class=cite cite><font size=2>Thanks in advance.</font> <br><br>
<font size=2>Kind regards,<br><br>
David Jacobson<br>
System Architect<br><br>
Imperial Online - The Imperial Connection<br><br>
Switchboard&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (+27) 11 723-8000<br>
Helpdesk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (+27) 11 723-8181<br>
Mobile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (+27) 83 235-0760<br>
Facsimile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (+27) 11 454 1236 <br>
Email&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; davidj@impol.net<br><br>
<a href="http://www.imperialonline.co.za/" eudora="autourl">www.imperialonline.co.za</a> / <a href="http://www.imperialtoday.co.za/" eudora="autourl">www.imperialtoday.co.za</a><br><br>
Confidentiality Notice:<br>
This communication and the information it contains are intended for the person(s) or organisation(s) named above and for no other person(s) or organisation(s). <br>
The content of this communication may be confidential, legally privileged and protected. Unauthorised use, copying or disclosure of any part of this communication may be unlawful.</font> </blockquote></body>
<br>
<div>-- </div>
<div>Julian Field</div>
<div><a href="http://www.mailscanner.info/" EUDORA=AUTOURL>www.MailScanner.info</a></div>
MailScanner thanks transtec Computers for their support
</html>