[Exim] Upgrading mailman from 3.31 to 4.04-exiscan

Página Inicial
Delete this message
Reply to this message
Autor: Andy Mell
Data:  
Para: exim-users
Assunto: [Exim] Upgrading mailman from 3.31 to 4.04-exiscan
We are in the process of upgrading our exim to the latest version with
exiscan support.

Works a treat!

One problem:

The mailman entries in my old configure file will not port across, I cant
find anything obvious in the documentation as to why lc: does not work any
more. It should work surely?

2002-04-26 13:27:23 H=(gimli.bookbank.co.uk) [213.219.8.171]
F=<webeditor@???> temporarily rejected RCPT
<username@???>: failed to expand "/home/mailman/lists/${lc" for
require_files: "${lc" is not a known operator (or a } is missing in a
variable reference)

Heres the relevant bit of my configure file, Ive tried quoting and
unquoting lines and for the life of me cant see whats wrong. Its probably
staring me in the face, as no doubt someone is about to tell me?


# wrapper script for mailman
MAILMAN_HOME=/home/mailman
MAILMAN_WRAP=MAILMAN_HOME/mail/wrapper
# user and group for mailman
MAILMAN_UID=mailman
MAILMAN_GID=mailman

list_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_list_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

##
## Next 3 directors direct admin, request and list mail to the appropriate
## transport. List existence is checked as above.

list_admin_director:
driver = accept
local_part_suffix = -admin
require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
retry_use_local_part
transport = list_admin_transport

list_request_director:
driver = accept
local_part_suffix = -request
require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
retry_use_local_part
transport = list_request_transport

list_director:
driver = accept
require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
retry_use_local_part
transport = list_transport


## 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 mailman

list_transport:
driver = pipe
command = MAILMAN_WRAP post ${lc:$local_part}
current_directory = MAILMAN_HOME
group = MAILMAN_GID
home_directory = MAILMAN_HOME
user = MAILMAN_UID

list_request_transport:
driver = pipe
command = MAILMAN_WRAP mailcmd ${lc:$local_part}
current_directory = MAILMAN_HOME
group = MAILMAN_GID
home_directory = MAILMAN_HOME
user = MAILMAN_UID

list_admin_transport:
driver = pipe
command = MAILMAN_WRAP mailowner ${lc:$local_part}
current_directory = MAILMAN_HOME
group = MAILMAN_GID
home_directory = MAILMAN_HOME
user = MAILMAN_UID


Thanks

Andy