[Mailman-Users] Getting mailman running on RedHat 9

Jon Carnes jonc at nc.rr.com
Wed Jan 7 19:22:50 CET 2004


On Wed, 2004-01-07 at 00:43, Jonathan Eidson wrote:
> I am trying to get mailman 2.1-8 running. I have done everything that the documentation that came with the RedHat 9 distro said to do. The final step is to type the following in the command line:
> 
>  /sbin/service mailman start
> 
> In response, I receive:
> 
> Traceback (most recent call last):
>   File "/var/mailman/bin/mailmanctl", line 524, in ?
>     main()
>   File "/var/mailman/bin/mailmanctl", line 319, in main
>     check_privs()
>   File "/var/mailman/bin/mailmanctl", line 274, in check_privs
>     gid = grp.getgrnam(mm_cfg.MAILMAN_GROUP)[2]
> KeyError: getgrnam(): name not found
> 
> I don't know what to do at this point. Here is a little more information. I have a RedHat 9 server running Postfix and Squirrelmail. It has been working beautifully since July, 2003. Now I need to get Mailman working and all will be complete.
> 
> Please Help. How should I proceed?
> 
> Thank you in advance for your assistance.
> 
> Jonathan
> 

>From the Searchable Archives, here is a repost of my "So you want to use
the Default Mailman install
that comes with RH9..." post:
===

Note: my server's name is "list.anncons.org" so I use that for the host
definitions below.  You should use your hosts name.

Put the following in your /var/mailman/Mailman/mm_cfg.py file:
MAILMAN_USER = 'mailman'
MAILMAN_GROUP = 'mailman'

Also you will need to put in your hosts real domain name:
#DEFAULT_EMAIL_HOST = 'porky.devel.redhat.com'
#DEFAULT_URL_HOST = 'porky.devel.redhat.com'
DEFAULT_EMAIL_HOST = 'list.anncons.org'
DEFAULT_URL_HOST = 'list.anncons.org'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
                                                                                
Lord knows what the Mailman packager for RedHat was smoking the day he
did this RPM...

To set Mailmanctl to start on reboot, use the chkconfig utility (or you
could use the Services gui that comes in the System Settings/Server
Settings menu).

chkconfig --list mailman
mailman         0:off   1:off   2:off   3:off   4:off   5:off   6:off

chkconfig --level 345 mailman on
# this will turn the mailman daemon on automatically when the server is
booted.

Good luck - Jon Carnes







More information about the Mailman-Users mailing list