If you read this thread carefully you may see that the answer you are looking for is: yes, it can be done. you can craft the bounce in perl. You can send the NDR via perl. Don't do it, because the MTA is the place for this to happen. Don't do it because spam addresses and relay routes are oft forged and the bounce that you generate will just sit in queue or go to the wrong person. Don't do it because your setup of a wildcard virtual user is silly and eating unnecessary spam attempts at random names. don't do it because there is a better way.
You have to realize that just because those answers are not what you wanted to here they are still answers, sometimes they are the most valuable answers of all because they make you look at the problem from a wider perspective than you were capable of in the first place. Don't discount peoples responses because they are not what you wanted to hear -- they are being given to you from other admins and developers toolbox of previous experiences, that is what makes them so valuable. If you just want yes or no answers to your question without advice or requests for more info, novelty shops sell the famous 8 ball fortune tellers in every town, just keep on shaking it til you get the answer you want.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.