- torben fjerdingstad <[EMAIL PROTECTED]>:
| On Fri, Mar 12, 1999 at 10:56:46AM -0500, Timothy L. Mayo wrote:
| > You don't without a lot of work. The error message is the TXT
| > record from the ORBS database. If Alan Brown wants the IP address
| > in the message, he should modify his scripts to place it in the
| > TXT record in his ORBS DNS database.
|
| What kind of work? Changing rblsmtpd?
Why not? It shouldn't be too hard: In the check() routine, just
before "if (message.len > 200) message.len = 200;" insert something
along the lines of (** untested code follows **)
x = env_get("TCPREMOTEIP");
if (x)
if (*x) {
if (!stralloc_cats(&message, " (Remote IP: ")) die_sys();
if (!stralloc_cats(&message, x) die_sys();
if (!stralloc_cats(&message, ")")) die_sys();
}
| At the same time I think it should be modified to be able to take
| multiple -r flags.
Would be useful. I'll leave that as an exercise for the reader. 8-)
- Harald