From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 27 Oct 1995 23:01:55 -0400 From: steve@plan9.ecf.toronto.edu steve@plan9.ecf.toronto.edu Subject: sendmail versus u9fs Topicbox-Message-UUID: 30c7cf62-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19951028030155.OnAuOmXd4eYrlqSJRekU3LtiJgBl3t8OWHHd6x-6jac@z> I'm using u9fs as my main file server. According to mail(1), mailbox files must be append-only, but that's not possible with u9fs. This resulted in all new messages being written to the beginning of my mbox, instead of getting appended. The following patch works around the problem: cpu% cd /sys/src/cmd/upas/send cpu% diff /p/cd/sys/src/cmd/upas/send main.c 363a364 > Bseek(fp, 0, 2); 367a369 > Bseek(fp, 0, 2);