Kristof Bajnok:
> On 01/03/2013 12:50 PM, Bastian Blank wrote:
> >> 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.

You should not need a policy script for this. To validate an RCPT
TO address, it's sufficient to have a virtual alias. You can use
the ldap_table(5) domain feature to limit the queries.

        Wietse

Reply via email to