1

Topic: razor logfile

hello!
i have installation
/iRedMail-0.8.2 on my Freebsd
FreeBSD 0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue
Jun 12 02:52:29 UTC 2012     root@amd64-builder.daemonology.net:/usr/obj/usr/sr
c/sys/GENERIC  amd64
accounts are in mysql

i have $log_level = 4; in my /usr/local/etc/amavisd.conf

so, i have message in logfile:

Oct  4 16:22:18 mail amavis[49275]: (49275-01) _WARN: Unexpected file /var/amavi
s/tmp/amavis-20121004T162213-49275-KnBKlDrQ/razor-agent.log at /usr/local/sbin/a
mavisd line 6722.

in this razor-agent.log i have

Oct 04 17:08:01.894585 check[49676]: [ 2] [bootup] Logging initiated LogDebugLev
el=3 to file:razor-agent.log
Oct 04 17:10:15.104714 check[49676]: [ 2] [bootup] Logging initiated LogDebugLev
el=3 to file:razor-agent.log
Oct 04 17:10:28.166597 check[49676]: [ 2] [bootup] Logging initiated LogDebugLev
el=3 to file:razor-agent.log

is this normal or not?
the razor-agent.log file is growing

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: razor logfile

i have no any razor-agent.conf in my system

when i look at /usr/local/sbin/amavisd line 6722.

i can see:
warn "Unexpected file $fname"  if $f ne 'email.txt';

it look like razor-agent.log must be in another place

now i have razor-agent.log in every directory under
/var/amavis/tmp


so, what's wrong in my installation?

3

Re: razor logfile

it looks like a have an answer!!!!

/usr/local/etc/mail/spamassassin/
mkdir .razor
cd .razor
touch razor-agent.conf

######## begin of razor-agent.conf #######
debuglevel             = 5
identity               = identity
ignorelist             = 0
listfile_catalogue     = servers.catalogue.lst
listfile_discovery     = servers.discovery.lst
listfile_nomination    = servers.nomination.lst
logfile                = /var/log/razor-agent.log
logic_method           = 4
min_cf                 = ac
razordiscovery         = discovery.razor.cloudmark.com
rediscovery_wait       = 172800
report_headers         = 1
turn_off_discovery     = 0
use_engines            = 4,8
######## end of razor-agent.conf #######

cd /var/log
touch razor-agent.log

cd  /usr/local/etc/mail/spamassassin/
vim local.cf
insert lines:

use_razor2      1
razor_config /usr/local/etc/mail/spamassassin/.razor/razor-agent.conf

restart amavisd

now i have only one razor-agent.log in my system in /var/log/
and there is NO any warnings in amavislog

it looks like razor enable by default but have NO any configs for it

is this true or not ?