Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

have error messages go to user on another box

1 view
Skip to first unread message

Jistan Idiot

unread,
Sep 29, 2008, 2:33:54 PM9/29/08
to
Hi,

We've got a Linux box on our internal network which has some perl
scripts which generates a bunch of emails.

On this box sendmail has MASQUERADE_AS set to our external domain
name. We also have defined LOCAL_RELAY to be our mail server. This
works fine most of the time in that bounce messages end up going to
the us...@ourdomain.com instead of the user on that box.

The one exception to this is if an invalid email address is put in the
To: header. For example someone typed
user.anotherdomain.com instead of us...@anotherdomain.com. The bounce
message for this problem goes to the mailbox of the user on the box
instead of us...@ourdomain.com

Is there another sendmail configuration that needs to be set to make
this happen or am I out of luck?

Thanks in advance.

Message has been deleted

D. Stussy

unread,
Sep 29, 2008, 10:25:02 PM9/29/08
to
"Ralf Döblitz" <doeb...@doeblitz.net> wrote in message
news:gbrdns$7oa$4...@msgid.netzverwaltung.net...
> Why not explicitly set the desired envelope address?
>
> sendmail -fBOUNCE...@example.com ...
>
> BTW: Are you affiliated with the registrants of ourdomain.com and
> anotherdomain.com? Both domains *are* registered, which is why you
> should use the domains reserved for examples and documentation
> (RFC2606) if you do not want to use your own domain names.

If that doesn't work (but it should), although technically depreciated,
there used to be an "Errors-To:" header tht some sites may still recognize.


Jistan Idiot

unread,
Sep 30, 2008, 10:18:02 AM9/30/08
to
On Sep 29, 4:27 pm, Ralf Döblitz <doeb...@doeblitz.net> wrote:
> Why not explicitly set the desired envelope address?
>
> sendmail -fBOUNCE...@example.com ...
>

b/c we don't want to have to code this into every script that
generates email. We want this to apply to everything on that box.

0 new messages