I modified mailbox.c to do a fdopen(...,"w") instead of fdopen(...,"a"). Strange... The scheduler delivered the mail without errors with this change. My script has a "cat - > /tmp/out" to test to make it sure it was getting the message on stdin ok. Tom