Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375649 - net-mail/mailman - vhost support
Summary: net-mail/mailman - vhost support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 13:31 UTC by Jaco Kroon
Modified: 2019-01-27 15:47 UTC (History)
2 users (show)

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


Attachments
mailman-2.1.13-vhosts.patch (mailman-2.1.13-vhosts.patch,5.60 KB, patch)
2011-07-19 13:33 UTC, Jaco Kroon
Details | Diff
mailman-2.1.14-vhosts.patch (mailman-2.1.14-vhosts.patch,5.73 KB, patch)
2011-07-19 14:05 UTC, Jaco Kroon
Details | Diff
mailman-2.1.14-vhosts.patch (mailman-2.1.14-vhosts.patch,5.73 KB, patch)
2011-08-25 14:23 UTC, Jaco Kroon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2011-07-19 13:31:50 UTC
I'm about to attach a patch that adds some virtual host support to mailman.  It's not perfect by a longshot but so far works for me.

Reproducible: Always
Comment 1 Jaco Kroon 2011-07-19 13:33:55 UTC
Created attachment 280363 [details, diff]
mailman-2.1.13-vhosts.patch

patch version number is 2.1.13 but applies cleanly to 2.1.14.

Basically mailing list names are now of the format listname-hostname and is based on a patch originally used on some variation of virtualmin (been using it since 2.1.9 and been adjusting ever since).

I still USE-flag protect from accidental use due to most people not wanting this patch.
Comment 2 Jaco Kroon 2011-07-19 14:05:39 UTC
Created attachment 280367 [details, diff]
mailman-2.1.14-vhosts.patch

Turns out a minor change was required for it to actually work, not sure how I missed that.

Code in src_unpack:

        if use mailvhosts; then
                epatch "${FILESDIR}/${PN}-2.1.14-vhosts.patch" || die "patch failed."
        fi

I suggest adding an || die to the line just before (ldflags) which is missing.
Comment 3 Jaco Kroon 2011-08-25 14:23:52 UTC
Created attachment 284639 [details, diff]
mailman-2.1.14-vhosts.patch

Fixed a minor bug when using bin/config_list to import a list config on a rename from on vhost to another.
Comment 4 Hanno Böck gentoo-dev 2019-01-27 15:47:39 UTC
We won't support an out of tree patch.

I'm aware this is a very old bug, but if you're still interested please try working with upstream.