Charlie Brady wrote:
> On Mon, 22 Mar 2004, Matt Sergeant wrote:
>
>> It probably has to be re-written with locking (though I haven't read
>> the code for the plugin - does it lock?)
>
> Yes, it does lock. I didn't check that it will always remove the lock.
> Behaviour probably depends on which form of the command is run - Sam,
> are you using select server, or running under tcpserver?

Tcpserver.  I have no experience with select server.


> I note that it returns DECLINED on various failure conditions.
> Shouldn't that be DENYSOFT (so admin has a chance to fix the problem)?
>

Unless I am mistaken, this DECLINED is just the syntax for the plugin to
terminate without doing anything.


>> It also seems that there are a few legitimate mail servers out there that
do
>> not queue and retry on the DENYSOFT.

> That sounds like a definition of "legitimate" which I'm not familiar
with:-)

By legitimate mail servers, one of these is my customer that is running (I'm
pretty sure) Lotus Notes.  She is the customer that was "stuck" until I
deleted the .dbm. Another was a customer of hers in Germany trying to send
to her. After two attempts, the German customer faxed the info to her, and
did not try again.


>> A couple of instances of customers having immediate denials returned to
>> them, ...

> Do you have copies of the bounces?

The bounce is not really a bounce message generated by my mailserver.  It
may have come to her as a bounce from her Lotus Notes, or as an error notice
that the mail was not deliverable because of "This mail is temporarily
denied".  I don't know the exact message from the German customer. The logs
showed the DENYSOFT 8 minutes apart for the German customer at 5AM or 6AM
this morning.  I had the blacklist-time set to 10 minutes then.

Here is a paste of parts of my log, edited for space considerations.  On
message 16306, I left in about anything somebody might want to see, and just
show the relevant lines on the following messages.  You can see that it
"initial DENYSOFT" a few times. Then after deleting the dbm, it went through
like it should.


2004-03-22 14:06:11.376379500 tcpserver: pid 16306 from 205.153.245.74
2004-03-22 14:06:11.382508500 tcpserver: ok 16306
nospam1.tri.net:205.153.246.173:25 gw-repco.sasnak.net:205.153.245.74::32227
2004-03-22 14:06:27.467172500 16306 250-nospam2.tri.net Hi
gw-repco.sasnak.net [205.153.245.74]
.....
2004-03-22 14:06:27.767254500 16306 running plugin  denysoft_greylist
2004-03-22 14:06:27.767980500 16306 denysoft_greylist plugin: using
./config/denysoft_greylist.dbm as greylisting database
2004-03-22 14:06:28.291187500 16306 denysoft_greylist plugin: key
205.153.245.74 initial DENYSOFT, unknown
2004-03-22 14:06:28.291999500 16306 denysoft mail from
[EMAIL PROTECTED] (This mail is temporarily denied)
2004-03-22 14:06:28.292220500 16306 450 This mail is temporarily denied
2004-03-22 14:06:28.292722500 16306 dispatching RCPT TO:<[EMAIL PROTECTED]>
2004-03-22 14:06:28.293225500 16306 503 Use MAIL before RCPT
2004-03-22 14:06:28.293500500 16306 dispatching DATA
2004-03-22 14:06:28.293867500 16306 503 MAIL first
2004-03-22 14:06:28.328542500 16306 dispatching RSET
2004-03-22 14:06:28.329204500 16306 250 OK
2004-03-22 14:06:28.350679500 16306 dispatching QUIT
2004-03-22 14:06:28.351390500 16306 221 nospam2.tri.net closing connection.
Have a wonderful day.
2004-03-22 14:06:28.351833500 16306 running plugin  dnsbl
2004-03-22 14:06:28.364678500 tcpserver: end 16306 status 0

2004-03-22 14:07:06.274111500 tcpserver: pid 16452 from 205.153.245.74
2004-03-22 14:07:06.274117500 tcpserver: ok 16452
nospam1.tri.net:205.153.246.173:25 gw-repco.sasnak.net:205.153.245.74::32229
2004-03-22 14:07:16.454139500 16452 250-nospam2.tri.net Hi
gw-repco.sasnak.net [205.153.245.74]
2004-03-22 14:07:17.179841500 16452 denysoft_greylist plugin: key
205.153.245.74 initial DENYSOFT, unknown

********The .dbm file was deleted here.  The blacklist-time was lowered to 2
minutes prior to this ************

2004-03-22 14:11:50.103069500 tcpserver: pid 17117 from 205.153.245.74
2004-03-22 14:11:50.187730500 tcpserver: ok 17117
nospam1.tri.net:205.153.246.173:25 gw-repco.sasnak.net:205.153.245.74::32458
2004-03-22 14:11:58.618641500 17117 250-nospam2.tri.net Hi
gw-repco.sasnak.net [205.153.245.74]
2004-03-22 14:11:58.918096500 17117 denysoft_greylist plugin: key
205.153.245.74 initial DENYSOFT, unknown

2004-03-22 14:12:11.892324500 tcpserver: pid 17164 from 205.153.245.74
2004-03-22 14:12:11.898545500 tcpserver: ok 17164
nospam1.tri.net:205.153.246.173:25 gw-repco.sasnak.net:205.153.245.74::32459
2004-03-22 14:12:31.602141500 17164 250-nospam2.tri.net Hi
gw-repco.sasnak.net [205.153.245.74]
2004-03-22 14:12:31.861417500 17164 denysoft_greylist plugin: key
205.153.245.74 black DENYSOFT - 1 failed connections

2004-03-22 14:14:07.723228500 tcpserver: pid 17393 from 205.153.245.74
2004-03-22 14:14:07.729601500 tcpserver: ok 17393
nospam1.tri.net:205.153.246.173:25 gw-repco.sasnak.net:205.153.245.74::32576
2004-03-22 14:14:18.063853500 17393 250-nospam2.tri.net Hi
gw-repco.sasnak.net [205.153.245.74]
2004-03-22 14:14:18.363495500 17393 denysoft_greylist plugin: key
205.153.245.74 updated grey->white

Sorry about the length, just trying to be thorough.
Thanks,

Sam


Reply via email to