<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Le 10.03.2009 09:59, Stefan Schmidt a écrit :<br>
<blockquote cite="mid:200903100959.22299.listreader@jsj.dyndns.org"
type="cite">
<pre wrap="">Nice thing, but just out of curiosity, why don't you use postfix'
recipient verification mechanism?
In smtp_recipient_restrictions add reject_unverified_recipient at a
reasonable position in these restrictions. Everything else
automagically happens.
</pre>
</blockquote>
Thanks for asking. In the "Postfix Address Verification Howto"
(<a class="moz-txt-link-freetext" href="http://www.postfix.org/ADDRESS_VERIFICATION_README.html">http://www.postfix.org/ADDRESS_VERIFICATION_README.html</a>) it says that:<br>
<br>
"<i>A Postfix MTA verifies a sender or recipient address by probing
the nearest
MTA for that address, without actually delivering mail. The nearest
MTA could be the Postfix MTA itself, or it could be a remote MTA
(SMTP
interruptus). Probe messages are like normal mail, except that
they are never delivered, deferred or bounced; probe messages are
always discarded.</i>"<br>
<br>
This is a very heavyweight process, especially if we have the Cyrus
database at hand :) So I think that looking up an entry in a hash map
is much faster and doesn't involve any SMTP/LMTP connection.<br>
<br>
And if the Postfix relay and the Cyrus database are not on the same
physical computer, and someone's interested, I can extend my little
tool to use a network connection to fetch the user database.<br>
<br>
Best regards<br>
<pre class="moz-signature" cols="72">--
Farzad FARID / Architecte Open Source - Associé
Pragmatic Source / <a class="moz-txt-link-freetext" href="http://www.pragmatic-source.com">http://www.pragmatic-source.com</a>
Tel : +33 9 53 19 21 90 / Mob : +33 6 03 70 65 46
</pre>
</body>
</html>