Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Rien on September 05, 2005, 12:52:26 AM
-
Hi all,
I used the How-to at http://forums.contribs.org/index.php?topic=24472.msg98076#msg98076
to install Mailman.
I changed the /opt/mailman/Mailman/mm_cfg.py file:
DEFAULT_URL_HOST = 'focus.demon.nl'
DEFAULT_EMAIL_HOST = 'focus.demon.nl'
# Because we've overriden the virtual hosts above add_virtualhost
# MUST be called after they have been defined.
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
and I changed the /etc/e-smith/templates/opt/mailman/Mailman/mm_cfg.py/40hostname file:
DEFAULT_URL_HOST = '{ $DomainName }'
DEFAULT_EMAIL_HOST = '{ $DomainName }'
# Because we've overriden the virtual hosts above add_virtualhost
# MUST be called after they have been defined.
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
The list runs. I can add a new list, add members and so on.
When I tried to restart Mailman with:
service mailman restart
I get the message:
[root@mlkserver root]# service mailman restart
id
[Errno 2] No such file or directory: '/opt/mailman/data/master-qrunner.pid'
Is qrunner even running?
and when I try to send a email to the list it says the email-address doesn't exists.
What could be wrong?
-
it shouldn't be that confusing...
INSTALL MAILMAN
create new virtualdomain lists.yourdomain.com
wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/MichaelSoulier/6.0/RPMS/i386/mailman-2.1.5-23es02.i386.rpm
wget http://distro.ibiblio.org/pub/linux/distributions/e-smith/contrib/MichaelSoulier/6.0/RPMS/noarch/e-smith-mailman-1.1.10-03.noarch.rpm
rpm -Uvh
/opt/mailman/bin/mmsitepass (changes password)
-
Hi Kruhm,
Thanks for your reply.
I created a virtual domain "lists.focus.demon.nl". I installed the rpm's. But it didn't work. So I looked at the mm_cfg.py file. The domainname was not set.
My domainname is "focus.demon.nl", so I filled in my domainname and rebooted.
The admin screen at http:\\focus.demon.nl\mailman works and I was able to create a list "test1" and his members.
When I tried to send a mail to the list, the mail-address was not recognized.
So I tried to restart mailman with "service mailman restart". That failed. I got the following error:
"Starting mailman: Site list is missing: mailman".
I tried the same but now with "list.focus.demon.nl" as domainname. But that didn't work either.
What am I doing wrong?
-
Hi Rien,
I figured out what I was doing wrong! I reinstalled Mailman (rpm -Uvh *.rpm --force). I also had email blocking turned on through one of the contribs I had installed. Once I added in my mailing list address to allow, and addded in maillist-*@domain.com also, so the -request and -help addresses could get through, it as all OK.
However, I had to manually edit both the files you mentioned above for my domain name and then reboot.
Now I have a few follow up questions:
* How do I update Mailman to the latest version? Just download and install the Mailman 2.1.6 rpm?
* How do make it so that Mailman can do mailing lists for the other domain hosted on this server? What is the syntax for adding in second domains to those files?
* How do I delete the existing Mailman list? I don't want this one, and won't use it? Can I simply manually delete it from the lists folder?
Hamish
Melbourne, AU
-
Hi Hamish,
I can't get mailman working on my server. I don't know why!