Package: postgrey
Version: 1.21-1

I have been testing the postgrey system out on my mail system. At the moment I
am only having the postgrey server return "warn," but still give the sending
MTA a 250 OK in order to test the systems results. I also, have
auto-whitelisting disabled. In the testing process, I have been messing around
with the whitelist_clients, because I wanted to whitelist some of the larger
ISPs mail server pools. I added these to the whitelist_clients file:

# Private Whitelist
mx.aol.com
groups.yahoo.com
mail.yahoo.com

Then I performed /etc/init.d/postgrey reload with the expectation that this
would cause postgrey to recognize my changes. Next I was going to add a regex
to whitelist RoadRunner's servers (rr.com), but I noticed that there already
was one. However, this didn't make sense as I was clearly getting greylist
results for rr.com:

1152638539 server postfix/smtpd[18524]: NOQUEUE: warn: RCPT from
ms-smtp-03.nyroc.rr.com[24.24.2.57]: Tempfail;
from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP
helo=<ms-smtp-03.nyroc.rr.com>

At first I thought there might be a problem with the format of the regex, but I
was able to parse the logs with it no problem. Next I noticed that AOL's
servers were still being subjected to whitelisting. I removed all of my entries
to see if something that I had added was causing the rest of the whitelist to
fail and performed the reload. That didn't work. I tried just adding the host
rr.com and performing a reload, but that didn't work either. I reenabled the
auto-whitelisting feature just in case that had something to do with it, but
that didn't help. I upgraded to 1.25-1 to see if the bug had been fixed, but
that didn't help either. The I put all of my entiries back and performed an
/etc/init.d/postgrey stop/start. All of a sudden the whitelist started working
again. Somewhere along the line postgrey does not grab the whitelist_clients
file correctly when doing a reload or force-reload.

In further testing, I can perform /etc/init.d/postgrey reload when there are no
changes to the whitelist_clients file and it keeps working (if this helps track
down the issue).

Thanks for looking into this.

Cordially,
Lee

Reply via email to