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

Re: Mail loss!



On Sun, Feb 06, 2000 at 11:46:26PM -0500, Branden Robinson wrote:
> ssh -C roger.ecn.purdue.edu "mv $MAIL $HOME/mymail" && scp -C
> roger.ecn.purdue.edu:mymail /tmp && formail -s procmail < /tmp/mymail

How about doing a lock on the mailbox prior to moving it? I do need it but
then I use cat to copy my mail followed by a another cat to empty the box.
So my operation certainly is not atomical. I switched over to cat after
losing some mail due to a forced copy.

Michael

-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!


Reply to: