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,
[EMAIL PROTECTED]
________________________________
From: Vitaliy Okulov [mailto:[EMAIL PROTECTED]
Sent: Monday, April 07, 2008 12:59 PM
To: Nelson Pereira
Cc: [email protected]
Subject: Re: [rt-users] Need RT to fetchmail...
Please change http://localhost/rt3 according to your hostname.
2008/4/7, Nelson Pereira <[EMAIL PROTECTED]>:
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 [EMAIL PROTECTED]: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 [EMAIL PROTECTED]: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.
[EMAIL PROTECTED]
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: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Nelson Pereira
Sent: Monday, April 07, 2008 8:05 AM
To: Vitaliy Okulov
Cc: [email protected]
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 [EMAIL PROTECTED]:1 of 2 (11154
octets) (log message incomplete)fetchmail: error writing message text
fetchmail: MDA error while fetching from [EMAIL PROTECTED]
fetchmail: Query status=6 (IOERR)
________________________________
From: Vitaliy Okulov [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 05, 2008 2:21 AM
To: Nelson Pereira
Cc: [email protected]
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 [EMAIL PROTECTED] with pass "blabla" to rt3
here
2008/4/4, Nelson Pereira <[EMAIL PROTECTED]>:
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.
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
<<image001.gif>>
_______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
