I created 3 files:<br><br>filetype.rules.conf:<br>From: 127.0.0.1 /etc/MailScanner/rules/filetype.local.rules<br>FromOrTo: default /etc/MailScanner/filetype.rules<br><br><br>filetype.local.rules:<br>allow .* - -<br>
<br><br>filetype.rules is default MailScanner rule set.<br><br>and I constantly get warning in maillog:<br>Possible syntax error on line 1 of /etc/MailScanner/rules/filetype.rules.conf<br>Remember to separate fields with tab characters!<br>
Possible syntax error on line 2 of /etc/MailScanner/rules/filetype.rules.conf<br>Remember to separate fields with tab characters!<br><br><br>And yes, I separate filed with TAB :)<br><br><br>Cheers!<br><br><br><div class="gmail_quote">
On Fri, May 25, 2012 at 10:31 AM, Peter Bonivart <span dir="ltr"><<a href="mailto:bonivart@opencsw.org" target="_blank">bonivart@opencsw.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, May 25, 2012 at 10:14 AM, Nenad Vijatov <<a href="mailto:nenad.vijatov@gmail.com">nenad.vijatov@gmail.com</a>> wrote:<br>
> Hi everyone,<br>
><br>
> Is it possible to disable filetype checks from local (127.0.0.1 or<br>
> localhost) and how?<br>
<br>
</div>Use a ruleset. First create a blank file called, e.g., filetype.local,<br>
then create a ruleset pointing to it when from=127.0.0.1, see the<br>
example and readme files in the rules directory.<br>
<span class="HOEnZb"><font color="#888888"><br>
/peter<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</font></span></blockquote></div><br>