On Tue, Mar 06, 2012 at 04:26:09PM -0500, Ben Rosengart wrote:
> 
> Apologies.  I'm thinking parts of this over and if I reanimate the
> thread, I will be sure to provide full context.

Let me try this again.

I want to rewrite *sender addresses* (preferably headers only) when
these conditions are _all_ met:

  1. Client is not in an ACL,
  2. Sender matches a particular LDAP filter, or isn't in LDAP, _AND_
  3. Recipient is in $relay_domains.

After squinting at this from different angles, my current thinking is
that this is outside what Postfix is intended for, and it should be
implemented in a milter -- if at all.  What's annoying about doing it
as a milter is that Postfix already knows how to determine all these
things; only the glue language is missing.

Thanks,
-- 
  Ben Rosengart           "Like all those possessing a library,
  Sendmail, Inc.           Aurelian was aware that he was guilty of
  +1 718 431 3822          not knowing his in its entirety [...]"
                                      -- Jorge Luis Borges

NOTICE: If received in error, please destroy and notify sender.
Sender does not waive confidentiality or privilege, and use is prohibited.

Reply via email to