Alexander Lazic writes:
Hi,On Mit 05.04.2006 03:02, Sander Holthaus wrote:Josh Grebe wrote:Hello, I have been comtemplating writing a pre-DATA hook into courier to allow for more efficient greylisting. I guess it would actually hook into the RCPT TO: handler. The biggest problem with the current method (in my opinion) is that it runs so late in the process, after having already recieved the message. It also uses hashes of the entire message, which seems to me to be a level of paranoia that will cause more problems than solve.That is an interesting idea. A pre-DATA filter would indeed allow much more efficient greylisting as well as doing call-backs before acceptence. As for the md-5 hashes, I'm not sure about those. They can cause some extra problems, but you could solve those by using a fuzzy signature such as Nilsimsa. You can also just hash the message-body, which should always stay the same (?).How about to add -greylist to couriertcpd such as -block. My opinion is that this is the right point, isn't it?
No. couriertcpd's job is to only accept network connections. couriertcpd is protocol-independent, and has no idea if the connection will be an SMTP, IMAP, or a POP3 connection.
pgpGrxfvMWlLq.pgp
Description: PGP signature
