from-adresse in bounce-mail

2000-07-19 Thread michael . renner

Moin,
all mails written or delivered to my server 
ruppert.terramenta.de are adress masqueraded,
that they have the form [EMAIL PROTECTED].
That works fine.
But when a mail bounce because the adress is
not existent (e.g. [EMAIL PROTECTED]) the
mailadresse from the mailer-daemon is still
[EMAIL PROTECTED]
  ^^^
The smarthost I use only transport mail
with adresses from terramenta.de, so the 
mail from [EMAIL PROTECTED]
bounce. So, what do I have to do to masquerade the
adresse from MAILER-DAEMON to [EMAIL PROTECTED],
as it works for 'normal' users?

Thanks
-- 
|Michael Renner  E-mail: [EMAIL PROTECTED]|
|D-72072 Tuebingen   Germany  |
mail -s "get pgp key" [EMAIL PROTECTED]  /dev/null
mail -s "get gpg key" [EMAIL PROTECTED]  /dev/null
|Don't drink as root!ESC:wq



Re: from-adresse in bounce-mail

2000-07-19 Thread Aaron L. Meehan

Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]):

 all mails written or delivered to my server ruppert.terramenta.de
 are adress masqueraded, that they have the form
 [EMAIL PROTECTED].  That works fine.  But when a mail bounce
 because the adress is not existent (e.g. [EMAIL PROTECTED]) the
 mailadresse from the mailer-daemon is still
 [EMAIL PROTECTED]

See the man page for qmail-control.  You want to put terramenta.de into
control/bouncehost.

 The smarthost I use only transport mail with adresses from
 terramenta.de, so the mail from [EMAIL PROTECTED]
 bounce.

MAILER-DAEMON@ is what you see in the mail's From header, and has
nothing to do with the sender address, which for a bounce would be
NULL--maybe that is why your mail is being rejected, hmm?  I don't
know your particular situation, of course, but your smarthost should
be allowing relaying based on your IP address, and not what's in From
or the envelope sender, otherwise it's basically an open relay (and
spammers will find it, eventually).  You might point that out to the
machine's adminstrator, if my analysis of the situation is correct.

Aaron