VERIFY(8postfix)

πŸ“¦ version 3.8.6, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– 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:

  • update address status text β€” updates the status and text of the specified address.
  • query address β€” 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 between verify(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 the relayhost parameter setting for address verification probes.
  • address_verify_transport_maps ($transport_maps) β€” overrides the transport_maps parameter setting for address verification probes.
  • address_verify_local_transport ($local_transport) β€” overrides the local_transport parameter setting for address verification probes.
  • address_verify_virtual_transport ($virtual_transport) β€” overrides the virtual_transport parameter setting for address verification probes.
  • address_verify_relay_transport ($relay_transport) β€” overrides the relay_transport parameter setting for address verification probes.
  • address_verify_default_transport ($default_transport) β€” overrides the default_transport parameter setting for address verification probes.

available in Postfix 2.3 and later:

  • address_verify_sender_dependent_relayhost_maps ($sender_dependent_relayhost_maps) β€” overrides the sender_dependent_relayhost_maps parameter 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 the sender_dependent_default_transport_maps parameter 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 Postfix main.cf and master.cf configuration 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) β€” the master.cf service name of a Postfix daemon process.

✨ SEE ALSO ✨


✨ 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