[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] analysing maillog on new vps2



On Wed, 1 Dec 2004 12:44:32 +0100, tim <email@xxxxxxxxxxxxxxxx> wrote:

> first it seems procmail does not have right to write to /var/log
> Dec  1 11:35:19 email procmail[80561]: Error while writing to "/var/log/procmail.clamav"
> Dec  1 11:35:19 email procmail[80561]: Error while writing to "/var/log/procmail.log"
> 
> as procmail does not seem to be a user on the system (vps2) I was
> wondering if it should be? I installed it as local delivery agent, for
> spamassassin and clamav processing.

At a guess I'd say that you're attempting to write to the logfile *after* a
DROPPRIVS=yes in your procmailrc. This means that procmail is running as the
local user for whom the mail is intended and it's *that* user who doesn't
have write permissions on the log file.

-- 
A theory is better than its explanation.
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: