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. >
beside postfix verify, http://www.postfix.org/ADDRESS_VERIFICATION_README.html you may use http://www.jetmore.org/john/code/swaks/ in a script to build a "table" with valid recipients i ve tested some stuff for other reasons https://sys4.de/de/blog/2014/03/02/recipient-verification-tls-mandatory-modus/ Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein