[Mailman-Users] Mailman port RH7.3/2.0.13 to FC4/2.1.5/Exim4
Gary Stainburn
gary.stainburn at ringways.co.uk
Tue Dec 13 10:51:06 CET 2005
Hi folks
I'm trying to port my existing mailman setup to my new server. I've made note
of the change of filesystem layout and followed the instructions for
connecting to Exim4. I've configured Apache and the web interface to
mailman's working fine. I can perform admin functions and view the archives
fine.
However, I've missed or messed something because I've got two possibly related
problems.
1) starting the new service fails as below:
[root at stan1 ~]# service mailman start
Starting mailman: Site list is missing: mailman
[FAILED]
[root at stan1 ~]#
In /var/log/mailman/error it shows:
[root at stan1 ~]# tail -f /var/log/mailman/error
Dec 12 22:42:15 2005 mailmanctl(5556): Site list is missing: mailman
Dec 12 22:42:15 2005 (5556) Site list is missing: mailman
2) sending emails doesn't work. I've configured exim4 as described (fixing the
path problem to the config.pck). I've included the bits I've added as well as
the extract from /var/log/exim/main.log that shows the incoming email being
processed. There are no other log entries however, not in messages,
main.log, or mailman/error.
[root at stan1 ~]# tail -f /var/log/exim/main.log
2005-12-12 21:44:23 1ElvT5-0001MZ-2E <= gary.stainburn at ringways.co.uk
H=localhost (stan1.ringways.co.uk) [127.0.0.1] P=esmtp S=1240
id=200512122144.22648.gary.stainburn at ringways.co.uk
2005-12-12 21:44:24 1ElvT5-0001MZ-2E => nec <nec-request at revcom.org.uk>
R=mailman_router T=mailman_transport
2005-12-12 21:44:24 1ElvT5-0001MZ-2E Completed
2005-12-12 22:44:38 1ElwPO-0001Ro-Ig <= gary.stainburn at ringways.co.uk
H=localhost (stan1.ringways.co.uk) [127.0.0.1] P=esmtp S=1227
id=200512122244.37332.gary.stainburn at ringways.co.uk
2005-12-12 22:44:39 1ElwPO-0001Ro-Ig => nec <nec at revcom.org.uk>
R=mailman_router T=mailman_transport
2005-12-12 22:44:39 1ElwPO-0001Ro-Ig Completed
2005-12-12 22:45:40 1ElwQN-0001S6-PL <= gary.stainburn at revcom.org.uk
H=localhost (stan1.ringways.co.uk) [127.0.0.1] P=esmtp S=1225
id=200512122245.39015.gary.stainburn at revcom.org.uk
2005-12-12 22:45:40 1ElwQN-0001S6-PL => nec <nec at revcom.org.uk>
R=mailman_router T=mailman_transport
2005-12-12 22:45:40 1ElwQN-0001S6-PL Completed
/etc/exim/exim/conf extract
# ADDED 2005-12-12 GPS for mailman
# Home dir for your Mailman installation -- aka Mailman's prefix
# directory. (MAILMAN_VAR added by GPS)
MAILMAN_HOME=/usr/lib/mailman
MAILMAN_VAR=/var/lib/mailman
MAILMAN_WRAP=MAILMAN_HOME/mail/mailman
# User and group for Mailman, should match your --with-mail-gid
# switch to Mailman's configure script.
MAILMAN_USER=mailman
MAILMAN_GROUP=mailman
mailman_router:
driver = accept
require_files = MAILMAN_VAR/lists/$local_part/config.pck
local_part_suffix_optional
local_part_suffix = -bounces : -bounces+* : \
-confirm+* : -join : -leave : \
-owner : -request : -admin
transport = mailman_transport
# ADDED 2005-12-12 GPS mailman router
mailman_transport:
driver = pipe
command = MAILMAN_WRAP \
'${if def:local_part_suffix \
{${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
{post}}' \
$local_part
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_USER
group = MAILMAN_GROUP
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
More information about the Mailman-Users
mailing list