Subject: The mailing list for listmasters using Sympa
List archive
- From: Redmond Militante <address@concealed>
- To: address@concealed
- Subject: [sympa-users] Trouble Creating Virtual Host
- Date: Wed, 16 Aug 2006 12:40:14 -0500
I'm having a problem setting up a sympa virtual host. I am using sympa 5.2.1
on RHEL4 with sendmail 8.
My server has two hostnames - name1.ourserver.com and name2.ourserver.com.
name2 is a CNAME alias. When I'm browsing name2.ourserver.com, I see the
same lists for name1.ourserver.com. I was expecting each virtual host to
have a unique set of lists. I'm not sure what is wrong with our
configuration.
Any help appreciated,
Redmond
1) my /etc/sympa.conf:
## Main robot hostname
domain name1.ourserver.com
2) My /etc/aliases:
sympa: "| /home/sympa/bin/queue address@concealed"
listmaster: "| /home/sympa/bin/queue address@concealed"
bounce+*: "| /home/sympa/bin/bouncequeue address@concealed"
sympa-request: postmaster
sympa-owner: postmaster
name2.ourserver.com-sympa: "| /home/sympa/bin/queue address@concealed"
name2.ourserver.com-listmaster: "| /home/sympa/bin/queue
address@concealed"
name2.ourserver.com-sympa-request: postmaster
name2.ourserver.com-sympa-owner: postmaster
3) my /etc/mail/virtusertable:
@name2.ourserver.com name2.ourserver.com-%1%3
4) from my /etc/httpd/conf/httpd.conf:
<VirtualHost *:80>
Options Indexes FollowSymLinks ExecCGI
DocumentRoot /var/www/html
ServerName name1.ourserver.com
</VirtualHost>
FastCgiIpcDir /tmp/fastcgi
FastCgiServer /home/sympa/bin/wwsympa.fcgi -processes 3 -idle-timeout 120
FastCgiServer /home/sympa/bin/sympa_soap_server.fcgi -processes 1
ScriptAlias /sympa /home/sympa/bin/wwsympa.fcgi
ScriptAlias /sympasoap /home/sympa/bin/sympa_soap_server.fcgi
<VirtualHost *:80>
Options Indexes FollowSymLinks ExecCGI
DocumentRoot /var/www/name2.ourserver.com
ServerName name2.ourserver.com
</VirtualHost>
<IfModule mod_fastcgi.c>
<Location /sympa>
SetHandler fastcgi-script
</Location>
<Location /sympasoap>
SetHandler fastcgi-script
</Location>
</IfModule>
5) my /home/sympa/etc/name2.ourserver.com/robot.conf file:
http_host name2.ourserver.com
## Sympa's main page URL
wwsympa_url http://name2.ourserver.com/sympa
soap_url http://name2.ourserver.com/sympasoap
## Local part of sympa email adresse
## Effective address will be [EMAIL]@[HOST]
email sympa
title Mailing Lists
## Who is able to create lists
## This parameter is a scenario, check sympa documentation about scenarios if
you want to define one
create_list public_listmaster
## Default lang (cs | de | el | en_US | fr | hu | it | ja_JP | nl | oc |
pt_BR | tr)
lang en_US
## Listmasters email list comma separated
## Sympa will associate listmaster privileges to these email addresses (mail
and web interfaces). Some error reports may also be sent to these addresses.
# was listmaster address@concealed
listmaster address@concealed
## The default maximum size (in bytes) for messages (can be re-defined for
each list)
#max_size 5242880
6) I've created /var/www/name2.ourserver.com and
/home/sympa/expl/name2.ourserver.com. I've given these directories the
appropriate permissions.
--
Redmond Militante / NSIT / The University of Chicago
PGP Public Key: <http://home.uchicago.edu/~rjm/pubkey.asc>
- [sympa-users] Trouble Creating Virtual Host, Redmond Militante, 08/16/2006
Archive powered by MHonArc 2.6.19+.