On May 01 2000, lewst wrote:
> What is the easiest way to have qmail deliver an incoming message to
> an mbox named after the current year and month without having to
> manually adjust the .qmail each month? For example, "mbox.2000-05".
Essentially, something like this would do the trick:
| preline cat >> ./mbox.`date +%Y-%m`
Notice that I said *essentially*. You'd have to substitute cat
with something that takes care of locks to avoid concurrent
writes to the same message and that works gracefully under
circumstances of failure.
If there isn't such a program, you'd have to write your own
here.
[]s, Roger...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=