[exim] Problem to integrate exim4 with request tracker 4.0

Góra strony
Delete this message
Reply to this message
Autor: Theodotos Andreou
Data:  
Dla: Exim-users
Temat: [exim] Problem to integrate exim4 with request tracker 4.0
Hi all,

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.

I am using RT 4.0.19 and exim4 4.82 both installed from the stock Ubuntu
14.04 (64 bit) packages.

Any ideas?