[Mailman-Users] Mails to list missing in clustered environment.
Mark Sapiro
mark at msapiro.net
Fri Feb 5 21:01:42 CET 2010
Guy wrote:
>
>I've got just 2 more problems left (I hope).
>
>1) Invitation/subscription confirmation emails go out with a link in
>this format: http://lists.domain2.net/confirm/test/526cfbe0f5e7836315ee5f17444aaae885500318
>
>lists.domain2.net is a virtual host and listed in mm_cfg.py.
>
>Is this easily patched post or pre compile or is it a bit more complex
>than that?
The initial portion of that URL is the list's web_page_url attribute.
This is established at list creation time by interpolating the lists
URL host into DEFAULT_URL_PATTERN. It can be changed with fix_url (see
<http://wiki.list.org/x/mIA9>).
I'm not sure what you want when you ask if it's easily patched. What do
you want?
>2) If I set the list to have private archives it works perfectly, but
>if I select public archives I get a forbidden error and this in my
>apache logs:
>Symbolic link not allowed or link target not accessible:
>/var/lib/mailman/archives/public/lists.domain2.net/test
>
>===lists.domain1.net apache vhost file===
><VirtualHost *:80>
> ServerName lists.domain1.net
> DocumentRoot /var/www/localhost
> ErrorLog /var/log/apache2/lists-error.log
> CustomLog /var/log/apache2/lists-access.log combined
>
> <Directory /var/lib/mailman/archives/>
> Options Indexes +FollowSymLinks
> AllowOverride None
> </Directory>
>
> Alias /pipermail/ /var/lib/mailman/archives/public/
> Alias /images/mailman/ /usr/lib/mailman/icons/
> ScriptAlias /admin /usr/lib/mailman/cgi-bin/admin
> ScriptAlias /admindb /usr/lib/mailman/cgi-bin/admindb
> ScriptAlias /confirm /usr/lib/mailman/cgi-bin/confirm
> ScriptAlias /create /usr/lib/mailman/cgi-bin/create
> ScriptAlias /edithtml /usr/lib/mailman/cgi-bin/edithtml
> ScriptAlias /listinfo /usr/lib/mailman/cgi-bin/listinfo
> ScriptAlias /options /usr/lib/mailman/cgi-bin/options
> ScriptAlias /private /usr/lib/mailman/cgi-bin/private
> ScriptAlias /rmlist /usr/lib/mailman/cgi-bin/rmlist
> ScriptAlias /roster /usr/lib/mailman/cgi-bin/roster
> ScriptAlias /subscribe /usr/lib/mailman/cgi-bin/subscribe
> ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
You may or may not need all those ScriptAlias directives depending on
what else may be on this host. Consider
ScriptAlias / /usr/lib/mailman/cgi-bin/
> ServerAlias lists.domain2.net
> ServerAlias lists.domain3.net
>
></VirtualHost>
>===
>
>FollowSymLinks is enabled and permissions on the link and actual folder are:
>lrwxrwxrwx 1 www-data mailman 55 2010-02-05 18:10 test ->
>/var/lib/mailman/archives/private/lists.cantab.net/test/
>drwxrwsr-x 5 root mailman 3896 2010-02-05 17:34
>/var/lib/mailman/archives/private/lists.cantab.net/test/
>drwxrwsr-x 2 root mailman 3896 2010-02-05 13:07
>/var/lib/mailman/archives/private/lists.cantab.net/test.mbox/
Every directory in the /var/lib/mailman/archives/private/ path must be
searchable by the web server. Where people normally go wrong is
setting g-x on /var/lib/mailman/archives/private itself without making
it owned by the web server. See the warning box at
<http://www.list.org/mailman-install/node9.html>.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list