[pfx] Avoiding message doubling via virtual aliases

Steffen Nurpmeso via Postfix-users <[email protected]> Fri, 01 May 2026 18:10:07 +0200
Newsgroups gmane.mail.postfix.user
Message-ID <20260501161007.Ke-AtUes@steffen%sdaoden.eu>
Hello.

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.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]