Results 1 to 7 of 7

Thread: Updating salocal.cf file

  1. #1
    Jbrabander's Avatar
    Jbrabander is offline Elite Member
    Join Date
    May 2008
    Location
    Park City, KS
    Posts
    342
    Rep Power
    7

    Default Updating salocal.cf file

    Following instructions from the wiki, I've modified the salocal.cf.in file to put in some blacklist items. It says that you should restart the Spamassassin for things to take effect. The code I run is:

    Code:
    zmamavisdctl restart
    However, that doesn't copy the salocal.cf.in to salocal.cf

    Am I running the wrong command? Or does it take a total restart of Zimbra to get the .in file to copy over?

  2. #2
    bhickey's Avatar
    bhickey is offline Advanced Member
    Join Date
    Feb 2006
    Posts
    177
    Rep Power
    9

    Default

    Make your changes to salocal.cf.in and then restart. I've always had luck doing a complete restart of Zimbra.
    Last edited by bhickey; 01-09-2009 at 11:29 AM.

  3. #3
    Jbrabander's Avatar
    Jbrabander is offline Elite Member
    Join Date
    May 2008
    Location
    Park City, KS
    Posts
    342
    Rep Power
    7

    Default

    That's what I've been doing. But running that command I posted earlier doesn't cause the changes to move over.

  4. #4
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    Have you made a complete Zimbra restart?

    zmcontrol stop
    zmcontrol start

  5. #5
    Jbrabander's Avatar
    Jbrabander is offline Elite Member
    Join Date
    May 2008
    Location
    Park City, KS
    Posts
    342
    Rep Power
    7

    Default

    Oh, it works fine if I restart Zimbra entirely. But I usually do "service zimbra restart". Is there any difference between doing that and doing the zmcontrol stop and start?

  6. #6
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    348
    Rep Power
    8

    Default

    Release 6.0.6_GA_2331.RHEL4_20100505170712 CentOS4 NETWORK edition.
    I would get updated salocal.cf by changes in salocal.cf.in, but i do not want restart zimbra entirely
    Code:
    $ zmantispamctl restart
    
    Stopping zmmtaconfig...done.
    Starting zmmtaconfig...done.
    Stopping amavisd... done.
    Starting amavisd...done.
    is not enough
    what is the proper command?
    tia

  7. #7
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    zmmtactl restart

Thread Information

Users Browsing this Thread

There are currently 24 users browsing this thread. (0 members and 24 guests)

Similar Threads

  1. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 11:24 AM
  2. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  3. postfix build error while building Zimbra source
    By anuradha_mihsra in forum Developers
    Replies: 6
    Last Post: 07-19-2007, 10:22 AM
  4. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 11:13 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM

Posting Permissions

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