<div><br>Thank you for this explanation.</div><div> </div><div><br> </div><div class="gmail_quote">On Wed, Nov 21, 2012 at 4:31 AM, Tim Cutts <span dir="ltr"><<a href="mailto:tjrc@sanger.ac.uk" target="_blank">tjrc@sanger.ac.uk</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div class="im"><br>
On 20 Nov 2012, at 20:41, testwreq wreq <<a href="mailto:testwreq@gmail.com">testwreq@gmail.com</a>> wrote:<br>
<br>
> Hi, It was our configuration in sendmail. Once configured correctly, the mail is working.<br>
><br>
> I agree with the pitfalls involved using sendmail MTA.<br>
> I would like to know more about fetchmail. What is fetchmail? Do I have to configure sendmail to use fetchmail?<br>
> We have rt, rt-web, rt-linux, rt-email addresses in exchange. I would prefer mail to be sent directly from anywhere to any of these addresses and vice-a-versa, and the communication recorded in RT.<br>
<br>
</div>Since you now have it working with direct transmission of the email from your Exchange server to RT, I'd leave it alone; it's the best solution in general, because it means new messages to tickets will enter RT immediately that Exchange sees them, whereas using fetch mail adds a delay.<br>

<br>
Fetchmail is basically just a standard POP or IMAP client which fetches mail (obviously) and inserts it into a local mail transfer agent (i.e. a local copy of sendmail).  This is usually done by people who have no control or influence on the configuration of their mail server, and so can't arrange for delivery to be made directly, and all they have is an account on the mail server from which they can download mail.<br>

<br>
So, when using fetchmail, you still have to configure your local sendmail copy to deliver the mail to rt-mailgate correctly, that part doesn't change.  The difference is how the mail gets from your mail server to RT.  With fetchmail, it's periodically downloaded using something like POP or IMAP.  Without fetchmail, it's sent directly to your  RT server's sendmail by SMTP.  fetchmail has to be run from cron every few minutes, so there's always a small delay when using that method before replies to tickets will be seen in RT.<br>

<div class="HOEnZb"><div class="h5"><br>
Tim<br>
<br>
<br>
<br>
--<br>
 The Wellcome Trust Sanger Institute is operated by Genome Research<br>
 Limited, a charity registered in England with number 1021457 and a<br>
 company registered in England with number 2742969, whose registered<br>
 office is 215 Euston Road, London, NW1 2BE.<br>
</div></div></blockquote></div><br>