[Mark]
On 10/6/23 09:49, Lars Bjørndal wrote:
To run mm 3 through Postfix, I use local_recipient_maps and transport_maps.
What I want to achieve, is alias medlem@list.saf-org.no to saf-medlem@list.saf-org.no
I tried to put
medlem@list.saf-org.no: saf-medlem@list.saf-org.no
and get the following error when running newaliases:
postalias: warning: /etc/aliases, line 231: name must be local
Is it possible to do this aliasing in a simple way?
If list.saf-org.no is a local domain, i.e. in mydestination, the alias would be
medlem: saf-medlem@list.saf-org.no
or more simply
medlem: saf-medlem
If list.saf-org.no is not a local domain it needs to be a Postfix virtual (alias or mailbox) domain and you need a virtual_alias_maps with an entry like
medlem@list.saf-org.no saf-medlem@list.saf-org.no
Thank you. One of my other domains is a virtual domain. According to https://wiki.list.org/DEV/LMTP%20process I tried to add hash:/opt/mailman3/mm//var/data/postfix_lmtp to virtual_alias_maps in Postfix's main.cf. When sending to testliste@rokaden.no, I get back an Undelivered Mail Returned to Sender message with <"lmtp:[127.0.0.1]:8024"@dalen.lamasti.net> (expanded from <testliste@rokaden.no>): unknown user: "lmtp:[127.0.0.1]:8024"
What's my problem here?
Thanks, Lars