Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73481 - Missing steps in mailman setup for virtual Postfix setup, and virtual_mailman not configured properly
Summary: Missing steps in mailman setup for virtual Postfix setup, and virtual_mailman...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-05 13:43 UTC by Homer Parker (RETIRED)
Modified: 2005-03-05 04:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Homer Parker (RETIRED) gentoo-dev 2004-12-05 13:43:04 UTC
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.
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-12-05 15:02:41 UTC
reporter, is this report for the mailman package or the Gentoo virtual mailhosting guide?
Comment 2 Homer Parker (RETIRED) gentoo-dev 2004-12-05 16:11:14 UTC
The mailman package.
Comment 3 Tuan Van (RETIRED) gentoo-dev 2004-12-05 16:31:17 UTC
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.
Comment 4 Homer Parker (RETIRED) gentoo-dev 2004-12-05 17:15:50 UTC
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.
Comment 5 Tuan Van (RETIRED) gentoo-dev 2004-12-05 19:07:41 UTC
/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
Comment 6 Homer Parker (RETIRED) gentoo-dev 2004-12-05 21:35:12 UTC
Yes there are, but they don't cover the points I brought up.
Comment 7 Tuan Van (RETIRED) gentoo-dev 2004-12-05 22:27:23 UTC
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
Comment 8 Homer Parker (RETIRED) gentoo-dev 2004-12-06 08:49:52 UTC
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!
Comment 9 Fernando J. Pereda (RETIRED) gentoo-dev 2005-03-05 04:38:56 UTC
This wasn't a bug really.

Cheers,
Ferdy