[545] in linux-net channel archive

home help back first fref pref prev next nref lref last post

popper

daemon@ATHENA.MIT.EDU (dsamperi@soho.ios.com)
Tue Jun 20 00:52:51 1995

To: linux-admin@vger.rutgers.edu, linux-net@vger.rutgers.edu
Date: Mon, 19 Jun 1995 23:55:17 -0400 (EDT)
Cc: dsamperi@ppp-nyc-2-7.ios.com (Dominick Samperi)
From: dsamperi@soho.ios.com

There seems to be a bug in popper under Linux (UCB Pop version 2.1.3-R3) 
when it is used to send mail via the XTND XMIT extended command. When the
user's mailbox (/usr/spool/mail/user) is empty to begin with sending
mail works fine (actually sendmail does the sending as a forked
process of popper).

On the other hand, when there are messages in the user's mailbox at the
time that popper is used to send a new message the message is correctly
appended, but the mailbox is corrupted by having about 500 NULL's written
to the beginning of the file. Deleting these NULL's fixes the mailbox,
but this is obviously not a reasonable solution.

I tried to study the problem more carefully by running sendmail manually
on the temporary xmit file that popper creates (in debug mode), but this
did not result in a corrupted mailbox (that is, the mail was delivered
fine). My guess is that there is some subtle problem with the way forked
processes inherit IO handles.

Any ideas?

Thanks,
Dominick

-- 
Dominick Samperi
Email: dsamperi@soho.ios.com
Voice: (212) 488-9534

home help back first fref pref prev next nref lref last post