[rt-users] Issue with Fetchmail

20/20 Lab lab at pacbell.net
Thu Jun 28 12:10:22 EDT 2012


On 06/26/2012 11:19 AM, Borngunners wrote:
> I made the correction to your suggestion and RT seems to be fetching 
> tickets from helpdesk at health.umd.edu, but I get this message after 
> looking into the log:
>
> root at helpdesks:/var/tmp/rt-4.0.5# tail .f /var/log/fetchmail.log
> tail: cannot open `.f' for reading: No such file or directory
> ==> /var/log/fetchmail.log <==
> sh: 1: /opt/rt4/bin/mailgate: not found
> fetchmail: reading message helpdesk at ticket.co.it@zimbra.ticket.co.it:2 
> of 8 (7944 octets) (log message incomplete)
> fetchmail: MDA returned nonzero status 127
> fetchmail:  not flushed
> sh: 1: /opt/rt4/bin/mailgate: not found
> fetchmail: reading message helpdesk at ticket.co.it@zimbra.ticket.co.it:3 
> of 8 (85746 octets) (log message incomplete)
> fetchmail: error writing message text
> fetchmail: MDA error while fetching from 
> helpdesk at ticket.co.it@zimbra.ticket.co.it
> fetchmail: Query status=6 (IOERR)
> fetchmail: terminated with signal 15
>
>
> Anyway that this message can be cleared.
>
> Thanks
>
>
>
> -----Original Message-----
> From: 20/20 Lab <lab at pacbell.net>
> To: Borngunners <borngunners at aol.com>
> Cc: rt-users <rt-users at lists.bestpractical.com>
> Sent: Tue, Jun 26, 2012 12:15 pm
> Subject: Re: [rt-users] Issue with Fetchmail
>
> --snip--
>> fetchmail: about to deliver with: /opt/rt4/bin/mailgate --queue 
>> general --action correspond --url http://helpdesks.ticket.co.it/
>> #*************************************.***************.***********sh: 
>> 1: /opt/rt4/bin/mailgate: not found
> --snip--
>
>
> Ok, your username is fixed and your authenticating correctly.  
> However,   its /opt/rt4/bin/rt-mailgate, not /opt/rt4/bin/mailgate.  
> Just change that in your fetchmailrc file and you should be good to go.
>
> -Matt
Still looks like fetchmail is trying to route your messeges through 
/opt/rt4/bin/mailgate.  Somewhere in your fetchmailrc(s) you have 
/opt/rt4/bin/mailgate.  It needs to be /opt/rt4/bin/*rt-*mailgate.

altho, a not advisable, you could run 'sudo ln /opt/rt4/bin/rt-mailgate 
-s /opt/rt4/bin/mailgate'  It'll create a link that fetchmail can 
follow.  It wont fix the problem with your fetchmail, but it'll allow 
fetchmail to pipe your messages correctly.

-Matt

-Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120628/71544ecf/attachment.htm>


More information about the rt-users mailing list