I am sorry - I deleted your original post before I got a chance to think
about it (too many messages and too much to do - nothing personal (: ).
I think I remember that your alias for mailman was wrong - you need to
have the full path to the executable, so it has to start with a '/',
like so:
"|/var/lib/mailman/mail/wrapper post _listname_"
For your problm with 'unknown user', you'll need to tell exim some
things about mailman. Put this in exim.conf:
######################################################################
# MAIN CONFIGURATION SETTINGS #
######################################################################
(I have this at the end of main, but I don't thnk order matters for this
section)
# Mailman stuff
# home dir for mailman
MAILMAN_HOME=/var/lib/mailman
# wrapper script for mailman
MAILMAN_WRAP=MAILMAN_HOME/mail/wrapper
# user and group for mailman
MAILMAN_UID=list
MAILMAN_GID=daemon
######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################
(again, order does not matter, but I have it at the end)
# Mailman stuff
##
## Three transports for list mail, request mail and admin mail
## respectively
## Mailman is installed in MAILMAN_HOME
## Mailman is configured to be invoked as user exim
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
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
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
######################################################################
# DIRECTORS CONFIGURATION #
######################################################################
(Here order matters - You should already have the first stanza tho)
system_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases
search_type = lsearch
user = list
(This part goes right above the user mailbox part, that is, next to last)
# Mailman Stuff
## Directors section [this deals with local addresses]
##
## First 2 directors rewrite list-owner or owner-list to list-admin
## This is only done if the list exists.
## List existence checks are done by seeing if the file
## MAILMAN_HOME/lists//config.db
## exists.
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
Well, sorry to be so long winded, but I think that should do it. If I
misremebered, please remind me what you needed.
--
--------------------------------------------------------------------------
| Stephen Gran | There appears to be irrefutable |
| steve@lobefin.net | evidence that the mere fact of |
| http://www.lobefin.net/~steve | overcrowding induces violence. -- |
| | Harvey Wheeler |
--------------------------------------------------------------------------
Attachment:
pgpB9h6W0YZaP.pgp
Description: PGP signature