Amavis log error

Mark Martinec Mark.Martinec+amavis at ijs.si
Wed Jan 25 15:30:45 CET 2012


Elijah,

> I am running FreeBSD 9, Amavis, Spamassassin, Clamav, Razor
> 
> I've run this setup for sometime but decided to install new, upon building
> a new server. I am not sure what I am actually seeing in the log is a
> razor problem and this post belongs over there or here but it seems like
> an amavis error to me. Everything installed cleanly with no errors and I
> got razor managed with no errors.
> 
> Jan 25 04:46:38 vader2 amavis[25495]: (25495-09) _WARN: Unexpected file
> /var/amavis/tmp/amavis-20120124T221227-25495-G33BmDtG/razor-agent.log at
> /usr/local/sbin/amavisd line 6162, <GEN20> line 2275. Jan 25 04:47:55
> vader2 amavis[25498]: (25498-08) _WARN: Unexpected file
> /var/amavis/tmp/amavis-20120124T225223-25498-XqmbFhpR/razor-agent.log at
> /usr/local/sbin/amavisd line 6162, <GEN20> line 3115. Jan 25 04:48:03
> vader2 amavis[25497]: (25497-09) _WARN: Unexpected file
> /var/amavis/tmp/amavis-20120124T223225-25497-orwmKadq/razor-agent.log at
> /usr/local/sbin/amavisd line 6162, <GEN20> line 2986. Jan 25 05:04:36
> vader2 amavis[25496]: (25496-09) _WARN: Unexpected file
> /var/amavis/tmp/amavis-20120124T223548-25496-js92xnnI/razor-agent.log at
> /usr/local/sbin/amavisd line 6162, <GEN20> line 2518.
> 
> Everything runs fine, mail is passing spam is being blocked I just have
> this one error I can't seem to clean up. These files do exist in this
> directory and have permissions set so that the user amavis runs as can
> read them.
> 
> Looking for ideas at this point, as I have been troubleshooting it for 2
> days.

I'd suggest to configure razor to put its log file somewhere else,
not in a current working directory:

In SpamAssassin's config file (e.g. local.cf):

razor_config /etc/razor-agent.conf


in /etc/razor-agent.conf :

debuglevel = 0

(or: logfile = ... )


  Mark


More information about the amavis-users mailing list