I just added the argument to the .fetchmailrc file, and it returned a syntax error before /usr/sbin/rt-mailgate, which means that the perl we have in /user/bin/perl is wrong, right? there is both a perl and a perl5.8.8 file in there, what does the syntax error mean in this case?<div>
<br></div><div>the line:</div><div><br></div><div>username <a href="mailto:helpdesk@mydomain.com">helpdesk@mydomain.com</a> password password ssl mda "/usr/bin/perl /user/sbin/rt-mailgate --url <a href="http://localhost/rt3/">http://localhost/rt3/</a> --queue helpdesk --action correspond"</div>
<div><br></div><div>mydomain is set to my domain, and the password is imputed correctly.</div><div><br></div><div>Thanks!</div><div><br></div><div>George<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 11:09 AM, Mike Johnson <span dir="ltr"><<a href="mailto:mike.johnson@nosm.ca">mike.johnson@nosm.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>In your fetchmail config, you tell fetchmail to send the emails it grabs to a specific process. For RT to create a ticket from an email, you need to give the email to rt-mailgate.</div>
<div> </div>
<div>You do this through the fetchmail config file.</div>
<div> </div>
<div>This is an example of one grabbing email from a google apps account and sending it to rt-mailgate</div>
<div> </div>
<div>poll <a href="http://imap.gmail.com" target="_blank">imap.gmail.com</a> proto imap port 993:<br>username <a href="mailto:helpdesk@mydomain.com" target="_blank">helpdesk@mydomain.com</a> password mypassword ssl mda "/usr/bin/perl /opt/rt3/bin/rt-mailgate --url <a href="http://rt.mydomain.com/" target="_blank">http://rt.mydomain.com</a> --queue General --action correspond"<br>
</div>
<div>Hope that helps.</div>
<div>Mike.</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jul 28, 2010 at 1:08 PM, George Simpson <span dir="ltr"><<a href="mailto:simpsongeorge68@gmail.com" target="_blank">simpsongeorge68@gmail.com</a>></span> wrote:<br>
</div></div><blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote"><div><div></div><div class="h5">Hello again.
<div><br></div>
<div>We finally got fetchmail to work! thanks to everyone who helped, it now is up and running. However, we hit a snag while trying to set it up so that people just sent emails to <a href="mailto:helpdesk@myurl.com" target="_blank">helpdesk@myurl.com</a> and it creates a ticket. I think we have to set up aliases in fetchmail so that that email address is forwarded to the RT helpdesk queue, but I cannot seem to find out how to do it. Is there any documentation about doing this anywhere? I cannot seem to find it here nor with the all-powerful google. Thanks in advance, and I really appreciate everyones help!</div>
<div><br></div><font color="#888888">
<div>George</div></font><br><br></div></div>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">http://rtbook.bestpractical.com</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Mike Johnson<br>Datatel Programmer/Analyst<br>Northern Ontario School of Medicine<br>955 Oliver Road<br>Thunder Bay, ON P7B 5E1<br>Phone: (807) 766-7331<br>Email: <a href="mailto:mike.johnson@nosm.ca" target="_blank">mike.johnson@nosm.ca</a><br>
</blockquote></div><br></div>