Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

blacklist causes Internal error

blacklist causes Internal error

2007-08-31 by jackyvtc

Hello there,
 
I put an ACL "acl blacklist addr 168.95.4.25 flushaddr" in 
greylist.conf and get  "unexpected priv_whitelist = 65536" error.

maillog:
Aug 30 11:40:40 mail milter-greylist: l7U3eX0v026709: addr 
168.95.4.25 flushed, removed 24 grey and 0 autowhite (ACL 219) Aug 
30 11:40:40 mail milter-greylist: l7U3eX0v026709: addr ms25.hinet.net
[168.95.4.25] from <kuielfd.nwol@...> to 
<m5777119@...> blacklisted (ACL 219) Aug 30 11:40:40 mail 
sendmail[26709]: l7U3eX0v026709: Milter: 
to=<m5777119@...>, reject=551 5.7.1 Go away!
Aug 30 11:40:41 mail sendmail[26709]: l7U3eX0v026709: 
from=<kuielfd.nwol@...>, size=6428, class=0, nrcpts=1, 
msgid=<200708292211.GAA19221@....net>, 
bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=ms25.hinet.net 
[168.95.4.25] Aug 30 11:40:41 mail milter-greylist: l7U3eX0v026709: 
unexpected priv_whitelist = 65536 Aug 30 11:40:41 mail sendmail
[26709]: l7U3eX0v026709: Milter add: header: X-Greylist: Sender IP 
whitelistedInternal error , not delayed by milter-greylist-3.0 
(mail.logictown.com [192.168.1.6]); Thu, 30 Aug 2007 11:40:41 +0800 
(CST) Aug 30 11:40:54 mail MailScanner[24880]: Content Checks: 
Detected and have disarmed web bug, form, form input tags in HTML 
message in l7U3eX0v026709 from kuielfd.nwol@....net Aug 30 
11:40:55 mail sendmail[26736]: l7U3eX0v026709: 
to=<line@machen.com.tw>, delay=00:00:15, xdelay=00:00:00, 
mailer=local, pri=126428, dsn=2.0.0, stat=Sent

it seems the mail was sent to 2 receivers (same mail id) , the 1st 
mail was blocked and the 2nd one sent without any delay because of 
the Sender IP whitelistedInternal error. 

here is the raw header of the email:
====
Return-Path: <kuielfd.nwol@...t>
Received: from ms25.hinet.net (ms25.hinet.net [168.95.4.25])
	by mail.logictown.com (8.13.8/8.13.8) with ESMTP id 
l7U3eX0v026709
	for <line@machen.com.tw>; Thu, 30 Aug 2007 11:40:40 +0800
Received: from msx-sms4-1.hinet.net (msx-sms4-1.hinet.net 
[168.95.7.41])
	by ms25.hinet.net (8.8.8/8.8.8) with ESMTP id GAA07791;
	Thu, 30 Aug 2007 06:11:30 +0800 (CST)
Received: from msx-sg3-1.hinet.net (msx-sg3-1.hinet.net 
[168.95.4.190])
	by msx-sms4-1.hinet.net (8.12.11/8.12.11) with ESMTP id 
l7TMBOeo009633;
	Thu, 30 Aug 2007 06:11:29 +0800 (CST)
Received: from 232-109.26-24.tampabay.res.rr.com (232-109.26-
24.tampabay.res.rr.com [24.26.109.232])
	by msx-sg3-1.hinet.net (8.8.8/8.8.8) with SMTP id GAA19221;
	Thu, 30 Aug 2007 06:11:16 +0800 (CST)
Message-Id: <200708292211.GAA19221@...>
Show quoted textHide quoted text
From: "ºô-Àº-¼Æ-¦ì-¦æ-¾P" <optydwb.gff@...>
To: "jer666@ms25.hinet.net" <jer666@...>
Subject: {Spam?} {Disarmed} ºô¸ô¥«³õµ¥§A¨Ó¶}µo~Åý±zªº¦æ¾P¤é¯q¼W¤W~
Date: Thu, 30 Aug 2007 06:08:48 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="--=====7209749819545=_"
X-Brightmail-Tracker: AAAABgaYkZkFFAnQAgKtnQaYlR4GmIn3BpiJ9Q==
X-HiNet-Brightmail: Spam
X-Greylist: Sender IP whitelistedInternal error , not delayed by 
milter-greylist-3.0 (mail.logictown.com [192.168.1.6]); Thu, 30 Aug 
2007 11:40:41 +0800 (CST)
X--MailScanner-Information: Please contact the ISP for more 
information
X--MailScanner: Found to be clean
X--MailScanner-SpamCheck: spam, SpamAssassin (not cached, 
score=17.185,
	required 6, BAYES_99 3.50, FROM_ILLEGAL_CHARS 4.10,
	HTML_IMAGE_RATIO_02 0.46, HTML_MESSAGE 0.00,
	HTML_TAG_BALANCE_BODY 0.23, HTML_TEXT_AFTER_BODY 0.12,
	MIME_HTML_ONLY 0.00, MIME_HTML_ONLY_MULTI 0.00,
	SUBJ_ILLEGAL_CHARS 4.28, UPPERCASE_25_50 0.00, 
URIBL_SC_SURBL 4.50)
X--MailScanner-SpamScore: sssssssssssssssss
X--MailScanner-From: kuielfd.nwol@...
X-Spam-Status: Yes
====

I tried to use gmail account (and set gmail.com blacklist) to send 
to my email server. blacklist works fine with 1 receipent. but when 
the mail is sent to 2 receipents, got the same situation states 
above.

Does anyone have the same error before ? or is it just my wrong 
configuration in greylist.conf?

best regards,

Jack Chen

Re: [milter-greylist] blacklist causes Internal error

2007-08-31 by manu@netbsd.org

jackyvtc <jackchen_tw@...> wrote:

> I put an ACL "acl blacklist addr 168.95.4.25 flushaddr" in 
> greylist.conf and get  "unexpected priv_whitelist = 65536" error.

What version is that? I don't find any occurence of such an error
message in current code.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: blacklist causes Internal error

2007-08-31 by jackyvtc

--- In milter-greylist@yahoogroups.com, manu@... wrote:
>
> jackyvtc <jackchen_tw@...> wrote:
> 
> > I put an ACL "acl blacklist addr 168.95.4.25 flushaddr" in 
> > greylist.conf and get  "unexpected priv_whitelist = 65536" error.
> 
> What version is that? I don't find any occurence of such an error
> message in current code.
> 
> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu@...
>

version is milter-greylist-3.0 as shown in maillog

best regards,

Jack Chen.

Re: [milter-greylist] Re: blacklist causes Internal error

2007-08-31 by manu@netbsd.org

jackyvtc <jackchen_tw@...> wrote:

> version is milter-greylist-3.0 as shown in maillog

Does that patch fix your problem?

Index: milter-greylist.c
===================================================================
RCS file: /cvsroot/milter-greylist/milter-greylist.c,v
retrieving revision 1.137.2.9
diff -U2 -r1.137.2.9 milter-greylist.c
--- milter-greylist.c   22 Jan 2007 22:36:48 -0000      1.137.2.9
+++ milter-greylist.c   31 Aug 2007 15:26:53 -0000
@@ -606,5 +606,6 @@
                        priv->priv_whitelist &= ~EXF_DEFAULT;
                }
-               priv->priv_whitelist &= ~(EXF_GREYLIST | EXF_WHITELIST);
+               priv->priv_whitelist &= 
+                   ~(EXF_GREYLIST | EXF_WHITELIST | EXF_BLACKLIST);
                if (priv->priv_whitelist != 0) {
                        mg_log(LOG_ERR, "%s: unexpected priv_whitelist = %d",

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: blacklist causes Internal error

2007-08-31 by jackyvtc

--- In milter-greylist@yahoogroups.com, manu@... wrote:
>
> jackyvtc <jackchen_tw@...> wrote:
> 
> > version is milter-greylist-3.0 as shown in maillog
> 
> Does that patch fix your problem?
> 
> Index: milter-greylist.c
> ===================================================================
> RCS file: /cvsroot/milter-greylist/milter-greylist.c,v
> retrieving revision 1.137.2.9
> diff -U2 -r1.137.2.9 milter-greylist.c
> --- milter-greylist.c   22 Jan 2007 22:36:48 -0000      1.137.2.9
> +++ milter-greylist.c   31 Aug 2007 15:26:53 -0000
> @@ -606,5 +606,6 @@
>                         priv->priv_whitelist &= ~EXF_DEFAULT;
>                 }
> -               priv->priv_whitelist &= ~(EXF_GREYLIST | 
EXF_WHITELIST);
> +               priv->priv_whitelist &= 
> +                   ~(EXF_GREYLIST | EXF_WHITELIST | EXF_BLACKLIST);
>                 if (priv->priv_whitelist != 0) {
>                         mg_log(LOG_ERR, "%s: unexpected 
priv_whitelist = %d",
> 
> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu@...
>


Never had patch before. Can you please advise how to patch it or 
where can I find the information to patch my milter-greylsit?

Thanks a lot.

Jack Chen.

Re: [milter-greylist] Re: blacklist causes Internal error

2007-08-31 by manu@netbsd.org

jackyvtc <jackchen_tw@...> wrote:

> Never had patch before. Can you please advise how to patch it or 
> where can I find the information to patch my milter-greylsit?

Well, that patch is really simple, so you can do the job by hand. Just
look for the line that starts by a -, remove it, and replace it by the
lines that starts by a + (don't copy the + of course)

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: blacklist causes Internal error

2007-09-10 by jackyvtc

Thank you very much for the update solves the "internal error" problem
in log.

But the blacklist still can't work properly.
I have a blacklist ACL in greylist.conf:
acl blacklist from /jackchen@eyeqasia\.com\.tw/
when I send mail from this address to more then 1 receiver in my
domain. only the mail to the 1st receiver is blocked, the others will
be delivered without any delay.

here is the log when send mail to 2 users:
*****Sep 10 13:10:40 mail milter-greylist: l8A5Abra031619: addr
ns.eyeqasia.com.tw[220.133.139.220] from <jackchen@...> to
<jack_chen@...> blacklisted (ACL 207)

*****Sep 10 13:10:40 mail sendmail[31619]: l8A5Abra031619: Milter:
to=<jack_chen@...>, reject=551 5.7.1 Go away!

*****Sep 10 13:10:40 mail sendmail[31619]: l8A5Abra031619:
from=<jackchen@....tw>, size=1383, class=0, nrcpts=1,
msgid=<001e01c7f368$eba18d10$3302a8c0@LTjack>, proto=ESMTP,
daemon=MTA, relay=ns.eyeqasia.com.tw [220.133.139.220]

*****Sep 10 13:10:40 mail sendmail[31619]: l8A5Abra031619: Milter add:
header: X-Greylist: Sender e-mail whitelisted, not delayed by
milter-greylist-3.0 (mail.logictown.com [192.168.1.6]); Mon, 10 Sep
2007 13:10:40 +0800 (CST)

*****Sep 10 13:10:54 mail sendmail[31649]: l8A5Abra031619:
to=<line@...>, delay=00:00:14, xdelay=00:00:00,
mailer=local, pri=121383, dsn=2.0.0, stat=Sent

Do you also have patch for this ? or is it just my wrong configuration?

----
Jack Chen.

Re: [milter-greylist] Re: blacklist causes Internal error

2007-09-10 by manu@netbsd.org

jackyvtc <jackchen_tw@...> wrote:

> Do you also have patch for this ? or is it just my wrong configuration?

Mmmm... What about giving a try to 4.0b1?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.