Yahoo Groups archive

Milter-greylist

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

Message

localhost outbound email greylisted

2005-10-18 by nonsolosoft

Dear Emmanuel,

I'm using your greylist since more than one year, but since I've
upgraded to 2.0 I've outbound emails greylisted.

I've activated verbose and -l for acl debug and it seems ok.

/tmp/access-list.debug:
acl greylist default
acl whitelist addr 127.0.0.1/255.255.255.255
acl whitelist addr 127.0.0.0/255.0.0.0

but if I send:
bash-2.04$ mail -v prova@ziopeppone49.it
Subject: Ciao
.
EOT
prova@...... Connecting to [127.0.0.1] via relay...
220 xxx.diff.org ESMTP Sendmail 8.13.3/8.13.3; Wed, 19 Oct 2005
00:55:57 +0200 (CEST)
>>> EHLO xxx.diff.org
250-xxx.diff.org Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-ETRN
250-AUTH LOGIN
250-DELIVERBY
250 HELP
>>> MAIL From:<fer@...> SIZE=46 AUTH=fer@...
250 2.1.0 <fer@...>... Sender ok
>>> RCPT To:<prova@...>
>>> DATA
451 4.7.1 Greylisting in action, please come back in 00:20:00
prova@ziopeppone49.it... Deferred: 451 4.7.1 Greylisting in action,
please come back in 00:20:00
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 xxx.diff.org closing connection

When I start milter-greylist I've seen a list like as:
Starting miltergreylist.
register acl last GREYLIST
load acl net 127.0.0.1/255.255.255.255
register acl last WHITELIST
load acl net 127.0.0.0/255.0.0.0
register acl last WHITELIST
load acl net 66.249.82.0/255.255.255.0
register acl last WHITELIST
load acl net 213.92.5.0/255.255.255.0

I suppose that you append each addr/mask at the end of the acl
whitelist. Is it right?

Tonight I've tried to dig in the source code and I've placed syslog()
in acl.c:filter at line 442 (milter-greylist version 2.0.1) and I've
discovered that acl->a_addr is always NULL.
I'm not sure that it's right this.

I was expecting that TAILQ_FOREACH(acl, &acl_head, a_list)
make a cicle for each node of the acl whitelist instead it seems only
check one single node.

I'm using greylist on FreeBSD 4.11.


Best regards,            \fer

Attachments

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.