290370Re: Domain alias rewriting
- Jan 3 5:28 AMKristof Bajnok:
> On 01/03/2013 12:50 PM, Bastian Blank wrote:You should not need a policy script for this. To validate an RCPT
> >> My other question was going to be how I could verify the 'alias' address
> >> in RCPT stage (a wildcard virtual_alias_maps entry prevents this),
> > How do you get your user information?
> LDAP, no local users. LDIF attached.
> Currently, a custom policy script (domainalias-aware) verifies the
> recipient in LDAP, then Postfix queries the LDAP again for possible SMTP
> forwards (virtual_alias_maps). If found, then forwards the message via
> SMTP, else if passes the message to the LMTP server.
TO address, it's sufficient to have a virtual alias. You can use
the ldap_table(5) domain feature to limit the queries.
- << Previous post in topic Next post in topic >>