Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] poll about urlchecks

2007-04-18 by Oliver Fromme

manu@... wrote:
 > Oliver Fromme wrote:
 > 
 > > Just a quick question (not related to the poll):  Does
 > > milter-greylist support calling a local executable for
 > > checking, as a more efficient replacement for urlcheck?
 > 
 > If you call a local executable, you fork a process on each query.

Not necessarily.  A single process could handle multiple
queries (i.e. read one query from stdin, write result to
stdout), and it only needs to be restarted if it terminates
for some reason.

 > I'm not sure it's more efficient.

Performing HTTP requests with all of the overhead of a
webserver (Apache or whatever) plus CGI or PHP script is
_definitely_ less efficient.

 > urlcheck relies on curl to perform the query, so you can query any URL
 > supported by CURL. I guess you can use a telnet URL against a local
 > executable launched by inetd.

Uhm, that wouldn't be very efficient either.  :-)

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Gesch\ufffdftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M\ufffdn-
chen, HRB 125758,  Gesch\ufffdftsf\ufffdhrer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.

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.