Re: how to stop mail() errors going to postmaster@etc...?

From: Mike (mikekelly100_at_hotmail.com)
Date: 10/15/03


Date: 15 Oct 2003 05:12:25 -0700

mikekelly100@hotmail.com (Mike) wrote in message news:<3de80bff.0310030402.4f21b49b@posting.google.com>...
> Pedro <hexkid@hotpop.com> wrote in message news:<blhgne$bn2f5$1@ID-203069.news.uni-berlin.de>...
> > Mike wrote:
> > > Neither did adding these values to the header:
> > >
> > > $headers .= "Errors-To: m.f.kelly@mikesaddress.uk\r\n";
> > > $headers .= "Return-Path: m.f.kelly@mikesaddress.uk\r\n";
> > >
> > > Any other suggestions?
> >
> > What about using all that and the fifth parameter to the mail function?
> >
> > <?php
> > mail($to, $sbj, $msg, $xhdr, '-f m.f.kelly@mikesaddress.uk');
> > ?>
> >
> > if your server uses sendmail (or a compatible daemon).
>
> Thanks Pedro,
> That seems to have done the trick.
> Cheers,
> Mike

Actually, it seems to just copy the error messages to
m.f.kelly@mikesaddress.uk, while still sending an error message to the
Postmaster address. :(
Is there a way to stop the Postmaster getting these messages?
Thanks,
Mike



Relevant Pages

  • Re: Need antispam software - mysterious spam encountered
    ... Error messages usually are sent from the Postmaster-account. ... aren't the postmaster at your ISP, so if you send mails pretending to ... the bounce was generated after receiving the message, ...
    (alt.computer.security)
  • Re: Problem writing to a file
    ... the "rb" and "wb" did the trick. ... It has happened before that I'm getting so desperate that I start to blame ... >> The program runs fine and does not return any error messages, strangely, ...
    (alt.comp.lang.learn.c-cpp)
  • Re: [bug] ata subsystem related crash with latest -git
    ... avoid a higher order allocation. ... this one finally made the trick and it's booting fine now, ... I did manage to capture the error messages this time, and in the two machines I'm actively testing on, sata_mv is the driver that's dying in both cases. ...
    (Linux-Kernel)
  • Re: rejecting non-delivery messages
    ... Error messages to non-existent users should be ... rejected, and the same goes for inbound-only mailboxes (postmaster, ... postmaster, watch out for the "double-bounce" condition. ... in your virtual domain and have an entry to deny all other DSNs for it. ...
    (comp.mail.sendmail)
  • Re: kernel source and gcc-4.0
    ... Jerome BENOIT told: ... > thanks for the trick. ... > but unfortunately I still get the same error messages: ... be a means to conceal oneself." ...
    (Debian-User)