[rt-users] Need RT to fetchmail...

Vitaliy Okulov vitaliy.okulov at gmail.com
Mon Apr 7 12:58:46 EDT 2008


Please change http://localhost/rt3 according to your hostname.

2008/4/7, Nelson Pereira <npereira at protus.com>:
>
> Oups… I was piping it..  so the command looks like this to retrieve
> messages from the pop3 mailbox :
>
>
>
> /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/etc/smrsh/rt-mailgate
> --queue general --action correspond --url http://localhost/rt3" >
> /dev/null
>
>
>
>
>
> Then in the /opt/rt3/fetchmail log file, I get this error:
>
>
>
> 404 Not Found
>
> fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets)
> (log message incomplete)fetchmail: MDA returned nonzero status 75
>
> fetchmail:  not flushed
>
> ..........An Error Occurred
>
> =================
>
>
>
> 404 Not Found
>
> fetchmail: reading message otrs at exmail.protus.org:2 of 2 (11146 octets)
> (log message incomplete)fetchmail: MDA returned nonzero status 75
>
> fetchmail:  not flushed
>
>
>
>
>
> I finaly got it working …..
>
>
>
> The problem was the URL… for some reason, fetchmail does not like to have
> http://locahost/rt3,  rather, it wants http://192.168.5.5/rt3
>
>
>
>
>
>
>
> So since I use –correspond, I should see an email going back to the
> requester right?
>
> But this is not happening….
>
>
>
>
>
> *Nelson Pereira*
> Senior Network Administrator
>
> Protus IP Solutions Inc.
> npereira at protus.com
> phone: 613.733.0000 ext.528
> MyFax: 613.822.5083
> www.myfax.com
>
> Refer your friends and colleagues to MyFax!
> Click here for more information.<http://www.myfax.com/referral_program.asp>
>
> [image: www.MyFax.com] <http://www.myfax.com>
>
>
> ------------------------------
>
> *From:* rt-users-bounces at lists.bestpractical.com [mailto:
> rt-users-bounces at lists.bestpractical.com] *On Behalf Of *Nelson Pereira
> *Sent:* Monday, April 07, 2008 8:05 AM
> *To:* Vitaliy Okulov
> *Cc:* rt-users at lists.bestpractical.com
> *Subject:* Re: [rt-users] Need RT to fetchmail...
>
>
>
> Ok, I tried this and im getting this error in the fetchmail log…
>
>
>
> fetchmail: 2 messages for otrs at exmail.protus.org (22300 octets).
>
> sh: -c: line 0: syntax error near unexpected token `|'
>
> sh: -c: line 0: `|/etc/smrsh/rt-mailgate --queue general --action
> correspond --url http://localhost/rt3'
>
> ...fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets)
> (log message incomplete)fetchmail: error writing message text
>
> fetchmail: MDA error while fetching from otrs at exmail.protus.org
>
> fetchmail: Query status=6 (IOERR)
>
>
>
>
>
>
>
>
>
>
> ------------------------------
>
> *From:* Vitaliy Okulov [mailto:vitaliy.okulov at gmail.com]
> *Sent:* Saturday, April 05, 2008 2:21 AM
> *To:* Nelson Pereira
> *Cc:* rt-users at lists.bestpractical.com
> *Subject:* Re: [rt-users] Need RT to fetchmail...
>
>
>
> Sample config:
>
> /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m
> "/opt/rt3/bin/rt-mailgate --queue General --action correspond --url
> http://localhost/" >/dev/null
>
> cat /opt/rt3/.fetchmailrc
> set logfile=/opt/rt3/fetchmail
> poll pop.mail.com proto pop3 user rt3 at mail.com with pass "blabla" to rt3
> here
>
> 2008/4/4, Nelson Pereira <npereira at protus.com>:
>
> Hi all,
>
>
>
> Finaly got it all setup with the instructions on wiki on a RHEL5 fresh…
>
>
>
> I have went through all the manual instructions and everything seems well.
>
>
>
> Now, I need RT to fetch the emails from a POP3 box and bring them into RT.
>
>
>
> How can I achieve this? Is there docs on this setup?
>
>
>
> Thansk
>
>
>
>
>
>
>
> *Nelson Pereira*
> Senior Network Administrator
>
> Protus IP Solutions Inc.
> npereira at protus.com
> phone: 613.733.0000 ext.528
> MyFax: 613.822.5083
> www.myfax.com
>
> Refer your friends and colleagues to MyFax!
> Click here for more information.<http://www.myfax.com/referral_program.asp>
>
> [image: www.MyFax.com] <http://www.myfax.com>
>
>
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080407/e66461f5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4180 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080407/e66461f5/attachment.gif>


More information about the rt-users mailing list