I get /usr/bin/perl upon typing that command, but when I type which rt-mailgate it cannot find it with that command, is that the problem?<br><br><div><span dir="ltr" id=":x2">[rpatel@ec02 ~]$ which perl<br>/usr/bin/perl<br>
[rpatel@ec02 ~]$ which rt-mailgate<br>/usr/bin/which: no rt-mailgate in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/rpatel/bin)</span><br></div><div><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 1:33 PM, Mauricio Tavares <span dir="ltr"><<a href="mailto:raubvogel@gmail.com">raubvogel@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, Jul 28, 2010 at 4:26 PM, George Simpson<br>
<<a href="mailto:simpsongeorge68@gmail.com">simpsongeorge68@gmail.com</a>> wrote:<br>
> /usr/bin/perl I think is what I wrote here, is that not correct?<br>
><br>
</div>      What do you get by typing `which perl` in your machine?<br>
<div><div></div><div class="h5"><br>
> On Wed, Jul 28, 2010 at 12:57 PM, Mike Johnson <<a href="mailto:mike.johnson@nosm.ca">mike.johnson@nosm.ca</a>> wrote:<br>
>><br>
>> If you copy/pasted, the error would be you are missing a / infront of your<br>
>> perl path...<br>
>><br>
>> not sure if you just missed that when you copy/pasted or not...<br>
>><br>
>> On Wed, Jul 28, 2010 at 3:21 PM, George Simpson<br>
>> <<a href="mailto:simpsongeorge68@gmail.com">simpsongeorge68@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi,<br>
>>> It's still passing syntax errors, I have verified that the paths are<br>
>>> right, but its finding problems with the perl path. Is there anything that I<br>
>>> am doing wrong? I posted the line in my previous post.<br>
>>><br>
>>> On Wed, Jul 28, 2010 at 12:02 PM, Mike Johnson <<a href="mailto:mike.johnson@nosm.ca">mike.johnson@nosm.ca</a>><br>
>>> wrote:<br>
>>>><br>
>>>><br>
>>>> Yes, this all goes into the .fetchmailrc file for the user executing<br>
>>>> fetchmail, and yes, you'd have to adjust the settings to point to your<br>
>>>> various pieces like perl, mailgate, RT url(note mine doesn't end with /rt3),<br>
>>>> and obviously the email server you are needing to pull emails from.<br>
>>>><br>
>>>> HTH.<br>
>>>> Mike.<br>
>>>><br>
>>>><br>
>>>> On Wed, Jul 28, 2010 at 2:24 PM, George Simpson<br>
>>>> <<a href="mailto:simpsongeorge68@gmail.com">simpsongeorge68@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> Thanks for the reply!<br>
>>>>> I am really new to all of this, I just became an Intern at this company<br>
>>>>> after one year of college and they asked me to set up RT. The<br>
>>>>> 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">helpdesk@mydomain.com</a> password mypassword  ssl mda<br>
>>>>> "/usr/bin/perl /opt/rt3/bin/rt-mailgate --url <a href="http://rt.mydomain.com" target="_blank">http://rt.mydomain.com</a> --queue<br>
>>>>> General --action correspond"<br>
>>>>> goes in the fetchmail.conf file right? I can do something like that for<br>
>>>>> the .fetchmailrc file, if that is the right one. The difference is that our<br>
>>>>> rt-mailgate path is usr/sbin/rt-mailgate is that all I put for "usr/bin/perl<br>
>>>>> /opt/rt3/bin/rt-mailgate"?<br>
>>>>> Thanks for the help, and sorry for the complete lack of knowledge.<br>
>>>>> George<br>
>>>>><br>
>>>>> On Wed, Jul 28, 2010 at 11:09 AM, Mike Johnson <<a href="mailto:mike.johnson@nosm.ca">mike.johnson@nosm.ca</a>><br>
>>>>> wrote:<br>
>>>>>><br>
>>>>>> In your fetchmail config, you tell fetchmail to send the emails it<br>
>>>>>> grabs to a specific process.  For RT to create a ticket from an email, you<br>
>>>>>> need to give the email to rt-mailgate.<br>
>>>>>><br>
>>>>>> You do this through the fetchmail config file.<br>
>>>>>><br>
>>>>>> This is an example of one grabbing email from a google apps account<br>
>>>>>> and sending it to rt-mailgate<br>
>>>>>><br>
>>>>>> 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">helpdesk@mydomain.com</a> password mypassword  ssl mda<br>
>>>>>> "/usr/bin/perl /opt/rt3/bin/rt-mailgate --url <a href="http://rt.mydomain.com" target="_blank">http://rt.mydomain.com</a> --queue<br>
>>>>>> General --action correspond"<br>
>>>>>> Hope that helps.<br>
>>>>>> Mike.<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> On Wed, Jul 28, 2010 at 1:08 PM, George Simpson<br>
>>>>>> <<a href="mailto:simpsongeorge68@gmail.com">simpsongeorge68@gmail.com</a>> wrote:<br>
>>>>>>><br>
>>>>>>> Hello again.<br>
>>>>>>> We finally got fetchmail to work! thanks to everyone who helped, it<br>
>>>>>>> now is up and running. However, we hit a snag while trying to set it up so<br>
>>>>>>> that people just sent emails to <a href="mailto:helpdesk@myurl.com">helpdesk@myurl.com</a> and it creates a ticket.<br>
>>>>>>> I think we have to set up aliases in fetchmail so that that email address is<br>
>>>>>>> forwarded to the RT helpdesk queue, but I cannot seem to find out how to do<br>
>>>>>>> it. Is there any documentation about doing this anywhere? I cannot seem to<br>
>>>>>>> find it here nor with the all-powerful google. Thanks in advance, and I<br>
>>>>>>> really appreciate everyones help!<br>
>>>>>>> George<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">http://rtbook.bestpractical.com</a><br>
>>>>>><br>
>>>>>><br>
>>>>>><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">mike.johnson@nosm.ca</a><br>
>>>>><br>
>>>><br>
>>>><br>
>>>><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">mike.johnson@nosm.ca</a><br>
>>><br>
>><br>
>><br>
>><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">mike.johnson@nosm.ca</a><br>
><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">http://rtbook.bestpractical.com</a><br>
><br>
</div></div></blockquote></div><br></div>