[Mailman-Users] mailman wrappen+exim 4.22
vlad f halilow
vlad at ccs.ru
Tue Jun 8 13:24:35 CEST 2004
hello. i have installed mailman 2.0.11-1woody8 from debian. MM working under exim 4.22, and working correctly except one thing.
i got a message from wrapper with error code 6, and message in syslog listed below
----
Mailman mail-wrapper: Illegal command: admin
----
this message appears, when coming mail to 'listname-admin at domain.com'.
exim debug show, that wrapper run with following arguments:
14:58:36 10644 direct command after expansion:
14:58:36 10644 argv[0] = /var/lib/mailman/mail/wrapper
14:58:36 10644 argv[1] = admin
14:58:36 10644 argv[2] = news
so, this something like "wrapper admin news". this configuration i got from internet, and do not sure in it cleaness. so, what i need to seng via arguments to wrapper, when mail to listname-admin received? may be i dont need to route mail to admins via mailman router?
configuration:
-------------
MAILMAN_HOME=/var/lib/mailman
# wrapper script for mailman
MAILMAN_WRAP=MAILMAN_HOME/mail/wrapper
# user and group for mailman
MAILMAN_USER=list
MAILMAN_GROUP=daemon
mailman_router:
driver = accept
require_files = MAILMAN_HOME/lists/$local_part/config.db
local_part_suffix_optional
local_part_suffix = -bounces : -bounces+* : -confirm+* : -join : -leave : -owner : -request: -admin
transport = mailman_transport
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
--------------------------------
More information about the Mailman-Users
mailing list