Wietse Venema via Postfix-users:
> Gerben Wierda via Postfix-users:
> > Aliases are nice, to receive mail. But when you reply, the address behind
> > the alias is exposed.
> >
> > To prevent that I need to create full mailboxes, which requires a lot of
> > administration in dovecot, postfix.
> >
> > Suppose
> > - I am [email protected]
> > - At evilcompany.com they know be by my alias [email protected]
> > - I am mailing with [email protected]
> >
> > Is there a way to create a lightweight 'reverse alias' for a specific
> > target. E.g., suppose my alias is
> >
> > meatevilcompany: me
> >
> > then have a mail from [email protected] to [email protected]
> > turn into a reply from [email protected] to
> > [email protected], but only for [email protected]
> > or for @evilcompany.com?
>
> This sounds like a job for one of:
>
> - A "real" DBMS with a custom queries for forward and reverse
> aliases/canonical mappings.
>
> - Custom automation that generates Postfix indexed files with forward
> and reverse aliases/canonical mappings.
>
> - A smart mail client with custom rules.
By the way, Postfix sender rewrites are independent from recipient,
so the first two options won't work.
I can add a fourth option, though.
- Custom Milter that rewrites sender envelopes and headers depending
on the recipient context. Milters can be implemented in many languages.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]