Qmail
[Top] [All Lists]

Re: patch for tcpserver

To: qmail@list.cr.yp.to
Subject: Re: patch for tcpserver
From: John Levine <johnl@iecc.com>
Date: 26 Mar 2007 03:15:16 -0000
Cc: kyle-qmail@memoryhole.net
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <20070326012438.GO5144@aleut.local>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
Organization:
>> I have a greylist application with a little perl server that answers 
>> UDP requests from qmail-smtpd. ...
>
>Eh? I don't follow; why would using the FS to communicate that info 
>require moving the code into qmail-smtpd?

My greylister uses (IP, from, to) to recognize a retry, and then
whitelists the IP.  The code that collects the from and to addresses
is in qmail-smtpd.  I suppose you could break it in half and put a
shim in between or fork and run some other program to do the greylist
check, but those both seem slow and clumsy compared to what I do with
a UDP transaction.  I have three smtp servers sharing the same greylist,
all using UDP to talk to the same greylist server.

R's,
John


<Prev in Thread] Current Thread [Next in Thread>