I'm running Postfix 3.5.6, and in the process of replacing GNU Mailman
2.1.33 (which is EOL) with Sympa 6.2.56.  I have everything working,
finally, EXCEPT that Postfix cannot deliver to Postfix lists.

I've made Sympa's queue directory group-writeable by Postfix and all of
its maps group-readable.  The following are all relevant postfix
configuration variables that mention either mailman or Sympa:

local_recipient_maps =      unix:passwd.byname
                            $alias_maps

alias_maps =                lmdb:/etc/postfix/aliases
                            lmdb:/var/lib/mailman/data/aliases
                            hash:/etc/sympa/sympa_aliases

alias_database =            lmdb:/etc/postfix/aliases
                            lmdb:/var/lib/mailman/data/aliases
                            hash:/etc/sympa/sympa_aliases

transport_maps =            lmdb:/etc/postfix/transport
                            hash:/etc/sympa/transport.sympa
                            hash:/etc/sympa/sympa_transport

relay_recipient_maps =      lmdb:/etc/postfix/relay_recipients

virtual_alias_maps =        hash:/etc/sympa/virtual.sympa

virtual_mailbox_domains =   hash:/etc/sympa/transport.sympa

virtual_mailbox_maps =      hash:/etc/sympa/transport.sympa
                            hash:/etc/sympa/sympa_transport
                            hash:/etc/sympa/virtual.sympa


Here's the contents of /etc/sympa/sympa_aliases:

#--- caerllewys-t...@caerllewys.net: list transport map created at 02
Nov 2020
caerllewys-t...@caerllewys.net sympa:caerllewys-t...@caerllewys.net
caerllewys-test-requ...@caerllewys.net
sympa:caerllewys-test-requ...@caerllewys.net
caerllewys-test-edi...@caerllewys.net
sympa:caerllewys-test-edi...@caerllewys.net
caerllewys-test-subscr...@caerllewys.net
sympa:caerllewys-test-subscr...@caerllewys.net
caerllewys-test-unsubscr...@caerllewys.net
sympa:caerllewys-test-unsubscr...@caerllewys.net
caerllewys-test-ow...@caerllewys.net
sympabounce:caerllewys-t...@caerllewys.net


Here's the sympa: service definitions from master.cf:

sympa   unix    -       n       n       -       -       pipe
   flags=hqRu null_sender= user=sympa argv=/usr/libexec/sympa/queue
${nexthop}
sympabounce unix -      n       n       -       -       pipe
  flags=hqRu null_sender= user=sympa argv=/usr/libexec/sympa/bouncequeue
${nexthop}


But when I try to sent a terst message to my test list, Postfix reports:

<caerllewys-t...@caerllewys.net>: unknown user: "caerllewys-test"

And when I run newaliases:

minbar:root:/etc/sympa:55 # newaliases
postalias: warning: /etc/sympa/sympa_aliases, line 2: name must be local
postalias: warning: /etc/sympa/sympa_aliases, line 3: name must be local
postalias: warning: /etc/sympa/sympa_aliases, line 4: name must be local
postalias: warning: /etc/sympa/sympa_aliases, line 5: name must be local
postalias: warning: /etc/sympa/sympa_aliases, line 6: name must be local
postalias: warning: /etc/sympa/sympa_aliases, line 7: name must be local


Clearly I have something misconfigured, but it is not obvious to me
what.  Can anyone point out my error?

sympa_transport, transport.sympa, and virtual.sympa are empty.  Could
this be the cause of my problem?


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958

Reply via email to