OK I used dpkg-reconfigure to switch to a monolithic format. Now I get:
# dpkg-reconfigure exim4-config
* Stopping MTA for restart
...done.
* Restarting MTA
...done.
ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system
possibly broken
The panilog says:
# cat /var/log/exim4/paniclog
2014-09-13 08:20:06 Exim configuration error in line 218 of
/var/lib/exim4/config.autogenerated.tmp:
main option "rt_transport" unknown
2014-09-14 04:00:43 Exim configuration error in line 218 of
/var/lib/exim4/config.autogenerated.tmp:
main option "rt_transport" unknown
2014-09-14 10:06:32 Exim configuration error in line 218 of
/var/lib/exim4/config.autogenerated.tmp:
main option "rt_transport" unknown
What now?
On 14/09/2014 12:14 μμ, Odhiambo Washington wrote:
You probably need to run some command to regenerate your configs for
Exim4 so that the transport can be detected. I only know how to use
the monolithic Exim4 configuration, not the split config. Maybe:
sudo dpkg-reconfigure exim4-config
On 14 September 2014 11:49, Theodotos Andreou <[email protected]
<mailto:[email protected]>> wrote:
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 exim4 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, I 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?
--
RT Training - Boston, September 9-10
http://bestpractical.com/training
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."
--
RT Training - Boston, September 9-10
http://bestpractical.com/training