Steffen Nurpmeso via Postfix-users:
> Steffen Nurpmeso wrote in
>  <20260501161007.Ke-AtUes@steffen%sdaoden.eu>:
>  |I have a problem with my mailing-lists that i thought to avoid by
>  |using address rewriting via virtual_aliases, like so:
>  |
>  |  virtual_alias_maps = regexp:$meta_directory/virtual_re
>  |
>  |  ./virtual_re:/^(s-mailx(.*))@sdaoden.eu/ ${1}@lists.sdaoden.eu
>  |
>  |(Note i realize just now the re is broken, but . should match .,
>  |so that should not be a problem, should it.)
>  |
>  |The idea was that if a mail goes to the .lists.-less variant, it
>  |automatically gets rewritten -- including avoiding double posts
>  |via the one _and_ the other.  But that does somehow not work, it
>  |is still possible to send to [email protected] without having
>  |that address become rewritten, and in fact two mails are sent out.
> 
> That is to say, if i test via "postmap -q" then the conversion
> takes place just as wanted, that is ok.
> But if a message really is sent to say (what happened)
> [email protected] in To: and X@Y in Cc:, then the message reaches all
> subscribers twice?  That is what i do not understand, and would be
> happy to hear a solution for.

(virtual)alias expansion happens after ${1}@lists.sdaoden.eu list
expansion.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to