[rt-users] Getting email to create a ticket
Brelsfoard, Alex
alexb at WPI.EDU
Mon Aug 16 16:52:03 EDT 2004
Hello all,
OK, here's the basics of what I am trying to do: when you send e message to
the account 'rtgate' it will automatically create an rt ticket.
Current our servers are running RH9, with RT 3.0.8.
I have spoken with our sysadmins and the way they want me to do this is to
have all mail going to rtgate be forwarded to a procmail command sending the
message to rt-mailgate. So here's what I've got so far. The .forward file
contains:
"|exec /usr/local/bin/procmail"
The .procmailrc file contains:
"
SHELL=/bin/sh
MAILDIR=${HOME}
LOGFILE=${MAILDIR}/procmail.log
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "
VERBOSE=yes
RT_MAILGATE="/usr/local/bin/rt-mailgate"
RT_URL="http://utility4.wpi.edu:8080/"
LOGABSTRACT=all
|/usr/bin/perl $RT_MAILGATE --queue 5 --action correspond --url $RT_URL
"
Right now when I email rtgate nothing happens. Part of the problem is that I
do not fully understand 2 major portions of these actions:
1) How the email is parsed into a ticket?
2) how to name the queue I want it to be sent to. Is it the id#? The full
name of the queue? Or am I way off base here?
Any advice would be VERY helpful.
Thank you.
--Alex
Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute
508-831-6147
alexb at wpi.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040816/2f210938/attachment.htm>
More information about the rt-users
mailing list