in reply to Background Process

Have a seperate perl script that is continiously running that takes mail via a named pipe, that your in-apache perl process can feed. It can then hold the mail for an arbitrary amount of time before it sends it to sendmail. Why not a fork? Depending on how long you want to hold the mail before sending it, and the amount of mails involved, you could possibly fill your process table, which is definitely not the zen way.