Need HTTP help on mailman.conf

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Need HTTP help on mailman.conf

Postby rgmhtt » Mon Dec 06, 2010 12:54 pm

I had mailman working on Amahi, but it was a trail and errror effort. So I saved a bunch of files and rebuilt. Thing is I did not save /etc/httpd/conf.d/1004-mailman.conf Here is the one that is NOT working right now. When I type in the URL

mailman.htt-consult.com/mailman

it goes for while and ends up showing the URL

hda/hda_app_mailman and the Users Setup screen. So take a look and maybe you will catch what I am missing. The content here is pulled from the Fedora 12 mailman install /etc/httpd/conf.d/mailman.conf:

Code: Select all

<VirtualHost *:80> ServerName mailman # # httpd configuration settings for use with mailman. # ScriptAlias mailman.htt-consult.com/mailman/ /usr/lib/mailman/cgi-bin/ <Directory /usr/lib/mailman/cgi-bin/> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> Alias mailman.htt-consult.com/pipermail/ /var/lib/mailman/archives/public/ <Directory /var/lib/mailman/archives/public> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all AddDefaultCharset Off </Directory> # Uncomment the following line, replacing www.example.com with your server's # name, to redirect queries to /mailman to the listinfo page (recommended). RedirectMatch ^/mailman[/]*$ http://mailman.htt-consult.com/mailman/listinfo ErrorLog /var/hda/web-apps/mailman/logs/error_log CustomLog /var/hda/web-apps/mailman/logs/access_log combined env=!dontlog </VirtualHost>

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Need HTTP help on mailman.conf

Postby rgmhtt » Mon Dec 06, 2010 2:39 pm

Making headway.

Code: Select all

ServerName mailman ServerAlias mailman.htt-consult.com ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ RedirectMatch ^/mailman[/]*$ http://mailman.htt-consult.com/mailman/listinfo
Gets me going, but now I have a mailman bug which MIGHT be due to uninstalling the reinstalling mailman.

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Need HTTP help on mailman.conf

Postby rgmhtt » Mon Dec 06, 2010 5:11 pm

Mailman list was able to help me get this fixed.

Mailman has some NICE tools; all command line. But they analyse and fix things for you!

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Need HTTP help on mailman.conf

Postby radioz » Mon Dec 06, 2010 5:33 pm

Can you tell us what you did to fix it?

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: Need HTTP help on mailman.conf

Postby rgmhtt » Mon Dec 06, 2010 5:50 pm

There will be a COMPLETE (ahem) Wiki on how to add Mailman to the Amahi Mail Server app.

I want to go another round around the lake with this from Fedora install to mail and mailman working, but basically,

After you install and configure the Amahi Mail Server webapp:

Install mailman
create a webapp: mailman
Add a virtual host to the postfix SQL domain table of mailman.foo.com
Configure postfix for mailman
Configure mailman for postfix
within the <VirtualHost> section in 10nn-mailman.conf leave jsut the ServerName and ServerAlias entry, and replace the rest with the content from ../conf.d/mailman.conf and edit the rename line; Rename the mailman.conf file and reload httpd, postfix.

Create the mailman main list and start mailman.

You are now ready to go! The URL is:

mailman.foo.com/mailman

Oh, basically you need the ServerName, ServerAlias, AND ScriptAlias lines.

Who is online

Users browsing this forum: No registered users and 50 guests