Qmail
[Top] [All Lists]

Re: patch for tcpserver

To: qmail@list.cr.yp.to
Subject: Re: patch for tcpserver
From: Kyle Wheeler <kyle-qmail@memoryhole.net>
Date: Sun, 25 Mar 2007 09:43:52 -0600
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
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
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=H+2hLfL8wjk212EW9ya03JXd/pfwrDyPZ0lLLRYiPhmBUBm6/BcPXA+0+Xf6AUF9fxQxlOO/umXNCtRh7t0Jz5lDndzVfjGP5ugqLF+uB+/pgYmyOHm176nR0xk4H7brWd16d1z3COHMEbniyh0sNY5o5MIO9FAlSF7YoSU4t9Y= ;
Domainkey-status: good
In-reply-to: <46066975.90708@osb.att.ne.jp>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <4604B279.7050205@osb.att.ne.jp> <20070324173027.GA20702@discworld.dyndns.org> <46066975.90708@osb.att.ne.jp>
User-agent: Mutt/1.5.14 (2007-03-20)
On Sunday, March 25 at 09:22 PM, quoth Jun Inamori:
With 'UCSPI-TCP MySQL patch', the list of reliable IP address can be
passed from 'vpopmail' to 'tcpserver' through MySQL table, not:
  /etc/tcp.smtp.cdb
In other words, 'vpopmail' does not need to update:
  /etc/tcp.smtp.cdb
for every successful POP3 authentication.

In other words, it's a re-implementation of relay-ctrl that requires mysql?

With this patch, greylisting can be skipped for those reliable IP address.

And it's also a re-implementation of qgreylist?

In addition, the list of malicious IP address can be passed from
'vpopmail' to 'tcpserver' through MySQL table, not:
  /etc/tcp.smtp.cdb

What is the benefit of using MySQL? Normally adding a dependency on a large external piece of software for communicating a bit of information that small is considered a bad thing (well, wasteful and/or pointless, anyway) unless there's a significant other benefit.

Also, normally, you want your program that runs as root (read: tcpserver) to do as little as possible.

I mean, if the reason you want to patch software rather than wrapping software is that you're trying to avoid the "slowness" of an extra exec() call (I would question your reasoning there too, but at least it's a valid argument), why not patch qmail-smtpd to do this?

If POP3 authentication fails more than 2 times from the same IP address
within 2 minutes, 'tcpserver' thinks it as malicious IP address and
drops the connection.

In other words, never ever forget your password? Why does tcpserver know anything at all about the POP3 protocol?

~Kyle
--
Victory goes to the player who makes the next-to-last mistake.
                         -- Chessmaster Savielly Gricorievitch Tatrtak

Attachment: pgp8UUqsLRkIO.pgp
Description: PGP signature

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