On Tue, Jun 16, 2009 at 11:37:30PM -0700, Rick Moen wrote:
> Greetings, good people. Problem summary: After server rebuild,
> virtual hosts work for SMTP, but Mailman's Web pages are appearing
> for the main host only and _not_ the virtual host.
[...]
> After some fussing about concerning exim4/mailman integration, I
> stumbled on details about POSTFIX_STYLE_VIRTUAL_DOMAINS and its use even
> with non-Postfix MTAs. (I put the required plumbing into
> /etc/exim4/conf.d/*. It works.) I did read the Debian folks'
> /usr/share/doc/mailman/README.Exim4.Debian , which includes in part:
I would not touch that. Even with the travesty that is Pkg-exim4, I
still use something along the lines (pretty much) of that per
<http://exim.org/howto/mailman21.html>
> Here's a way to integrate mailman with Exim4 that will automatically
> play nice with mailman's virtual domains support and VERP. It does not
> require dedicating domain(s) to mailman.
My kludges don't care about subdomains/"list only" domains.
> http://files.technomage.net/postfix_mailman.txt -- and, consequently,
> completed Exim integration by running /var/lib/mailman/bin/genaliases,
> and, lo! /var/lib/mailman/data/{aliases|virtual-mailman} came into
> existence, and Exim stopped generating errors. More important, the
> Exim/Mailman jointly [re-]started processing mail for the mailing lists
> within both domains. Life was good. Almost.
IMO, life's waaay too short to genaliases. the configs in
Nigel's doc makes that a thing of the past (it's probably worth
noting, I am a lazy sysadmin, and i automate as much as possible, and
just couldn't make sense of Postfix when i inherited a box with
postfix as its MTA: that got changed).
> There remains the matter of Mailman's Web pages: Those for domain
> linuxmafia.com are present. (See: http://linuxmafia.com/mailman/listinfo/)
> Those for domain lists.linuxgazette.net are not. See:
> http://lists.linuxgazette.net/mailman/listinfo/ -- as you'll notice,
> Apache2 does recognise the domain. The Apache document root for that
> location, /var/www/gazette, has an .htaccess file in it, as follows:
>
> # cat /var/www/gazette/.htaccess
> redirect 301 /index.html
> http://lists.linuxgazette.net/mailman/listinfo/
that 404's for me: have you got the Mailman Apache stanzas set-up in
lists.linuxgazette.net's vhost config? I've not had issues using
ServerAlias directives, fwiw.
[...]
You may need a 'clear' clause before the line below: search the
archives of this list for discussions/thoughts/advice thereto.
> VIRTUAL_HOSTS = {'lists.linuxgazette.net':'lists.linuxgazette.net'}
[...]
> MTA = 'Postfix'
I'd change that, as you're using Exim.
HTH
--
"We used to quip that "password" is the most common password. Now
it's "password1." Who said users haven't learned anything about
security?"
(Bruce Schneier, December 2006)
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9