Am 13.10.2014 um 11:45 schrieb Mike Cardwell:
Is there any way of asking Postfix if it thinks it is capable of
delivering a message to a particular email address, in real time?

With Exim installed, I could just do a
"sendmail -bv some.addr...@example.com" and check the exit code.
With Postfix installed, the exit code is always 0 and the result
of the lookup is emailed to me instead.

This functionality is very useful for doing "real time" email
address validation when email addresses are posted from web forms

you should avoid that for two reasons:

* automated form submits may lead in blacklisting because
  it results in a delivery attempt behind the scenes
  http://www.postfix.org/ADDRESS_VERIFICATION_README.html

* if your webserver is able to execute shell commands
  the setup is highly questionable

Reply via email to