VERIFY(8postfix)
π VERIFY π
okay so bestie, welcome to verify(8postfix) β the Postfix address verification server. yes it's a whole manual page, yes i read all of it, yes we're doing this together. grab a snack π
β¨ NAME β¨
verify β the Postfix address verification server π
β¨ SYNOPSIS β¨
verify [generic Postfix daemon options]
β¨ DESCRIPTION β¨
so the verify(8) address verification server keeps a whole little receipt book π of which recipient addresses are known to be deliverable and which ones are undeliverable. main character record-keeping honestly.
how does it check? it injects probe messages into the Postfix queue. those probe messages get run through literally all the routing and rewriting machinery β everything β except final delivery. and then they get discarded instead of being deferred or bounced. no mess, no drama, they just vibe and disappear β¨
important thing though: address verification relies on the answer from the nearest MTA for the specified address. so it will therefore not detect all undeliverable addresses. like it's doing its best but it's not omniscient, okay π
the verify(8) server is designed to run under control by the Postfix master server. it maintains an optional persistent database. and to avoid being interrupted by "postfix stop" in the middle of a database update, the process runs in a separate process group. boundaries! we love them π
the verify(8) server implements the following requests:
updateaddress status text β updates the status and text of the specified address.queryaddress β looks up the status and text for the specified address. if the status is unknown, a probe is sent and an"in progress"status is returned. it's giving "we'll get back to you bestie" π«Ά
β¨ SECURITY β¨
the address verification server is not security-sensitive. it does not talk to the network, and it does not talk to local users. so the verify server can run chrooted at fixed low privilege. lowkey a peaceful life πΈ
but heads up β the address verification server can be coerced to store unlimited amounts of garbage. limiting the cache expiry time trades one problem (disk space exhaustion) for another one (poor response time to client requests). pick your poison, bestie π
with Postfix version 2.5 and later, the verify(8) server no longer uses root privileges when opening the address_verify_map cache file. the file should now be stored under the Postfix-owned data_directory. as a migration aid, an attempt to open a cache file under a non-Postfix directory is redirected to the Postfix-owned data_directory, and a warning is logged. it's basically the server going "no <3 wrong folder" and putting it where it belongs π
β¨ DIAGNOSTICS β¨
problems and transactions are logged to syslogd(8) or postlogd(8). receipts everywhere, we stay informed β¨
β¨ BUGS β¨
okay listen, real talk:
- address verification probe messages add additional traffic to the mail queue.
- recipient verification may cause an increased load on down-stream servers in the case of a dictionary attack or a flood of backscatter bounces.
- sender address verification may cause your site to be denylisted by some providers. π not the denylist.
and the big one:
if the persistent database ever gets corrupted then the world comes to an end and human intervention is needed. this violates a basic Postfix principle. fr fr. the apocalypse, but for your mail cache π
β¨ CONFIGURATION PARAMETERS β¨
changes to main.cf are not picked up automatically, because verify(8) processes are long-lived. use the command "postfix reload" after a configuration change. it's not a mind reader bestie, you gotta tell it π
the text below provides only a parameter summary. see postconf(5) for more details including examples.
π PROBE MESSAGE CONTROLS π
address_verify_sender($double_bounce_sender) β the sender address to use in address verification probes; prior to Postfix 2.5 the default was"postmaster".
available with Postfix 2.9 and later:
address_verify_sender_ttl(0s) β the time between changes in the time-dependent portion of address verification probe sender addresses.
π CACHE CONTROLS π
address_verify_map(see'postconf -d'output) β lookup table for persistent address verification status storage.address_verify_positive_expire_time(31d) β the time after which a successful probe expires from the address verification cache.address_verify_positive_refresh_time(7d) β the time after which a successful address verification probe needs to be refreshed.address_verify_negative_cache(yes) β enable caching of failed address verification probe results.address_verify_negative_expire_time(3d) β the time after which a failed probe expires from the address verification cache.address_verify_negative_refresh_time(3h) β the time after which a failed address verification probe needs to be refreshed.
available with Postfix 2.7 and later:
address_verify_cache_cleanup_interval(12h) β the amount of time betweenverify(8)address verification database cleanup runs. spring cleaning but for your cache π§
π PROBE MESSAGE ROUTING CONTROLS π
by default, probe messages are delivered via the same route as regular messages. the following parameters can be used to override specific message routing mechanisms:
address_verify_relayhost($relayhost) β overrides therelayhostparameter setting for address verification probes.address_verify_transport_maps($transport_maps) β overrides thetransport_mapsparameter setting for address verification probes.address_verify_local_transport($local_transport) β overrides thelocal_transportparameter setting for address verification probes.address_verify_virtual_transport($virtual_transport) β overrides thevirtual_transportparameter setting for address verification probes.address_verify_relay_transport($relay_transport) β overrides therelay_transportparameter setting for address verification probes.address_verify_default_transport($default_transport) β overrides thedefault_transportparameter setting for address verification probes.
available in Postfix 2.3 and later:
address_verify_sender_dependent_relayhost_maps($sender_dependent_relayhost_maps) β overrides thesender_dependent_relayhost_mapsparameter setting for address verification probes.
available in Postfix 2.7 and later:
address_verify_sender_dependent_default_transport_maps($sender_dependent_default_transport_maps) β overrides thesender_dependent_default_transport_mapsparameter setting for address verification probes.
π SMTPUTF8 CONTROLS π
preliminary SMTPUTF8 support is introduced with Postfix 3.0.
smtputf8_autodetect_classes(sendmail, verify) β detect that a message requires SMTPUTF8 support for the specified mail origin classes.
available in Postfix version 3.2 and later:
enable_idna2003_compatibility(no) β enable'transitional'compatibility between IDNA2003 and IDNA2008, when converting UTF-8 domain names to/from the ASCII form that is used for DNS lookups.
π MISCELLANEOUS CONTROLS π
config_directory(see'postconf -d'output) β the default location of the Postfixmain.cfandmaster.cfconfiguration files.daemon_timeout(18000s) β how much time a Postfix daemon process may take to handle a request before it is terminated by a built-in watchdog timer. π the timer is watching.ipc_timeout(3600s) β the time limit for sending or receiving information over an internal communication channel.process_id(read-only) β the process ID of a Postfix command or daemon process.process_name(read-only) β the process name of a Postfix command or daemon process.queue_directory(see'postconf -d'output) β the location of the Postfix top-level queue directory.syslog_facility(mail) β the syslog facility of Postfix logging.syslog_name(see'postconf -d'output) β a prefix that is prepended to the process name in syslog records, so that, for example,"smtpd"becomes"prefix/smtpd".
available in Postfix 3.3 and later:
service_name(read-only) β themaster.cfservice name of a Postfix daemon process.
β¨ SEE ALSO β¨
smtpd(8), Postfix SMTP servercleanup(8), enqueue Postfix messagepostconf(5), configuration parameterspostlogd(8), Postfix loggingsyslogd(8), system logging
β¨ README FILES β¨
use "postconf readme_directory" or "postconf html_directory" to locate this information.
ADDRESS_VERIFICATION_README, address verification howto π
β¨ LICENSE β¨
the Secure Mailer license must be distributed with this software.
β¨ HISTORY β¨
this service was introduced with Postfix version 2.1. a true OG π°οΈ
β¨ AUTHOR(S) β¨
Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA
Wietse Venema Google, Inc. 111 8th Avenue New York, NY 10011, USA
and that's the whole thing bestie, every single flag, default, path and warning preserved, no cap π
thanks for reading all the way to the bottom, that's verify(8postfix) energy and it's iconic. bye pookie π¦π
π¦ where this page comes from
- debian bookworm: postfix 3.7.11-0+deb12u1
- ubuntu jammy: postfix 3.6.4-1ubuntu1
- ubuntu jammy: postfix 3.6.4-1ubuntu1.4
- ubuntu noble: postfix 3.8.6-1build2
- ubuntu noble: postfix 3.8.6-1ubuntu0.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms