Kerin wrote:

> Hi folks, I've been a quietly satisfied customer for some time now
> (excellent program)! However, I've joined this list in order to point
> out a few gremlins that seem to have popped up with the latest release.
> I use razor in the context of spamasassin, which is invoked and managed
> by amavisd-new. Thus, I have an amavis user account and the "razorhome"
> location is relative to the amavis home directory: "/var/amavis/.razor".
> I just upgraded from razor-2.61 to razor-2.72 and discovered two issues,
> one of which appears to be a regression over the prior version.

> Firstly, I decided to move my old razorhome elsewhere and re-generate
> it. My procedures were conducted as the root user and the following
> conditions were all true prior to proceeding:

>   * /var/amavis/.razor was no longer present

>   * There was no razor configuration for the root user at "/root/.razor"

>   * There was no default razor configuration at /etc/razor in any shape
>     or form

> Now, I requested to generate a new configuration as follows:

>   razor-admin -d -create -home=/var/amavis/.razor

> The problem is that it did not generate a configuration file under
> "/var/amavis/.razor". The directory contained only the following files:

This is how I configure amavis, it may possibly get you going:

As root, run
 razor-admin create
 razor-admin register

It should create /root/.razor/razor-agent.conf

edit /root/.razor/razor-agent.conf
and explicitly set razorhome:

razorhome = /var/amavis/.razor

then copy root's entire .razor directory to amavis:

cp -r /root/.razor /var/amavis

This part is probably unnecessary, but I do it anyway:
razor-admin -create -home=/var/amavis/.razor

Both root and amavis will use razorhome = /var/amavis/.razor

Gary V



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to