Karthik <n6026002(_at_)cc(_dot_)iitb(_dot_)ernet(_dot_)in> writes:
I use procmail to sort mail which I call from a script using cron(). My
Mail Delivery Agent is qmail.
If I use lockfile to lock my system mailbox (which is $HOME/Mailbox) then
will qmail take note of it and queue up deliveries?
Have you checked the qmail docs?
qmail queues mail if the sticky bit for $HOME is set.
Okay, then after you create the lockfile (to prevent contention of the
script with itself) do a "chmod +t $HOME", and then a "chmod -t $HOME"
right before you remove the lockfile.
Philip Guenther