[exim] router help

Top Page
Delete this message
Reply to this message
Author: Alex
Date:  
To: exim users
Subject: [exim] router help
I need help.

I have this error

alexcasa:/etc/gestionaisp# /etc/init.d/exim4 start
Starting MTA: 2007-03-15 00:18:20 Exim configuration error in line 51
of /usr/local/exim/includes/vexim-group-router.conf:
"headers_remove" option set for the second time


------------------------------------------------


virtual_dom_groups:
  driver = redirect
  allow_fail
  senders = ${if eq{Y}{${lookup sqlite{/etc/gestionaisp/gestionaisp.db
select g.is_public \
                                      from groups g, domains d \
                                      where d.enabled = '1' and
d.domain = '${domain}' and \
                                            d.domain_id = g.domain_id
and g.enabled = '1' and \
                                            g.name = '${local_part}'}}} \
                {$sender_address} \
                {${lookup sqlite{/etc/gestionaisp/gestionaisp.db
select c.member \
        from group_contents c, groups g, domains d \
        where g.enabled = '1' and g.id = c.group_id and g.is_public = 'N' \
        and d.domain = '${domain}' \
        and d.domain_id = g.domain_id and g.enabled = '1' \
        and g.name = '${local_part}' \
        and c.member LIKE '${sender_address}' limit 1}}}}


  data = ${lookup sqlite{/etc/gestionaisp/gestionaisp.db  \
            select c.member \
            from group_contents c, groups g, domains d \
            where d.enabled     = '1'           and \
                  d.domain      = '${domain}'   and \
                  d.domain_id   = g.domain_id   and \
                  g.enabled     = '1'           and \
                  g.id          = c.group_id    and \
                  g.name        = '${local_part}'} }


  headers_remove = subject
  headers_add = Subject: [${lookup
sqlite{/etc/gestionaisp/gestionaisp.db select g.name \
                                      from groups g, domains d \
                                      where d.enabled = '1' and
d.domain = '${domain}' and \
                                            d.domain_id = g.domain_id
and g.enabled = '1' and \
                                            g.name =
'${local_part}'}}] $h_subject



condition = ${if eq{Y}{${lookup sqlite{/etc/gestionaisp/gestionaisp.db
 select g.replay \
                      from groups g, domains d \
                      where d.enabled = '1' and d.domain = '${domain}' and \
                        d.domain_id = g.domain_id and g.enabled = '1' and g.replay = '1' and \
                        g.name = '${local_part}' }}}
headers_remove = Reply-To
headers_add = Reply-To: $header_to



local_part_suffix = -*
local_part_suffix_optional
retry_use_local_part
reply_transport = address_reply
pipe_transport = address_pipe