[rt-users] Need RT to fetchmail...
Nelson Pereira
npereira at protus.com
Mon Apr 7 13:24:13 EDT 2008
I got sendmail working now....
All is good...
Now I have to work on the templates...
When the requester receives the response back on a -action correspond,
with a subject line of [example.com #2] AutoReply: testing111 and they
get this message:
What stipulates the formatting of the subject line? I would like it to
be a ticket number not example.com #2....
Greetings,
This message has been automatically generated in response to the
creation of a trouble ticket regarding:
"testing111",
a summary of which appears below.
There is no need to reply to this message right now. Your ticket has
been assigned an ID of [example.com #2].
Please include the string:
[example.com #2]
in the subject line of all future correspondence about this issue. To do
so, you may reply to this message.
Thank you,
otrs at protus.org
________________________________
From: Vitaliy Okulov [mailto:vitaliy.okulov at gmail.com]
Sent: Monday, April 07, 2008 12:59 PM
To: Nelson Pereira
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Need RT to fetchmail...
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>
<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>
<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/e97f675c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4180 bytes
Desc: image001.gif
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080407/e97f675c/attachment.gif>
More information about the rt-users
mailing list