[Mailman-Users] Multiple Installations on same server...
Phillip Ryker
pryker at gmail.com
Sat Oct 28 23:07:09 CEST 2006
I hear what you are saying. I changed it to braces instead of
parentheses and got the same error message:
[root at listsrv exim]# exim -bt tacos at listsrv.swiftnetworks.com
tacos at listsrv.swiftnetworks.com cannot be resolved at this time:
failed to expand "/virtual/${lc" for require_files: "${lc" is not a
known operator (or a } is missing in a variable reference)
So, then I found this which seems to be more up-to-date:
<http://www.exim.org/howto/mailman21.html>.
and it recommended the following:
MM_UID=mailman
MM_GID=mailman
MM_HOME=/virtual/${lc::$domain}/mailman
MM_WRAP=MM_HOME/mail/mailman
MM_LISTCHK=MM_HOME/lists/${lc::$local_part}/config.pck
mailman_router:
driver = accept
domains = +mm_domains
require_files = MM_LISTCHK
local_part_suffix_optional
local_part_suffix = -admin : \
-bounces : -bounces+* : \
-confirm : -confirm+* : \
-join : -leave : \
-owner : -request : \
-subscribe : -unsubscribe
transport = mailman_transport
mailman_transport:
driver = pipe
command = MM_WRAP \
'${if def:local_part_suffix \
{${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
{post}}' \
$local_part
current_directory = MM_HOME
home_directory = MM_HOME
user = MM_UID
group = MM_GID
I tried that and now exim -bt returns with the right response.
However, I am getting the following in my logs:
No such file or directory: failed to chdir to
/virtual/:listsrv.domain1.com/mailman
so it is now pritning that extra colon. When I remove it I get errors
when running exim -bt. When I add it I get errors in the logfiles as
above. I am at a lost. I know others are running multiple installs
but I just cannot seem to get past this.
Am I missing something obvious?
Thanks
Phil
On 10/28/06, Mark Sapiro <msapiro at value.net> wrote:
> Phillip Ryker wrote:
>
> >Sorry, let me be more specific:
> >
> >I have this for my config file:
> >
> >MM_UID=mailman
> >MM_GID=mailman
> >MM_HOME=/virtual/${lc::$domain}/mailman
> >MM_WRAP=MM_HOME/mail/mailman
> >MM_LISTCHK=MM_HOME/lists/${lc::$local_part}/config.pck
> >domainlist mm_domains = listsrv.domain1.com : listsrv.domain2.com
> >domainlist local_domains = @ : listsrv.domain1.com : listsrv.domain2.com
> >
> >mailman_router:
> > driver = accept
> > domains = +mm_domains
> > require_files = MM_LISTCHK
> > local_part_suffix_optional
> > local_part_suffix = -admin : \
> > -bounces : -bounces+* : \
> > -confirm : -confirm+* : \
> > -join : -leave : \
> > -owner : -request : \
> > -subscribe : -unsubscribe
> > transport = mailman_transport
> >
> >mailman_transport:
> > driver = pipe
> > command = MM_WRAP \
> > '${if def:local_part_suffix \
> > {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
> > {post}}' \
> > $local_part
> > current_directory = MM_HOME
> > home_directory = MM_HOME
> > user = MM_UID
> > group = MM_GID
> >
> >and I am seeing the following in my main.log for exim:
> >
> >No such file or directory: failed to chdir to
> >/virtual/:listsrv.swiftnetworks.com/mailman
> >
> >so it appears it is placing an additional : in the directory name.
> >Problem is with a single colon it is not working either as the address
> >is not routable. Any ideas?
>
>
> Your initial problem with the unroutable address was that you had
> parentheses '()' and not braces '{}' in $(lc:$local_part).
>
> Actually, ${lc::$...} is wrong and the exim how to should be corrected.
> You should have single ':' and not double '::' in constructs like
> ${lc:$...}. See
> <http://www.exim.org/exim-html-4.63/doc/html/spec_html/ch11.html#SECTexpansionitems>.
>
>
> --
> 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