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

Re: [vps-mail] Savelogs Question



On Wed, Apr 14, 2004 at 02:27:30AM -0700, Abigail Marshall wrote:
> Is there any simple way to accomplish this, other than
> writing a separate script to run after savelogs with the
> commands:
> 
> chmod 660 /var/log/procmail.log
> chgrp pop /var/log/procmail.log

Have you tried sticking this in a 'postmovehook' section?

  PostMoveHook chmod 660 /var/log/procmail.log; chgrp pop /var/log/procmail.log

That would work on the command-line too, with quotes (double or
single) around the entire thing:

  --postmovehook="chmod 660 /var/log/procmail.log; chgrp pop /var/log/procmail.log"

Scott
-- 
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
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: