A client on my server has a cgi script that sends email (I think via
SMTP through localhost). Well, the bounces come back to me instead of
going to the person in the from header. I think I understand why--
(someone could forge the from header and be a big nuisance), but for
legitimate users (nearly always in this case), I want the bounces to go
to the user who initiated them so they can know it didn't work.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 14156 invoked by uid 99); 24 Dec 1999 14:08:56 -0000
Date: 24 Dec 1999 14:08:56 -0000
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Reply-to: [EMAIL PROTECTED]
X-Mailer: Perl Powered Socket Mailer
Subject: A Special Card is Waiting For You!

Those are the headers in a sample message. What can I do about these
bounces?

Can I automatically forward them to the from header? Can I automatically
execute a script/program when they come in?

I've seen scripts and the like in the .qmail files but don't know where
the documentation is for that stuff.

Thanks,
-- 
Joel Shellman
The enSurge(TM) Network
http://www.enSurge.com/

Reply via email to