.
http://jon.rusts.net/qrblcheck.c
jon
On Tue, Nov 21, 2000 at 10:47:10AM -0600, Mate Wierdl wrote:
> OK, so I did
>
> $ gcc -O -Wall -s qrblcheck.c -lresolv -o qrblcheck
> qrblcheck.c: In function `main':
> qrblcheck.c:269: warning: suggest parentheses around assignment us
OK, so I did
$ gcc -O -Wall -s qrblcheck.c -lresolv -o qrblcheck
qrblcheck.c: In function `main':
qrblcheck.c:269: warning: suggest parentheses around assignment used
as truth value
qrblcheck.c:303: warning: implicit declaration of function `mainrbl'
qrblcheck.c:315: warning: contr
Compiling it, I get
$ gcc qrblcheck.c
/tmp/cc0U7AlJ.o: In function `rblcheck':
/tmp/cc0U7AlJ.o(.text+0x227): undefined reference to `__res_query'
/tmp/cc0U7AlJ.o(.text+0x28e): undefined reference to `__res_query'
/tmp/cc0U7AlJ.o(.text+0x307): undefined reference to `__res_query'
collect2: ld ret
Looks good... I tried not play with the original rblcheck as much as
possible. Thanks for the tips, I'll roll them in when I get a chance.
My plan is to rewrite the whole mess to make it a bit more
coherent (not that rblcheck wasn't, but the combo of my code and his
isn't the cleanest, and there'
All fixed. Please try it out now and tell me what you think.
Jon
Robert,
I have reproduced your problem... err my problem. I'm looking into it
now.
jon
On Fri, Nov 03, 2000 at 02:48:22PM -0500, Robert J Adams wrote:
> Jon,
>
> Does this work for you? I was trying to get it up and running, didn't work,
> so I added a few debugging printf's and noticed that it looks up
>
> Domain: 0.0.2.151.relays.orbs.org
>
> For each message no matter what's i
y thanks for starting the development on this.. I was
looking for something like this!
-j
- Original Message -
From: "Jon Rust" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 02, 2000 1:08 PM
Subject: ANNOUNCE: qrblcheck -- rbl checking for .qmail
>
line. If the returned value is less than
or equal to the command line value, qrblcheck returns code 0, which
tells qmail to continue delivery. If the value is greater than that
supplied on the command line, qrblcheck returns 100 which tells qmail to
stop all deliveries and return the message.
If