Changeset 1452 for trunk/server/fedora


Ignore:
Timestamp:
Jan 30, 2010, 7:30:45 PM (14 years ago)
Author:
mitchb
Message:
Speed up postfix acceptance of mail to foo@scripts.mit.edu

Postfix does virtual alias expansion on *all* addresses, both
virtual/remote and local, which means that even mail to a
normal scripts user will be looked up in not only the regular
aliases file, but the virtual maps we set up.  If we don't
match those addresses in either the hashed virtual file or
the regexp virtual file, then an LDAP query will occur instead
of quickly accepting the RCPT address.  Short-circuit that
by matching *@scripts.mit.edu as a regexp and mapping it with
no change.  If we rewrite it as the unqualified user, then
a recursive virtual match happens (all virtual rewrites are
subject to recursive matching).  Simple, eh?
File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.