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?

the line:

username [email protected] password password ssl mda "/usr/bin/perl
/user/sbin/rt-mailgate --url http://localhost/rt3/ --queue helpdesk --action
correspond"

mydomain is set to my domain, and the password is imputed correctly.

Thanks!

George

On Wed, Jul 28, 2010 at 11:09 AM, Mike Johnson <[email protected]> wrote:

> 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.
>
> You do this through the fetchmail config file.
>
> This is an example of one grabbing email from a google apps account and
> sending it to rt-mailgate
>
> poll imap.gmail.com proto imap port 993:
> username [email protected] password mypassword  ssl mda "/usr/bin/perl
> /opt/rt3/bin/rt-mailgate --url http://rt.mydomain.com --queue General
> --action correspond"
>  Hope that helps.
> Mike.
>
>
>
>
> On Wed, Jul 28, 2010 at 1:08 PM, George Simpson <[email protected]
> > wrote:
>
>> Hello again.
>>
>> 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 [email protected] 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!
>>
>> George
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>
>
>
> --
> Mike Johnson
> Datatel Programmer/Analyst
> Northern Ontario School of Medicine
> 955 Oliver Road
> Thunder Bay, ON   P7B 5E1
> Phone: (807) 766-7331
> Email: [email protected]
>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to