> What I meant is that Amavisd may look in a non-standard place for
> SpamAssassin's local.cf and other config files.  I looked at my Amavis
> config file and did not see a place to change it, but I seem to remember
> somebody saying that it is possible.

The only thing that needs to be remembered is that amavisd
runs under its dedicated username (usually vscan or amavis).

As long as you run the command-line spamassassin tests
and other utility commands under the same user,
these should see the same environment as amavisd:

  # su vscan -c 'spamassassin -t -D <test.msg'
  # su vscan -c 'spamassassin --lint'
  # su vscan -c 'sa-learn --spam spam.msg'
  ...

Mark

Reply via email to