<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-text-flowed" style="font-family: -moz-fixed;
      font-size: 14px;" lang="x-western">I am running RT 4.0.10 using
      external SMTP server for emailing (fetchmail for receveing and
      msmtp for delivering).
      <br>
      I have able to configure fetchmail with no problem ie. when
      somebody sends an email to RT, ticket is automatically raised.
      <br>
      However, they do not receive anything back. And if somebody
      replies to the ticket, no email is sent out. (Including precanned
      reply).
      <br>
      <br>
      My apache conf:
      <br>
      AddDefaultCharset UTF-8
      <br>
      <br>
          Alias <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>rt/NoAuth/images
        /usr/local/rt/share/html/NoAuth/images<span class="moz-txt-tag">/</span></i>
      <br>
          ScriptAlias <i class="moz-txt-slash"><span
          class="moz-txt-tag">/</span>rt
        /usr/local/rt/sbin/rt-server.fcgi<span class="moz-txt-tag">/</span></i>
      <br>
      <br>
          LogLevel debug
      <br>
          ErrorLog /usr/local/rt/var/log/error.log
      <br>
      <br>
          DocumentRoot "/usr/local/rt/share/html"
      <br>
          <Location /rt>
      <br>
              #SSLRequireSSL
      <br>
              Order allow,deny
      <br>
              Allow from all
      <br>
      <br>
              Options +ExecCGI
      <br>
              AddHandler fcgid-script fcgi
      <br>
          </Location>
      <br>
      <br>
      My RT config:
      <br>
      Set($rtname, "eltoma-offshore.com");
      <br>
      Set($WebDomain, "centos.eltoma.cyp");
      <br>
      Set($WebPort, 80);
      <br>
      Set($WebPath, "/rt");
      <br>
      Set($SendmailPath , "/usr/local/rt/etc/msmtp_wrapper");
      <br>
      Set($CorrespondAddress, <a class="moz-txt-link-rfc2396E"
        href="mailto:rt@eltoma-offshore.com">"rt@eltoma-offshore.com"</a>);
      <br>
      Set($CommentAddress, <a class="moz-txt-link-rfc2396E"
        href="mailto:rt@eltoma-offshore.com">"rt@eltoma-offshore.com"</a>);
      <br>
      Set($Timezone, "Asia/Nicosia");
      <br>
      Set($MailCommand, "sendmail");
      <br>
      Set($SendmailArguments, "-t");
      <br>
      Set($SendmailPath , "/usr/local/bin/msmtp");
      <br>
      Set($LogToFile, "error");
      <br>
      Set($LogDir, "/var/log");
      <br>
      Set($LogToFileNamed, "rt.log");
      <br>
      <br>
      MSMTP is working on its own ie. if I send email using "msmtp"
      command, I receive it. But RT seems to have issue using it.
      <br>
      PS: Logs are not created for some reason (except for RT, which
      requires file to be created but it is empty).
      <br>
    </div>
  </body>
</html>