[Mailman-Users] Mailman & Exim 4.05
Marc MERLIN
marc_news at merlins.org
Mon Jul 29 05:15:45 CEST 2002
On Mon, Jul 15, 2002 at 12:00:12AM -0400, Mike Gifford wrote:
> If this isn't the case, please let me know, but I could not find a
> Directors config file section in 4.05, but could find one prominently in
> 3.33.
MAILMAN_WRAP=MAILMAN_HOME/mail/mailman
MAILMAN20_WRAP=MAILMAN_HOME/mail/wrapper
MAILMAN_UID=mail
MAILMAN_GID=mail
(...)
begin routers
# We want this router first in case we have a list named something like
# mailman-owner
mm21_main_director:
driver = accept
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.pck
transport = mm21_transport
mm21_director:
driver = accept
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.pck
local_part_suffix = "-bounces:-bounces+*:-confirm+*:-join:-leave:-owner:-request:-admin"
transport = mm21_transport
# Mailman 2.0 routers to support mailman lists without explicit aliases
mm20_owner_director:
driver = redirect
allow_defer
allow_fail
data = "${lc:$local_part}-admin@${domain}"
local_part_suffix = "-owner"
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
retry_use_local_part
owner_mm20_director:
driver = redirect
allow_defer
allow_fail
data = "${lc:$local_part}-admin@${domain}"
local_part_prefix = "owner-"
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
retry_use_local_part
mm20_admin_director:
driver = accept
local_part_suffix = -admin
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
retry_use_local_part
transport = mm20_admin_transport
mm20_request_director:
driver = accept
local_part_suffix = -request
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
retry_use_local_part
transport = mm20_request_transport
mm20_director:
driver = accept
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
retry_use_local_part
transport = mm20_transport
(...)
begin transports
## For Mailman 2.1, you only need one transport, albeit with a rather
## elaborate command...
mm21_transport:
driver = pipe
# In case you wonder, substr_2 removes the leading '-'
# and the regex removes optional +foo=hostname that can be after -bounce
# (if you use VERP) -- Marc
command = MAILMAN_WRAP "${if def:local_part_suffix{${substr_2:{${sg{${lc:$local_part_suffix}}{\\\\\+.*}{}}}}{post}}" ${lc:$local_part}
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_UID
group = MAILMAN_GID
# Mailman 2.0 commands to run
mm20_transport:
driver = pipe
command = MAILMAN20_WRAP post ${lc:$local_part}
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_UID
group = MAILMAN_GID
mm20_request_transport:
driver = pipe
command = MAILMAN20_WRAP mailcmd ${lc:$local_part}
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_UID
group = MAILMAN_GID
mm20_admin_transport:
driver = pipe
command = MAILMAN20_WRAP mailowner ${lc:$local_part}
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_UID
group = MAILMAN_GID
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f at merlins.org for PGP key
More information about the Mailman-Users
mailing list