G'day all,
I am trying to setup mailman on my linux server running postfix and virtual host integration. So far I have updated main.cf to include:
alias_database = hash:/etc/mail/aliases, hash:/var/lib/mailman/data/aliases alias_maps = hash:/etc/mail/aliases, hash:/var/lib/mailman/data/aliases virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf, hash:/var/lib/mailman/data/virtual-mailman
Ran genaliases to create /var/lib/mailman/data/aliases and /var/lib/mailman/data/virtual-mailman which seem to contain the correct settings
However emails to mailmain@domain and list-staff@domain are bounced with unknown user:
Feb 17 22:01:32 tinyturtle postfix/virtual[1404]: 5F4DE460402: to=<mailman@XXX.com>, relay=virtual, delay=0.12, delays=0.04/0/0/0.09, dsn=5.1.1, status=bounced (unknown user: "mailman@XXX.com") Feb 17 22:06:18 tinyturtle postfix/virtual[1731]: 3D12D460402: to=<list-staff@XXX.com>, relay=virtual, delay=0.08, delays=0.03/0.01/0/0.04, dsn=5.1.1, status=bounced (unknown user: "list-staff@XXX.com")
Since postfix/virtual is doing the bouncing I am suspected that the mapping (virtual-mailman) was picked up, and that i cannot find the mapping in aliases, but I could be wrong here.
I have also run newaliases to ensure the local aliases are updated, but this did not resolve this issue.
Any pointers on what else to do, to help me debug my configuration.
Kind regards Alex