%rules-dir% config setting?

Julian Field mailscanner at ecs.soton.ac.uk
Sat Apr 3 12:16:40 IST 2004


At 19:50 02/04/2004, you wrote:
>Julian,
>
>I'm running 4.29.7 and having my first encounter with my
>own custom rules that I want preserved across upgrades.
>So, I want to put my rules in /etc/MailScanner/rules, not
>/opt/MailScanner/etc/rules.  It would be nice if the
>MailScanner.conf gave two %rules% definitions at the top,
>one for your rules, and one for mine, eg:
>
># Rulesets directory containing rulesets shipped with MailScanner
># Note: these rules may change between versions of MailScanner
>%rules-dir% = /opt/MailScanner/etc/rules
>
># Put your site-specific rulesets in this directory
># and they will be preserved between MailScanner upgrades
>%localrules-dir% = /etc/MailScanner/rules
>
>This way, I can just do:
>
>Spam Checks = %localrules-dir%/spamcheck.rules
>
>Can I just make these changes to MailScanner.conf and have
>this work?

Yes. Feel free to define and use any %variable% variables you want.

With the new version of upgrade_MailScanner_conf I have attached to this
message, all your custom-defined %variable% settings will be preserved
across upgrades.


>Jeff Earickson
>Colby College
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upgrade_MailScanner_conf
Type: application/octet-stream
Size: 6721 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040403/a44b0fa4/upgrade_MailScanner_conf.obj
-------------- next part --------------
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


More information about the MailScanner mailing list