* Amira Othman <[email protected]>:
> 
> * Amira Othman <[email protected]>:
> > Hi all
> > 
> >  
> > 
> > I am building system that will send mails to list of users but I need to
> > stop receiving error emails or redirect them to another account or
> > /dev/null. I know it is bad idea but the application I am using will  handle
> > bounce mails so I don't need error email to  be sent to the end user . 
> 
> If your application is handling bounce mails, why not send those
> to the application then? Otherwise it cannot handle them, can it?
> 
> 
> I don't know how to redirect them to because it's not in the format
> user@domain it's null sender.
the SENDER is null
the recipient is ???

> where can I add this if it's possible?

The bounce goes back to the original sender. The usual way is this:

When sending mail to [email protected], on would set the
sender to:

nameoflist-bounces+ralf.hildebrandt=charite...@sending.domain.com

So, if mail to "[email protected]" bounces, it goes back to 
"nameoflist-bounces+ralf.hildebrandt=charite...@sending.domain.com",
and by converting "nameoflist-bounces+ralf.hildebrandt=charite.de"
back to "[email protected]" the app knows which address
bounced.

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [email protected] | http://www.charite.de
            

Reply via email to