<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff size=2>I am
getting closer I believe. I am able to get rt-mailgate to check the proper
email account on our Exchange server and it sees that there are messages.
However I am getting the following error after it checks the
mail:</FONT></SPAN></DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff
size=2>fetchmail: removing stale lockfile<BR>FETCHM~1: starting fetchmail 6.2.5
daemon<BR>FETCHM~1: sleeping at Thu Sep 16 09:14:54 2004<BR>FETCHM~1: awakened
at Thu Sep 16 09:15:54 2004<BR>1 message for <A
href="mailto:rt@domain">rt@domain</A> at mail.domain.com.<BR>reading message <A
href="mailto:rt@domain.com@mail.domain.com:1">rt@domain.com@mail.domain.com:1</A>
of 1 (645 header octets) (970<BR> body octets) .RT server
error.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff size=2>The RT
server which handled your email did not behave as expected.
It<BR>said:</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff size=2>%#
BEGIN LICENSE BLOCK<BR>%#<BR>%# Copyright (c) 1996-2003 Jesse Vincent <<A
href="mailto:jesse@bestpractical.com">jesse@bestpractical.com</A>><BR>%#<BR>%#
(Except where explicitly superceded by other copyright notices)<BR>%#<BR>%# This
work is made available to you under the terms of Version 2 of<BR>%# the GNU
General Public License. A copy of that license should have<BR>%# been provided
with this software, but in any event can be snarfed<BR>%# from <A
href="http://www.gnu.org">www.gnu.org</A>.<BR>%#<BR>%# This work is distributed
in the hope that it will be useful, but<BR>%# WITHOUT ANY WARRANTY; without even
the implied warranty of<BR>%# MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU<BR>%# General Public License for more
details.<BR>%#<BR>%# Unless otherwise specified, all modifications, corrections
or<BR>%# extensions to this work which alter its source code become the<BR>%#
property of Best Practical Solutions, LLC when submitted for<BR>%# inclusion in
the work.<BR>%#<BR>%#<BR>%# END LICENSE
BLOCK<BR><%ARGS><BR>$message<BR>$queue => 1<BR>$action =>
"correspond"<BR>$ticket => undef<BR></%ARGS><BR><%init><BR>use
RT::Interface::Email;<BR>my ( $status, $error, $Ticket ) =
RT::Interface::Email::Gateway(\%ARGS);<BR></%init><BR><%flags><BR>inherit
=> undef # inhibit UTF8 conversion done in
/autohandler<BR></%flags><BR>% if ($status == -75 ) {<BR>temporary
failure<BR>% }<BR>% elsif ($status == 1)
{<BR>ok<BR>% if ( $Ticket->Id )
{<BR>Ticket: <% $Ticket->Id %><BR>Queue: <%
$Ticket->QueueObj->Name %><BR>Owner: <%
$Ticket->OwnerObj->Name %><BR>Status: <% $Ticket->Status
%><BR>Subject: <% $Ticket->Subject %><BR>Requestor: <%
$Ticket->Requestors->MemberEmailAddressesAsString
%><BR>% }<BR>% } else
{<BR>not ok - <%$error%><BR>% }</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff
size=2>FETCHM~1: MDA returned nonzero status 75<BR> not
flushed<BR>FETCHM~1: sleeping at Thu Sep 16 09:16:32 2004<BR>FETCHM~1: awakened
at Thu Sep 16 09:17:32 2004</FONT></SPAN></DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff
size=2> This is my conf file:</FONT></SPAN></DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff size=2>#<BR>#
Please change all upper-case words to desired values,<BR># and save as
"rt-mailgate.conf" <BR>#<BR>poll mail.senexco.com proto imap:<BR>username <A
href="mailto:rt@domain.com">rt@domain.com</A> password xxx mda
"c:/progra~1/ourInternet/common/perl/bin/perl.exe
c:/progra~1/ourinternet/reques~1/rt/bin/rt-mailgate.in --url <A
href="http://localhost:8284/">http://localhost:8284/</A> --queue GENERAL
--action correspond"</FONT></SPAN></DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413100614-16092004><FONT face=Arial color=#0000ff size=2>I
searched the archives again and cannot find any information on what to do with
the nonzero status. Most people are getting status 127 anyway. I'd
love to get this working to replace our out dated tracking software.
Thanks in advance for any help.</DIV>
<DIV><BR></DIV></FONT></SPAN>
<DIV> </DIV>
<DIV> </DIV>
<P><FONT face=Arial size=2>Thanks,</FONT> <BR><FONT face=Arial
size=2> mhb</FONT> </P>
<P><FONT face=Arial size=2>Michael H. Brown</FONT> <BR><FONT face=Arial
size=2>Network Administrator</FONT> <BR><FONT face=Arial size=2>Senex Services
Corp.</FONT> <BR><FONT face=Arial size=2>317.613.3000 ext. 217</FONT> <BR><FONT
face=Arial size=2>brownmh@senexco.com</FONT> <BR><FONT face=Arial size=2><A
href="http://www.senexco.com/" target=_blank>http://www.senexco.com</A></FONT>
</P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] <B>On Behalf Of </B>Michael
H. Brown<BR><B>Sent:</B> Wednesday, September 15, 2004 4:39 PM<BR><B>To:</B>
rt-users@lists.bestpractical.com<BR><B>Subject:</B> [rt-users] Another Win32
Email Question<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Thanks to </FONT><FONT face=Arial color=#000000
size=2>Autrijus for making the Windows port extremely easy to install and
configure!</FONT> <BR><FONT face=Arial color=#000000 size=2>I am having some
problems getting RT to accept emails. I have RT installed on it's own
box running Windows 2000 Server. It will send out email perfectly.
We have an Exchange 2000 server that handles all of our email using SMTP and
MAPI. I seem to be missing something in the instructions. I've
searched this list and wiki.bestpractical.com to no avail. I tried the
following 2 configurations for fetchmail with no real results:</FONT></P>
<P><FONT face=Arial color=#000000 size=2>poll mail.domain.com proto
MAPI:</FONT> <BR><FONT face=Arial color=#000000 size=2>username root password
mypass mda "c:/progra~1/ourInternet/common/perl/bin/perl.exe
c:/progra~1/ourinternet/reques~1/rt/bin/rt-mailgate.in --url </FONT><A
href="http://localhost:8284/"><U></U><U><FONT face=Arial color=#0000ff
size=2>http://localhost:8284/</FONT></U></A><FONT face=Arial color=#000000
size=2> --queue GENERAL --action correspond"</FONT></P>
<P><FONT face=Arial color=#000000 size=2>And</FONT> <BR><FONT face=Arial
color=#000000 size=2>poll mail.domain.com proto pop3:</FONT> <BR><FONT
face=Arial color=#000000 size=2>username root password mypass mda
"c:/progra~1/ourInternet/common/perl/bin/perl.exe
c:/progra~1/ourinternet/reques~1/rt/bin/rt-mailgate.in --url</FONT> <A
href="http://localhost:8284/"><U></U><U><FONT face=Arial color=#0000ff
size=2>http://localhost:8284/</FONT></U></A><FONT face=Arial color=#000000
size=2> --queue GENERAL --action correspond"</FONT></P>
<P><FONT face=Arial color=#000000 size=2>What steps do I need to take to get
RT to work with my Exchange server? </FONT><BR><FONT face=Arial
color=#000000 size=2>If I need to use fetchmail where does the conf file
go?</FONT> <BR><FONT face=Arial color=#000000 size=2>Which username and
password is the conf file looking for? The root for RT or one that has
admin privileges for the Exchange server.</FONT></P><BR>
<P><FONT face=Arial size=2>Thanks,</FONT> <BR><FONT face=Arial
size=2> mhb</FONT> </P>
<P><FONT face=Arial size=2>Michael H. Brown</FONT> <BR><FONT face=Arial
size=2>Network Administrator</FONT> <BR><FONT face=Arial size=2>Senex Services
Corp.</FONT> <BR><FONT face=Arial size=2>317.613.3000 ext. 217</FONT>
<BR><FONT face=Arial size=2>brownmh@senexco.com</FONT> <BR><A
href="http://www.senexco.com"><U><FONT face=Arial color=#0000ff
size=2>http://www.senexco.com</FONT></U></A> </P></BLOCKQUOTE></BODY><!--[object_id=#SID=010500000000000515000000b626a82fe375987b7b204646e9070000#]--><P align=left><FONT color=#0000ff><FONT size=2><FONT face=Tahoma>
<HR>
The Senex Services Corp. email system added the following official information to this message.<BR></FONT></FONT><FONT face=Tahoma size=2>
<HR>
</FONT></FONT><FONT color=#0000ff><FONT size=2><FONT face=Tahoma>NOTICE OF CONFIDENTIALITY<BR>
<HR>
The information in this email, including attachments, may be confidential and/or </FONT></FONT><FONT face=Tahoma size=2>privileged and may contain confidential health information. This email is intended to be reviewed only by the individual or organization named as addressee. If you have received this email in error please notify Senex Services Corp. immediately - by return message to the sender or to </FONT></FONT><A href="mailto:security@senexco.com"><FONT face=Tahoma size=2>security@senexco.com</FONT></A><FONT face=Tahoma color=#0000ff size=2> - and destroy all copies of this message and any attachments. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Senex Services Corp. Confidential health information is protected by state and federal law, including, but not limited to, the Health Insurance Portability and Accountability Act (HIPAA) of </FONT><FONT size=2><FONT face=Tahoma color=#0000ff>1996 and related regulations. <BR>
<HR>
<HR>
</FONT></FONT>
<P></P></HTML>