I have a test install of exim and mailman to evaluate mailman. I have
following in the configure (note the 'lc::' in require_files in the router
sections!):
[...]
# vol 020528 mailman config
MAILMAN_HOME=/export/home/mailman
MAILMAN_WRAP=MAILMAN_HOME/mail/wrapper
# MAILMAN_UID=exim
# MAILMAN_GID=exim
MAILMAN_UID=mailman
MAILMAN_GID=mailman
[...]
# vol 020528 mailman router
list_owner_router:
driver = redirect
local_part_suffix = "-owner"
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
data = "${lc:$local_part}-admin@${domain}"
owner_list_router:
driver = redirect
local_part_prefix = "owner-"
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
data = "${lc:$local_part}-admin@${domain}"
list_admin_router:
driver = redirect
local_part_suffix = -admin
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
pipe_transport = list_admin_transport
data = "|MAILMAN_WRAP mailowner ${lc:$local_part}"
list_request_router:
driver = redirect
local_part_suffix = -request
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
pipe_transport = list_request_transport
data = "|MAILMAN_WRAP mailcmd ${lc:$local_part}"
list_router:
driver = redirect
require_files = MAILMAN_HOME/lists/${lc::$local_part}/config.db
pipe_transport = list_transport
data = "|MAILMAN_WRAP post ${lc:$local_part}"
[...]
# mailman transports
list_transport:
driver = pipe
command = MAILMAN_WRAP post ${lc:$local_part}
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_UID
group = MAILMAN_GID
# log_output
path = /usr/bin:/usr/local/bin
list_request_transport:
driver = pipe
command = MAILMAN_WRAP mailcmd ${lc:$local_part}
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_UID
group = MAILMAN_GID
# log_output
path = /usr/bin:/usr/local/bin
list_admin_transport:
driver = pipe
command = MAILMAN_WRAP mailowner ${lc:$local_part}
current_directory = MAILMAN_HOME
home_directory = MAILMAN_HOME
user = MAILMAN_UID
group = MAILMAN_GID
# log_output
path = /usr/bin:/usr/local/bin
[...]
Hope it helps.
-vol
> -----Original Message-----
> From: Mike Gifford [mailto:mike@openconcept.ca]
> Sent: Wednesday, July 17, 2002 7:18 PM
> To: exim list
> Cc: dsh8290@???; Krishna E. Bera; mailman list; Mike Gifford
> Subject: [Exim] Re: Exim 4.05 & Mailiman - Missing the Directors
> Configuration (update)
>
>
> Hello Again,
>
> > | I'm assuming now that the Directors Config area in the runtime
> > | configuration file has been removed in 4.x
> > Correct. exim4 was revamped, and the router/director
> distinction was
> > removed.
>
> Ok.. So when mailman's README.EXIM tells me to put files in the
> Directors section, this should be the same as putting it in
> the ROUTERS
> CONFIGURATION section as exim is no longer distinguishing between the
> two.
>
> > | If so does anyone have any suggestions on the
> modifications required
> > | to a 4.05 setting to get mailman & exim cooperating?
> > Convert the example director to a router.
>
> I've tried to do this... I can't see how it would need any more
> configuration.. However exim 4.05 seems to dislike the driver =
> smartuser in the following (Now at the bottom of the Routers Config
> section):
>
> list_owner_director:
> driver = smartuser
> require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
> suffix = "-owner"
> new_address = "${lc:$local_part}-admin@${domain}"
>
>
> The error it gives me is as follows:
>
> [root@learningpartnership exim.mike]# bin/exim -C configure -bV
> Exim version 4.05 #3 built 13-Jul-2002 23:35:22
> Copyright (c) University of Cambridge 2002
> 2002-07-16 10:31:21 Exim configuration error in line 438:
> router list_owner_director: cannot find router driver "smartuser"
>
>
> I've been searching for info on this error, but I can't seem to find
> much of interest. Does exim 4.05 support a smartuser driver
> or has this
> concept too been revised.
>
> > The Mailman 2.1 CVS tree has instructions on using exim4.
>
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mailman/mailman
> /README.EXIM?rev=2.4&content-type=text/vnd.viewcvs-markup
>
> >From this I'm guessing that
> driver = smartuser
> should be replaced by
> driver = accept
>
> But pretty much every line in the exim config looks like it would need
> to be rewritten as
> suffix = -request
> new_address = "${lc:$local_part}-admin@${domain}"
> (and likely others)
> prefix = "owner-"
>
> all need to be rewritten for 4.0.5
>
> > I'm sure you can combine the data in the mailman instructions and
> > exim's spec to create the necessary transports and routers
> tailored to
> > your usage of mailman. If you have specific questions about certain
> > options or something, then by all means ask.
>
> The are very different and I don't know enough about exim or
> mailman to
> wade through the code and try to find something that 'may' work via
> trial & error. Could take years..
>
> Is there a way to rewrite this easily for exim 4.05? What other
> instructions are no longer useful in the new exim and can I
> just replace
> them?
>
> list_owner_director:
> driver = smartuser
> require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
> suffix = "-owner"
> new_address = "${lc:$local_part}-admin@${domain}"
>
> owner_list_director:
> driver = smartuser
> require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
> prefix = "owner-"
> new_address = "${lc:$local_part}-admin@${domain}"
>
> ##
> ## Next 3 directors direct admin, request and list mail to the
> appropriate
> ## transport. List existence is checked as above.
>
> list_admin_director:
> driver = smartuser
> suffix = -admin
> require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
> transport = list_admin_transport
>
> list_request_director:
> driver = smartuser
> suffix = -request
> require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
> transport = list_request_transport
>
> list_director:
> driver = smartuser
> require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
> transport = list_transport
>
> > (I haven't personally
> > configured mailman so I can't really give any better info than that)
>
> That makes it harder.. I didn't think I was doing anything too
> groundbreaking here.. this isn't the alpha release of exim..
> Had hoped
> that others using mailman had upgraded to a more current
> version of exim
> than 3.33 and would have experience (and config pointers) to share.
>
> Mike
> --
> Mike Gifford, OpenConcept Consulting, http://www.openconcept.ca
> Open Source Web Applications for Social Change.
> Featured Client - NDP Leadership Candidate -
http://www.billblaikie.org
"An unjust law is no law at all." - Saint Augustine
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##