In case anyone was interested, I resolved the problem of my mailserv and /bin/mail colliding by using the flock() command after I opened the mail file. Steve Boswell