How to teach sendmail to register or to overwrite the return path for bounces?

There is one major site that sends a mail as a hit and using the framework and not through the framework and the thousand places where everything is written manually, all mail still goes through sendmail.

How to teach sendmail to bounce email him prescribe the same return path for all emails that pass through it?
October 8th 19 at 01:01
1 answer
October 8th 19 at 01:03
well, something like that.
habrahabr.ru/post/136735/
Well, as it search, in all places or in one. In any case, there is a send somewhere. - Rudolph.Dickinson commented on October 8th 19 at 01:06
Cattle code is very much to do this intelligently it is necessary to rewrite 1200 lines of code.
Thank you for the article, this will partly solve the problem. - Eulalia22 commented on October 8th 19 at 01:09
So and why to rewrite everything, I have the same problem was when moving to a dedikeyted. Just looking for input functions, methods of sending and replaceable. Even if generated some complex Chinese code that still 1200 lines search to probihajici just, well, they can even and eyes to go with the Mat in half =) - Rudolph.Dickinson commented on October 8th 19 at 01:12

Find more questions by tags SendmailLinux