Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added site-wide configuration hints

...

  • Be sure to run "pyzor discover" after you install Pyzor, so that you can download the server to contact.

Using Pyzor Site-wide

  • Note permissions advice concerning /etc/mail/spamassassin in RazorSiteWide and add the following to your /etc/mail/spamassassin/local.cf: pyzor_options --homedir /etc/mail/spamassassin
    • Now put some servers in that dir: pyzor --homedir /etc/mail/spamassassin discover
    • And finally, restart spamd: /etc/init.d/spamd restart
    • Make sure that when you call spamassassin -r that you do it like this: spamassassin -x -C /etc/mail/spamassassin -r That will ensure that spamassassin uses the /etc/mail/spamassassin/local.cf config and not try to create user_prefs all over the place.

Is it working?

You can run SpamAssassin from the command line to figure out if it is using Pyzor. The process is described at RazorHowToTell, but the summary is to run the following from the command line:

...