On Fri, 8 Mar 2002, Craig Hughes wrote: > [...] I\'d be very happy to have SA Do The Right Thing as far as perl > goes for its config files; but I think it should at least keep trying to > read [from] /usr/share/spamassassin/, /usr/local/share/spamassassin/ and > /etc/mail/spamassassin/ as it currently does [...]
SpamAssassin.pm would end up having something like use config; # ... @default_rules_path = ( $Config{prefix} . '/share/spamassassin', qw( /usr/local/share/spamassassin /usr/share/spamassassin ./rules ../rules ) ); (and so on for @site_rules_path, etc.) Or it might be worth a little extra effort: @default_rules_path = ( $Config{prefix} . '/share/spamassassin', ($Config{prefix} ne '/usr/local' ? '/usr/local/share/spamassassin' : ()), ($Config{prefix} ne '/usr' ? '/usr/share/spamassassin' : ()), qw( ./rules ../rules ) ); _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk