Koozali.org: home of the SME Server

Problems installing "Mailman"

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Problems installing "Mailman"
« 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:

Quote
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:

Quote
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:
Quote
service mailman restart
I get the message:
Quote
[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?
Rien
(The Netherlands)......

Offline kruhm

  • *
  • 680
  • +0/-0
Problems installing "Mailman"
« Reply #1 on: September 11, 2005, 06:23:36 PM »
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)

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Problems installing "Mailman"
« Reply #2 on: September 11, 2005, 08:30:42 PM »
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?
Rien
(The Netherlands)......

hamishau

Problems installing "Mailman"
« Reply #3 on: September 20, 2005, 03:14:19 AM »
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

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Problems installing "Mailman"
« Reply #4 on: September 20, 2005, 10:54:05 PM »
Hi Hamish,

I can't get mailman working on my server. I don't know why!
Rien
(The Netherlands)......