Boris wrote: > Hello,
> I am trying to setup Razor to be used with amavisd. > Boris Senker When installing Razor, by default it installs in the home directory of the user that runs razor-admin. You want to run razor-admin as your amavis user. > [EMAIL PROTECTED] razor]# razor-admin -home=/etc/razor -d -create > Razor-Log: read_file: 15 items read from /etc/razor/razor-agent.conf > Razor-Log: -create will force complete discovery You have already created /etc/razor/razor-agent.conf. If /etc/razor/razor-agent.conf exists, Razor will use that for its configuration file, so that is fine. To install the rest of the files your amavis user needs, run razor-admin as your amavis user. Let's assume your amavis user is 'vscan' su vscan -c 'razor-admin -create' su vscan -c 'razor-admin -register' (may have to run -register more than once) This will install the .razor directory and razor files in the home directory of the the amavis user (likely /var/amavis/.razor). This assumes the user vscan has shell access. If not (or as an alternative), you could run: sudo -H -u vscan razor-admin -create sudo -H -u vscan razor-admin -register Optional: Once everything is working, I suggest you edit /etc/razor/razor-agent.conf and change debuglevel to 0 (to stop logging - then you wont have to maintain the log). Gary V ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Razor-users mailing list Razor-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/razor-users