This is an easy one.
You need to setup a /var/qmail/alias/.qmail-default file like this:
In it you have an email address to send the bounces to and a call to a
script like this:
&address_to_get_bounces
|bounce_script
This is what I use as bounce_script
#!/usr/bin/perl
print "Sorry, no mailbox here by that name (#5.1.1)";
print STDERR "Sorry, no mailbox here by that name (#5.1.1)";
exit 100;
This will
1) Send the bounce to address_to_get_bounces
2) Then bounce the letter immediately.
I hope this helps.
Matt Soffen
Webmaster - http://www.iso-ne.com/
==============================================
Boss - "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss - "Well, if the company nurse comes by, tell her I said
never mind."
- Dilbert -
==============================================
> ----------
> From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 04, 1999 9:36 AM
> To: [EMAIL PROTECTED]
> Subject: Redirecting or Copying bounced mail
>
>
> I need to have control over where bounced mail is sent
> for this one particular qmail server.
>
> I need at least a copy of all bounced mail sent to a
> particular account that is local to the qmail server.
>
> Is this possible or will I need to modify the source code?
>
> Ken Jones
> Inter7
>