Viktor Dukhovni: > For local submission, virtual_mailbox_maps is not checked until > the mail gets to the delivery agent. Only virtual alias domains > have recipient validation done by the queue manager (via > trivial-rewrite).
Perhaps more of the SMTP server's "recipient valid" check could be done in the trivial-rewrite "resolve" service. This would add one query after the recipient address class is determined, to query the "valid recipient" tables for that address class. Then, those queries in the SMTP daemon could replaced with a "resolve address" call whose results are already cached in the SMTP server process. Wietse