Home Forums OS X Server and Client Discussion Mail What is the relationship between amavisd.conf and SA local.cf?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #363334
    thinbits
    Participant

    It looks like some SA settings (e.g. required_hits) come from amavisd.conf, not SA’s local.cf file.

    Is SpamAssassin’s local.cf used for everything other than the few items called out in amavisd.conf, or are all of SpamAssassins settings supposed to come from amavisd.conf?

    I can’t seem to find any clear documentation on this…

    Thanks,
    Dave

    #363337
    maccanada
    Participant

    local.cf is written to by server admin, and read every time the mail service starts. Change the header rewrite message in Server Admin and it updates both amavisd.conf and local.cf

    local.cf should be used for creating custom rules for SpamAssassin. All of the tag levels for hits are defined in amavisd.conf

    #363348
    thinbits
    Participant

    Thanks for the pointers. I re-read the docs for amavisd-new and found this section covered the topic quite nicely. Somehow, I had missed that before.

    The short answer is that local.cf is used for just about everything except setting the tag level and subject rewriting.

    Thanks,
    Dave

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed