ORBS complained about my mailserver because it did not tell which
orbs'd host it would not talk to.

Harald suggested a patch for rblsmtpd which has been working
fine for a long time. But now it has stopped working. I don't
understand what has happened. The patched rblsmtpd is still
installed.  It added the string "Remote IP: x.x.x.x".

Now, the bounce messages says (yes, it really is truncated):

926001343.724531 rblsmtpd: pid 20216: 451 The server sending your mail is in the ORBS 
database as an insecure email relay and the admin of the server giving you this 
message has not set his filtering up correctly to provide you with the I

What has happened? Where did the "Remote IP .." string go?
How can I fix it? I have not changed anything since it worked.
I suppose ORBS has.

On Sun, Mar 14, 1999 at 02:48:09PM +0100, torben fjerdingstad wrote:
> On Fri, Mar 12, 1999 at 11:19:30PM +0100, Harald Hanche-Olsen wrote:
> > - 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();
> >     }
> 
> Thank you very much. It works after I added the missing ')'
> right after 'x)' in the second die_sys() line.

-- 
Med venlig hilsen / Regards 
Netdriftgruppen / Network Management Group
UNI-C          

Tlf./Phone   +45 35 87 89 41        Mail:  UNI-C                                
Fax.         +45 35 87 89 90               Bygning 304
E-mail: [EMAIL PROTECTED]       DK-2800 Lyngby

Reply via email to