[Mailman-Users] Debian, Exim4, GID, desperated...
Mark Sapiro
msapiro at value.net
Tue Mar 6 19:24:21 CET 2007
Thomas Koch wrote:
> Hi Mark with k,
:-)
> I've commented out the line
> SYSTEM_ALIASES_PIPE_TRANSPORT = address_pipe
> now and get my old error back:
>
> 1HOcy6-0004Cy-Vj == |/var/lib/mailman/mail/mailman post egroupware2-svn
> <egroupware2-svn at localhost> R=system_aliases defer (-30): pipe_transport
> unset in system_aliases router
Remove all the Mailman aliases from /etc/aliases or wherever they are.
You don't use aliases with this Exim config.
> I've set up router and transport, see my config snippets below. I think the
> problem is, that the transport isn't called, because exim tries to to some
> aliases magic before.
Exactly, which is why you don't want any Mailman aliases.
> I installed mailman following this site:
> http://www.debian-administration.org/articles/108
> So I copied all those aliases to /etc/aliases, but afterwards I read, that
> this is not recommended anymore. So I deleted the aliases again and called
> newaliases.
newaliases normally does nothing in Exim. See the -bi option in 'man exim'.
> #################################
> conf.d/main/04_local_mailman_macros
> #################################
> # Home dir for your Mailman installation -- aka Mailman's prefix
> # directory.
> MAILMAN_HOME=/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=list
> MAILMAN_GROUP=daemon
>
> ##################################
> conf.d/router/970_local_mailman:
> ##################################
> mailman_workaround:
> domains = +local_domains
> require_files = MAILMAN_HOME/lists/$local_part/config.pck
> driver = accept
> local_parts = mailman
> local_part_suffix_optional
> local_part_suffix = -bounces : -bounces+* : \
> -confirm+* : -join : -leave : \
> -subscribe : -unsubscribe : \
> -owner : -request : -admin
> transport = mailman_transport
> group = MAILMAN_GROUP
group = doesn't belong here.
transport = seems overly indented, but it isn't Python :-)
>
> # Mailman lists
> mailman_router:
> domains = +local_domains
> condition =
> ${lookup{$local_part@$domain}lsearch{MAILMAN_HOME/data/virtual-mailman}{1}
> {0}}
This is if you have virtual domains. If not, the 'workaround' router is
correct.
> require_files = MAILMAN_HOME/lists/$local_part/config.pck
> driver = accept
> local_part_suffix_optional
> local_part_suffix = -bounces : -bounces+* : \
> -confirm+* : -join : -leave : \
> -subscribe : -unsubscribe : \
> -owner : -request : -admin
> transport = mailman_transport
> group = MAILMAN_GROUP
See above
>
>
> ##############################################
> conf.d/transport/40_local_mailman:
> ##############################################
> 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
> freeze_exec_fail = true
I don't know why you have freeze_exec_fail = true here. At least until
you get things working, you probably don't want it.
--
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list