<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>RE: [rt-users] fetchmail</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Ok thanks that is helpful for the aliases part! so I have placed:</FONT>
</P>
<P><FONT SIZE=2>rt: "|/etc/smrsh/rt-mailgate --queue 'Solutions Queue' --action correspond --url <A HREF="http://helpdesk/rt/" TARGET="_blank">http://helpdesk/rt/</A>"</FONT>
<BR><FONT SIZE=2>rt-comment: "|/opt/rt3/bin/rt-mailgate --queue general --action comment --url <A HREF="http://helpdesk/rt/" TARGET="_blank">http://helpdesk/rt/</A>" </FONT>
</P>
<P><FONT SIZE=2>I placed the /etc/smrsh/rt-mailgate as stated for Redhat Distros (checked the directory and the rt-mailgate was already there)</FONT></P>
<P><FONT SIZE=2>into the /etc/aliases file as I read in the documentation.</FONT>
</P>
<P><FONT SIZE=2>I then send a test message to each queue, </FONT>
</P>
<P><FONT SIZE=2>echo 'hello1018' | mail -s "Test subject" rt-comment</FONT>
</P>
<P><FONT SIZE=2>And</FONT>
</P>
<P><FONT SIZE=2>echo 'hello1015' | mail -s "Test subject" rt</FONT>
</P>
<BR>
<P><FONT SIZE=2>If I do it to some other user, I get an error in my root mailbox (saying user is not known) so I know the mail part is working.</FONT></P>
<P><FONT SIZE=2>After I send the test messages, I do not get any error or informational messages in /opt/rt3/var/log/rt.log nor /var/log/messages</FONT></P>
<P><FONT SIZE=2>Yet the tickets are not created. I also restarted apache as stated in the documentation.</FONT>
</P>
<P><FONT SIZE=2>T.J. Maciak</FONT>
</P>
<P><FONT SIZE=2>Internet/Intranet Developer</FONT>
<BR><FONT SIZE=2>Department of IT</FONT>
<BR><FONT SIZE=2>City of Grand Rapids</FONT>
<BR><FONT SIZE=2>P: (616)456-3713</FONT>
<BR><FONT SIZE=2>F: (616)456-3448</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Rainer Duffner [<A HREF="mailto:rainer@ultra-secure.de">mailto:rainer@ultra-secure.de</A>] </FONT>
<BR><FONT SIZE=2>Sent: Wednesday, June 29, 2005 9:54 AM</FONT>
<BR><FONT SIZE=2>To: Maciak, TJ</FONT>
<BR><FONT SIZE=2>Cc: rt-users@lists.bestpractical.com</FONT>
<BR><FONT SIZE=2>Subject: Re: [rt-users] fetchmail</FONT>
</P>
<P><FONT SIZE=2>Maciak, TJ wrote:</FONT>
</P>
<P><FONT SIZE=2>> I am running RT as root and do not have a user on my Fedora Core 3 </FONT>
<BR><FONT SIZE=2>> system called "RT".</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> If I run fetchmail to process email that it grabs from an exchange </FONT>
<BR><FONT SIZE=2>> server and place into a specified queue do I need to create a </FONT>
<BR><FONT SIZE=2>> rt@localhost <<A HREF="mailto:rt@localhost">mailto:rt@localhost</A>> (on the rt server) user or can I </FONT>
<BR><FONT SIZE=2>> just place the .fetchmailrc file into the /root directory?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Also does anybody have some tips on how/where to enter the aliases for</FONT>
<BR><FONT SIZE=2>> rt: and rt-comment: ?</FONT>
<BR><FONT SIZE=2>> this is in reference to the archive list on fetchmail at </FONT>
<BR><FONT SIZE=2>> <A HREF="http://lists.bestpractical.com/pipermail/rt-users/2005-April/030786.ht" TARGET="_blank">http://lists.bestpractical.com/pipermail/rt-users/2005-April/030786.ht</A></FONT>
<BR><FONT SIZE=2>> ml</FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>You might want to go to wiki.bestpractical.com and search for "fetchmail".</FONT>
<BR><FONT SIZE=2>The setup discribed in the article works very well.</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>Rainer</FONT>
</P>
</BODY>
</HTML>