On Thu, Dec 05, 2024 at 04:49:45PM +0100, Tomasz Pala via Postfix-users wrote:
> According to man 5 virtual recursion can be terminated by aliasing to > itself, however office@ex.. is not a real account (the backup@ex.. is) > and we'd like to avoid having one (unless necessary). You can avoid recursion by using RHS values in the expansions of envelope recipient addresses that don't match any keys in the virtual alias table! Suppose each user (and the office mailbox) has two addresses: - Public primary: user@acme.example - Internal route: u...@mailstore.acme.example Mail to either address is delivered to the user, though your MTA could easily reject attempts to send mail to internal addresses from outside. Then your virtual aliases become office@acme.example us...@mailstore.acme.example, us...@mailstore.acme.example, ... ... also archive copies, ... The same approach applies everywhere else you don't want recursion. And I do recommend also considering/responding to Jaroslaw's questions, perhaps your design is needlessly elaborate and out of step with the actual requirements. Good luck. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org