With a totallly virtual setup with Postfix, the virtual_mailman is incomplete. I had to add @local.machine.name to it, and also list /usr/local/mailman/data/aliases in alias_maps in main.cf Reproducible: Always Steps to Reproduce: 1. 2. 3.
reporter, is this report for the mailman package or the Gentoo virtual mailhosting guide?
The mailman package.
are you refer to this file: /usr/local/mailman/data/virtual-mailman # This file is generated by Mailman, and is kept in sync with the binary hash # file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you # know what you're doing, and can keep the two files properly in sync. If you # screw it up, you're on your own. # # Note that you should already have this virtual domain set up properly in # your Postfix installation. See README.POSTFIX for details. as for main.cf, mailman should not touch postfix config file.
Correct, it wouldn't work till I added "@localhost.domain.com" (which I had in /etc/hosts for other reasons) to the RHS of that config file. As for aliases, I think it should at least be docummented to add that to main.cf.
/usr/local/mailman/data/virtual-mailman generated by bin/newlist your_list_name, you shoundn't have to edit it by hand. If you do custom config, you are on your own then. /usr/share/doc/mailman-2.1.5-r2/README.POSTFIX.gz instruct you how to change main.cf to work with postfix. There are some instructions documented in /usr/share/doc/mailman-2.1.5-r2/README.gentoo.gz
Yes there are, but they don't cover the points I brought up.
again: 1. su - mailman; bin/newlist taking care of adding @localhost.domain.com to /usr/local/mailman/data/virtual-mailman 2. quoted from /usr/share/doc/mailman-2.1.5-r2/README.POSTFIX.gz You probably want to use a hash: style database for this entry. Here's an example: alias_maps = hash:/etc/postfix/aliases, hash:/usr/local/mailman/data/aliases
Ok, I did later find that in the README, I'll have to play with the newlist command again, as the virtual_mailman I ended up with didn't have the domain on the RHS. Thanks for the help!
This wasn't a bug really. Cheers, Ferdy