Re: spamassassin conf?
* Michael Vogt <lists@moep.dyndns.org> wrote:
> Jens Kleikamp schrieb:
>
>> Ansonsten würde ich den Spamassassin mal im Debug-Modus starten um zu
>> schauen welche config files tatsächlich benutzt werden. (spamassassin
>> -D --lint)
> Danke für den tipp. Habe dort unter anderem Entdeckt dass er das ganze
> /etc/spamassassin-verzeichniss für confs nimmt - so auch die alte:
> [3480] dbg: config: using "/etc/spamassassin" for site rules dir
> [3480] dbg: config: read file /etc/spamassassin/local.cf
> [3480] dbg: config: read file /etc/spamassassin/local.old.cf
Eindeutig falsche Benamung der alten Config, siehe
,---[man spamassin]-
| From those three directories, SpamAssassin will first read files ending
| in ".pre" in lexical order and then it will read files ending in ".cf"
| in lexical order (most files begin with two numbers to make the sorting
| order obvious).
|
| In other words, it will read init.pre first, then
| 10_default_prefs.cf before 50_scores.cf and 20_body_tests.cf before
| 20_head_tests.cf. Options in later files will override earlier files.
`----
Für so etwas ist es immer sinnvoller an den Namen ein .old anzuhängen,
anstatt es mittendrin einzufügen.;-)
Gruß
Jens
Reply to: