On Monday 06 February 2006 09:36, Ibiltari wrote:
> Hi, i have a working qmail installation from netqmail and recently
> included chkuser (very nice!).
> I want to use the CHKUSER_RCPTLIMIT and CHKUSER_WRONGRCPTLIMIT
> variables to block spam because they work very nice in my system, but
> the problem is that i don't want to apply these limits to the
> authenticated clients, so they can send mail with lot of recipients
> and even whit wrong recipient so they receive a bounced message. (if
> they get an error when sending they just think, o! the server is not
> working, lets call the provider). So, i tried whit #define
> CHKUSER_SENDER_NOCHECK_VARIABLE "RELAYCLIENT" but it doesn't works. It
> only disables sender checking or also the limits? how i can disable
> the limits only for authenticated clients? any idea?

just a guess (since I haven't looked at chkuser code in ages):
try removing the quotes from "RELAYCLIENT"  your define will look like this:
#define CHKUSER_SENDER_NOCHECK_VARIABLE RELAYCLIENT

if that won't work, it shouldn't compile, so you'll know immediately ;)

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.

Attachment: pgp2sm1AOK9Ro.pgp
Description: PGP signature

Reply via email to