Please change <a href="http://localhost/rt3">http://localhost/rt3</a> according to your hostname.<br><br><div><span class="gmail_quote">2008/4/7, Nelson Pereira <<a href="mailto:npereira@protus.com">npereira@protus.com</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<div lang="EN-US" link="#0000ff" vlink="#0000ff"><div><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">Oups… I was piping it..  so the command looks like this to retrieve messages from the pop3 mailbox :</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">/usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/etc/smrsh/rt-mailgate --queue general --action correspond --url <a href="http://localhost/rt3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://localhost/rt3</a>" > /dev/null</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">Then in the /opt/rt3/fetchmail log file, I get this error:</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">404 Not Found</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">fetchmail: reading message <a href="http://otrs@exmail.protus.org:1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">otrs@exmail.protus.org:1</a> of 2 (11154 octets) (log message incomplete)fetchmail: MDA returned nonzero status 75</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">fetchmail:  not flushed</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">..........An Error Occurred</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">=================</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">404 Not Found</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">fetchmail: reading message <a href="http://otrs@exmail.protus.org:2" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">otrs@exmail.protus.org:2</a> of 2 (11146 octets) (log message incomplete)fetchmail: MDA returned nonzero status 75</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">fetchmail:  not flushed</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">I finaly got it working …..</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">The problem was the URL… for some reason, fetchmail does not like to have <a href="http://locahost/rt3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://locahost/rt3</a>,  rather, it wants <a href="http://192.168.5.5/rt3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://192.168.5.5/rt3</a></span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">So since I use –correspond, I should see an email going back to the requester right?</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">But this is not happening….</span></font></p><span class="q"><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p>
<div><p style="margin-bottom: 12pt"><font size="3" color="#000080" face="Times New Roman"><span style="font-size: 12pt; color: #000080"> </span></font></p></div><table border="0" cellspacing="0" cellpadding="0"><tbody><tr>
<td style="padding-top: 0in; padding-right: 0in; padding-bottom: 0in; padding-left: 0in"><p><b><font size="2" color="#000033" face="Verdana"><span style="font-size: 10pt; font-family: "Verdana [microsoft]"; color: #000033; font-weight: 700">Nelson Pereira</span></font></b><font color="#000080"><span style="color: #000080"> </span></font><font size="1" color="#000033" face="Verdana"><span style="font-size: 7.50pt; font-family: "Verdana [microsoft]"; color: #000033"><br>
   Senior Network Administrator <br><br>   Protus IP Solutions Inc. <br><a href="mailto:npereira@protus.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">npereira@protus.com</a> <br>   phone: 613.733.0000 ext.528 <br>
   MyFax: 613.822.5083 <br><a href="http://www.myfax.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.myfax.com</a> <br><br>   Refer your friends and colleagues to MyFax! <br><a href="http://www.myfax.com/referral_program.asp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Click   here for more information.</a> </span></font></p>
</td><td style="padding-top: 0in; padding-right: 0in; padding-bottom: 0in; padding-left: 0in"><p><font size="3" color="#000080" face="Times New Roman"><span style="font-size: 12pt; color: #000080"><a href="http://www.myfax.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><span style="text-decoration: none"><img border="0" width="233" height="60" src="cid:image001.gif@01C89887.ABA4A480" alt="www.MyFax.com"></span></a></span></font></p>
</td></tr></tbody></table><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p></span><div><div align="center" style="text-align: center">
<font size="3" face="Times New Roman"><span style="font-size: 12pt"><hr size="2" width="100%" align="center"></span></font></div><p><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: "Arial [monotype]"; font-weight: 700">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: "Arial [monotype]""> <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rt-users-bounces@lists.bestpractical.com</a> [mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rt-users-bounces@lists.bestpractical.com</a>] <b><span style="font-weight: 700">On Behalf Of </span></b>Nelson Pereira<br>
<b><span style="font-weight: 700">Sent:</span></b> Monday, April 07, 2008 8:05 AM<br><b><span style="font-weight: 700">To:</span></b> Vitaliy Okulov<span class="e" id="q_11928f3588791464_3"><br><b><span style="font-weight: 700">Cc:</span></b> <a href="mailto:rt-users@lists.bestpractical.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rt-users@lists.bestpractical.com</a><br>
<b><span style="font-weight: 700">Subject:</span></b> Re: [rt-users] Need RT to fetchmail...</span></span></font></p></div></div><div><span class="e" id="q_11928f3588791464_5"><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"> </span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">Ok, I tried this and im getting this error in the fetchmail log…</span></font></p><p>
<font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">fetchmail: 2 messages for otrs at <a href="http://exmail.protus.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">exmail.protus.org</a> (22300 octets).</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">sh: -c: line 0: syntax error near unexpected token `|'</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">sh: -c: line 0: `|/etc/smrsh/rt-mailgate --queue general --action correspond --url <a href="http://localhost/rt3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://localhost/rt3</a>'</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">...fetchmail: reading message <a href="http://otrs@exmail.protus.org:1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">otrs@exmail.protus.org:1</a> of 2 (11154 octets) (log message incomplete)fetchmail: error writing message text</span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">fetchmail: MDA error while fetching from <a href="mailto:otrs@exmail.protus.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">otrs@exmail.protus.org</a></span></font></p>
<p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080">fetchmail: Query status=6 (IOERR)</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: "Arial [monotype]"; color: #000080"> </span></font></p>
<div><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"> </span></font></p><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"> </span></font></p><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"> </span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size: 12pt"> </span></font></p><div align="center" style="text-align: center"><font size="3" face="Times New Roman"><span style="font-size: 12pt"><hr size="2" width="100%" align="center">
</span></font></div><p><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: "Arial [monotype]"; font-weight: 700">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: "Arial [monotype]""> Vitaliy Okulov [mailto:<a href="mailto:vitaliy.okulov@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vitaliy.okulov@gmail.com</a>] <br>
<b><span style="font-weight: 700">Sent:</span></b> Saturday, April 05, 2008 2:21 AM<br><b><span style="font-weight: 700">To:</span></b> Nelson  Pereira<br><b><span style="font-weight: 700">Cc:</span></b> <a href="mailto:rt-users@lists.bestpractical.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rt-users@lists.bestpractical.com</a><br>
<b><span style="font-weight: 700">Subject:</span></b> Re: [rt-users] Need RT to fetchmail...</span></font></p></div><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"> </span></font></p><p style="margin-bottom: 12pt">
<font size="3" face="Times New Roman"><span style="font-size: 12pt">Sample config:<br><br> /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/opt/rt3/bin/rt-mailgate --queue General --action correspond --url <a href="http://localhost/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://localhost/</a>" >/dev/null<br>
<br> cat /opt/rt3/.fetchmailrc <br> set logfile=/opt/rt3/fetchmail<br> poll <a href="http://pop.mail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pop.mail.com</a> proto pop3 user <a href="mailto:rt3@mail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rt3@mail.com</a> with pass "blabla" to rt3 here</span></font></p>
<div><p><span><font size="3" face="Times New Roman"><span style="font-size: 12pt">2008/4/4, Nelson Pereira <<a href="mailto:npereira@protus.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">npereira@protus.com</a>>:</span></font></span></p>
<div link="#0000ff" vlink="#800080"><div><p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt">Hi all,</span></font></p><p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt"> </span></font></p>
<p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt">Finaly got it all setup with the instructions on wiki on a RHEL5 fresh…</span></font></p><p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt"> </span></font></p>
<p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt">I have went through all the manual instructions and everything seems well.</span></font></p><p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt"> </span></font></p>
<p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt">Now, I need RT to fetch the emails from a POP3 box and bring them into RT.</span></font></p><p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt"> </span></font></p>
<p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt">How can I achieve this? Is there docs on this setup?</span></font></p><p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt"> </span></font></p>
<p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt">Thansk</span></font></p><p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt"> </span></font></p><p><font size="2" face="Arial [monotype]"><span style="font-size: 10pt"> </span></font></p>
<p style="margin-bottom: 12pt"><font size="3" face="Times New Roman"><span style="font-size: 12pt"> </span></font></p><table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding-top: 0in; padding-right: 0in; padding-bottom: 0in; padding-left: 0in">
<p><b><font size="2" color="#000033" face="Verdana [microsoft]"><span style="font-size: 10pt; color: #000033; font-weight: 700">Nelson Pereira</span></font></b>   <font size="1" color="#000033" face="Verdana [microsoft]"><span style="font-size: 7.50pt; color: #000033"><br>
   Senior Network Administrator <br><br>   Protus IP Solutions Inc. <br><a href="mailto:npereira@protus.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">npereira@protus.com</a> <br>   phone: 613.733.0000 ext.528 <br>
   MyFax: 613.822.5083 <br><a href="http://www.myfax.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.myfax.com</a> <br><br>   Refer your friends and colleagues to MyFax! <br><a href="http://www.myfax.com/referral_program.asp" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Click   here for more information.</a> </span></font></p>
</td><td style="padding-top: 0in; padding-right: 0in; padding-bottom: 0in; padding-left: 0in"><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"><a href="http://www.myfax.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><span style="text-decoration: none"><img border="0" width="233" height="60" src="cid:image001.gif@01C89887.ABA4A480" alt="www.MyFax.com"></span></a></span></font></p>
</td></tr></tbody></table><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"> </span></font></p></div></div><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"><br> _______________________________________________<br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br><br>
 Community help: <a href="http://wiki.bestpractical.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://wiki.bestpractical.com</a><br> Commercial support: <a href="mailto:sales@bestpractical.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sales@bestpractical.com</a><br>
<br><br> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br> Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://rtbook.bestpractical.com</a></span></font></p>
</div><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"> </span></font></p></span></div></div></blockquote></div><br>