Results 1 to 6 of 6

Thread: local.cf vs. local.cf.in

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Location
    Indianapolis
    Posts
    54
    Rep Power
    8

    Default local.cf vs. local.cf.in

    Sorry this is kind of an entry level question, but...

    In the Wiki pages on SpamAssassin, I see it recommends using /opt/zimbra/conf/salocal.cf.in for SA customization. Meanwhile, in many of the forum posts, some of the more authoritative poster on the topic seem to mention customizing /opt/zimbra/conf/spamassassin/local.cf.

    Is one a better choice than the other for any particular reason?

    I hate to say it, but spam seems to be the place Zimbra needs the most work. I feel like I'm getting the worst of both worlds... I'm having to go in and do a lot of manual management of SA & postfix, but it's in a packaged piece of software so I'm having to muck around with files with often-mysterious locations/interactions and that get re-written with each upgrade.

    Even if there was just a place in the gui where you could manually enter specific variables for postfix/amavis/sa, that would be a big improvement!

  2. #2
    Join Date
    Aug 2007
    Posts
    103
    Rep Power
    8

    Default

    always change the .in files because they are used to build the .cf files. If you change the .cf files and then restart zimbra the changes will be overwriten by the .cf.in file

  3. #3
    Join Date
    Aug 2007
    Location
    Indianapolis
    Posts
    54
    Rep Power
    8

    Default

    I guess the confusion here may be that they are separate files that possibly do the same thing? conf/spamassassin/local.cf doesn't seem to have a .in equivalent. But as I read the Wiki, it even seems to be inconsistent which of the two files should be edited...

  4. #4
    Join Date
    Mar 2007
    Posts
    73
    Rep Power
    8

    Default

    Yeah, I'm a bit confused by this as well. I have /opt/zimbra/conf/spamassassin/local.cf, but no local.cf.in. Do I just need to create this? Where do I put it?

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Easiest thing to do is create your own company specific .cf under /opt/zimbra/conf/spamassassin eg. mycompany.cf. That will override the default SA settings and means it would be persistent across upgrades aswell

  6. #6
    Join Date
    Mar 2007
    Posts
    73
    Rep Power
    8

    Default

    Ok, thanks for that. So for this one change, I need to add:

    score FH_DATE_PAST_20XX 0.0

    If I create and add this one to mycompany.cf, is that the only 1 line that I need in there? Or does that file need other entries as well?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •