On Thu, Mar 08, 2012 at 07:06:25PM -0500, Wietse Venema wrote:
> > On Tue, Mar 06, 2012 at 04:26:09PM -0500, Ben Rosengart wrote:
> >
> > 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.
> >
> > [...] this is outside what Postfix is intended for, and it should be
> > implemented in a milter [...]
>
> Exactly.
I am wondering, though, how to handle the case where recipients are
a mix of internal and external. This seems like an area where Postfix
might supply some leverage.
If, upstream, I separate the recipients into different transports,
will this cause the upstream Postfix to "split the envelope" and send
the mail in >1 transaction, even though both transports are implemented
with smtp(8) and the nexthop is the same?
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.