On Mon, May 01, 2000 at 09:47:07PM -0700, lewst wrote:
 
> manually adjust the .qmail each month?  For example, "mbox.2000-05".
> 
> I've tried the following:
> 
>   % cat .qmail
>   ./mbox.`date +%Y-%m`

|cat >./mbox.`date +%Y-%m`

Usually this is not what you want: there is no protection against
concurrent deliveries, so you might want to add an extra level of
protection, possibly using setlock from the daemontools package.

|setlock ./mbox-lock /bin/cat >./mbox.`date +%Y-%m`
(untested, i don't use mbox)

Regards, Uwe 

Reply via email to