Re: [exim] Problem to integrate exim4 with request tracker 4…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Evgeniy Berdnikov
Datum:  
To: exim-users
Betreff: Re: [exim] Problem to integrate exim4 with request tracker 4.0
On Sun, Sep 14, 2014 at 10:15:18AM +0300, Theodotos Andreou wrote:
>
> I am trying to setup an RT 4.0 system with exim4. I want it to be
> queue agnostic, so the manual advised to use this setup:
>
> # cat /etc/exim4/conf.d/main/90_exim4-config_requesttracker
> RT_USER=www-data
> RT_URL=https://logs.markouassociates.com
>
> rt_transport:
> driver = pipe
> user = RT_USER
> command = rt-mailgate \
> --action '${if def:local_part_suffix {comment}{correspond}}' \
> --queue "$local_part" \
> --url RT_URL --no-verify-ssl
>
> rt_router:
> driver = accept
> local_part_prefix = rt-
> administration
> local_part_suffix_optional
> local_part_suffix = -comment
> transport = rt_transport
>
> But when I try to restart it this is what I get:
>
> # service exim4 restart
> * Stopping MTA for restart
> 2014-09-14 10:06:32 Exim configuration error in line 218 of /var/lib/exim4/config.autogenerated.tmp:
> main option "rt_transport" unknown
> Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
> /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
>
> I know I must be doing something fundamentally wrong here but as an
> exim noob, can't figure it out.


You should put definition of names, routers and transports to
different configuration sections, because script that assembles
config.autogenerated from this staff has some assumptions about
locations. The directory /etc/exim4/conf.d/main is for definitions
of names and macros, use /etc/exim4/conf.d/router for routers
and /etc/exim4/conf.d/transport for transports.
--
Eugene Berdnikov