On 11/28/10, Benny Pedersen wrote:
> On søn 28 nov 2010 18:02:36 CET, "Sharma, Ashish" wrote
>> Maybe I am a newbie that's why I could not understand what you said.
>
> man razor-admin
>
> razor-admin -discover
> razor-admin -register
> razor-admin -create
>
> read more examples in man page
>
> if unsure what to do dont do anything, its like postfix main.cf that
> are filled with default errors when postconf -d is good
>
> makeing main.cf empty solves it for postfix
>
> so the more one configure the more error one do :=)
>
> --

Since you are using amavisd-new and the home directory of the amavis
user is /var/amavis:

yum install perl-Razor-Agent

su amavis -c 'razor-admin -create'
su amavis -c 'razor-admin -create'
su amavis -c 'razor-admin -register'

# disable razor logging (set debuglevel = 0 in
/var/amavis/.razor/razor-agent.conf)
sed -i 's/= 3/= 0/' /var/amavis/.razor/razor-agent.conf

-- 
Gary V

Reply via email to