<html>
  <head>
    <meta content="text/html; charset=iso-8859-7"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">I did not mean to offend anyone. I just
      choose not to use skype. And since we have the mailing, list I
      don't see why this discussion cannot happen on the mailing list.
      Or on RT's IRC channel.<br>
      <br>
      Anyway I figured it out eventually (with some help from the exim
      IRC channel):<br>
      <br>
      You need to revert the configuration back to split.<br>
      <br>
      Then you need to create these two files:<br>
      <pre>    root@rt:~# cat /etc/exim4/conf.d/router/rt_router
    rt_router:
     driver = accept
     local_part_prefix = rt-
     local_part_suffix_optional
     local_part_suffix = -comment
     transport = rt_transport
     
    root@rt:~# cat /etc/exim4/conf.d/transport/rt_transport
    RT_USER=www-data
    RT_URL=<a class="moz-txt-link-freetext" href="https://rt.example.com">https://rt.example.com</a>
     
    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
</pre>
      and then restart exim.<br>
      <br>
      Thanks guys.<br>
      <br>
      On 14/09/2014 01:23 ěě, Odhiambo Washington wrote:<br>
    </div>
    <blockquote
cite="mid:CAAdA2WMq6GzTzmfwrfOOxgJPvdwGmvx97Xr1oO=u=wWit4WUUA@mail.gmail.com"
      type="cite">
      <div dir="ltr">It's okay if you do not need my help because of
        paranoia. I am on Windows PC at the moment and I am not
        installing anything else.
        <div>I said use either  'pipind' or '<a moz-do-not-send="true"
            href="mailto:odhiambo@outlook.com">odhiambo@outlook.com</a>'
          as my Skype names.</div>
        <div><br>
          <div>Maybe someone on the forum/list will take this up and
            help you.</div>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On 14 September 2014 13:14,
              Theodotos Andreou <span dir="ltr"><<a
                  moz-do-not-send="true" href="mailto:theo@ubuntucy.org"
                  target="_blank">theo@ubuntucy.org</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div text="#000000" bgcolor="#FFFFFF">
                  <div>I'm too paranoid for Skype. I have no idea what
                    is pipind :)<br>
                    <br>
                    How about Tox (my
                    id:AF41728851B8C1CEFE85956D594991F752950BBE9D0F744ED03994534F7274283B3C52174898)

                    or plain old IRC?
                    <div>
                      <div><br>
                        <br>
                        <br>
                        <br>
                        On 14/09/2014 12:54 ěě, Odhiambo Washington
                        wrote:<br>
                      </div>
                    </div>
                  </div>
                  <div>
                    <div>
                      <blockquote type="cite">
                        <div dir="ltr">Can we take this offlist, please?
                          I can help you set it up from there.
                          <div><br>
                          </div>
                          <div>First I don't understand why your file is
                            named .tmp. In a monolithic config, you
                            should be getting something like 'error in
                            line XXX of exim4.config....</div>
                          <div><br>
                          </div>
                          <div>I am on skype as <a
                              moz-do-not-send="true"
                              href="mailto:odhiambo@outlook.com"
                              target="_blank">odhiambo@outlook.com</a>
                            or pipind. Please catch me on that if
                            possible, else let's move into private
                            e-mail I help you troubleshoot.</div>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                        </div>
                        <div class="gmail_extra"><br>
                          <div class="gmail_quote">On 14 September 2014
                            12:36, Theodotos Andreou <span dir="ltr"><<a
                                moz-do-not-send="true"
                                href="mailto:theo@ubuntucy.org"
                                target="_blank">theo@ubuntucy.org</a>></span>
                            wrote:<br>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex">
                              <div text="#000000" bgcolor="#FFFFFF">
                                <div>OK I used dpkg-reconfigure to
                                  switch to a monolithic format. Now I
                                  get:<br>
                                  <br>
                                  <pre># 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
</pre>
                                  The panilog says:<br>
                                  <pre># 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
</pre>
                                  What now?
                                  <div>
                                    <div><br>
                                      <br>
                                      On 14/09/2014 12:14 ěě, Odhiambo
                                      Washington wrote:<br>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div>
                                    <blockquote type="cite">
                                      <div dir="ltr">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:
                                        <div><br>
                                        </div>
                                        <div>sudo dpkg-reconfigure
                                          exim4-config<br>
                                        </div>
                                        <div><br>
                                        </div>
                                        <div><br>
                                        </div>
                                        <div><br>
                                        </div>
                                        <div><br>
                                        </div>
                                      </div>
                                      <div class="gmail_extra"><br>
                                        <div class="gmail_quote">On 14
                                          September 2014 11:49,
                                          Theodotos Andreou <span
                                            dir="ltr"><<a
                                              moz-do-not-send="true"
                                              href="mailto:theo@ubuntucy.org"
                                              target="_blank">theo@ubuntucy.org</a>></span>
                                          wrote:<br>
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0 0 0
                                            .8ex;border-left:1px #ccc
                                            solid;padding-left:1ex">Hi
                                            all,<br>
                                            <br>
                                            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:<br>
                                            <br>
                                            # cat
                                            /etc/exim4/conf.d/main/90_exim4-config_requesttracker<br>
                                            RT_USER=www-data<br>
                                            RT_URL=<a
                                              moz-do-not-send="true"
                                              href="https://logs.markouassociates.com"
                                              target="_blank">https://logs.markouassociates.com</a><br>
                                            <br>
                                            rt_transport:<br>
                                             driver = pipe<br>
                                             user = RT_USER<br>
                                             command = rt-mailgate \<br>
                                             --action '${if
                                            def:local_part_suffix
                                            {comment}{correspond}}' \<br>
                                             --queue "$local_part" \<br>
                                             --url RT_URL
                                            --no-verify-ssl<br>
                                            <br>
                                            rt_router:<br>
                                             driver = accept<br>
                                             local_part_prefix = rt-<br>
                                             administration<br>
                                             local_part_suffix_optional<br>
                                             local_part_suffix =
                                            -comment<br>
                                             transport = rt_transport<br>
                                            <br>
                                            But when I try to restart
                                            exim4 this is what I get:<br>
                                            <br>
                                            # service exim4 restart<br>
                                             * Stopping MTA for restart<br>
                                            2014-09-14 10:06:32 Exim
                                            configuration error in line
                                            218 of
                                            /var/lib/exim4/config.autogenerated.tmp:<br>
                                              main option "rt_transport"
                                            unknown<br>
                                            Invalid new configfile
                                            /var/lib/exim4/config.autogenerated.tmp,
                                            not installing<br>
                                            /var/lib/exim4/config.autogenerated.tmp
                                            to
                                            /var/lib/exim4/config.autogenerated<br>
                                            <br>
                                            I know I must be doing
                                            something fundamentally
                                            wrong here but as an exim
                                            noob, I can't  figure it
                                            out.<br>
                                            <br>
                                            I am using RT 4.0.19 and
                                            exim4 4.82 both installed
                                            from the stock Ubuntu 14.04
                                            (64 bit) packages.<br>
                                            <br>
                                            Any ideas?<span><font
                                                color="#888888"><br>
                                                <br>
                                                <br>
                                                -- <br>
                                                RT Training - Boston,
                                                September 9-10<br>
                                                <a
                                                  moz-do-not-send="true"
href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br>
                                              </font></span></blockquote>
                                        </div>
                                        <br>
                                        <br clear="all">
                                        <div><br>
                                        </div>
                                        -- <br>
                                        Best regards,<br>
                                        Odhiambo WASHINGTON,<br>
                                        Nairobi,KE<br>
                                        +254733744121/+254722743223<br>
                                        "I can't hear you -- I'm using
                                        the scrambler."<br>
                                      </div>
                                    </blockquote>
                                    <br>
                                  </div>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                          <br>
                          <br clear="all">
                          <div><br>
                          </div>
                          -- <br>
                          Best regards,<br>
                          Odhiambo WASHINGTON,<br>
                          Nairobi,KE<br>
                          +254733744121/+254722743223<br>
                          "I can't hear you -- I'm using the scrambler."<br>
                        </div>
                      </blockquote>
                      <br>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
            <br clear="all">
            <div><br>
            </div>
            -- <br>
            Best regards,<br>
            Odhiambo WASHINGTON,<br>
            Nairobi,KE<br>
            +254733744121/+254722743223<br>
            "I can't hear you -- I'm using the scrambler."<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>