CentOS 5.x - SendMail
I'm curious -- is there any way to customize the STMP error codes, response text, and/or DSN body text in sendmail?
If so, where is this stored?
It's possible, but probably not worth it.
You can go through the source code (benefit of open source) and modify the interesting parts by hand (most if not all strings seem to be hardcoded).
Fast way to find the strings is to use some recursive
It would ruin your update path though, so I doubt it's a viable solution really.
Once upon a time I wrote $#random, a mailer that returns random exit codes. You maybe interested in modifying that to your purpose.