you really will not do this because you would open a door for a DOS-attack - imagine someone does not love you and starts sending mails you are rejecting in a loop to your server until your disk is full
best practice is send as less as possible generated mails and that is why you normally should reject the delivering server is in this case responsible for creating bounce-massages or not Am 12.01.2012 19:04, schrieb Michael Maymann: > Hi Noel, > > Thanks for your kind reply...:-) ! > This is for incoming mails (perhaps it is not called bouncing then...?)... :-o > When I am about to reject an incoming mail - can I first forward this mail to > a external mailbox and then reject > afterwards... or shouldn't I be doing this... is this considered bad > behaviour...? > How can this be done - please provide examples if possible. > > > Thanks in advance :-) ! > ~maymann > > 2012/1/5 Noel Jones <njo...@megan.vbhcs.org <mailto:njo...@megan.vbhcs.org>> > > On 1/5/2012 8:04 AM, Michael Maymann wrote: > > Hi List, > > > > I have a mailrelay (internal->external), that I'm trying to harden > > by allowing only certain external domains. > > Is it possible to send bouncing mails to a specific > > bou...@mydomain.com <mailto:bou...@mydomain.com> > <mailto:bou...@mydomain.com <mailto:bou...@mydomain.com>> > account, so I can > > keep an extra eye on what is being bounced when I do the switch, and > > perhaps some weeks after...? > > > > Thanks in advance :-) ! > > ~maymann > > > When you send the original mail, set the envelope sender to the > bounce address, and all bounces will be returned to that address > automatically. The From: header can still be set to whatever you wish. > > > -- Noel Jones > > -- Mit besten Grüßen, Reindl Harald the lounge interactive design GmbH A-1060 Vienna, Hofmühlgasse 17 CTO / software-development / cms-solutions p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40 icq: 154546673, http://www.thelounge.net/ http://www.thelounge.net/signature.asc.what.htm
signature.asc
Description: OpenPGP digital signature