<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<TITLE>Spambayes crashes my Outlook</TITLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=355424817-14092006>Hiya,
</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=355424817-14092006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=355424817-14092006>If you
go to your Outlook 2003 -> [Tools] -> [E-mail Accounts] ->
[View or Change Existing E-mail Accounts] and list the name and type
of each. </SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN
class=355424817-14092006>Then the same for [View or change existing directories
or address books]. List name and type of each.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=355424817-14092006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=355424817-14092006>It
couldn't hurt to paste in the first part of the spambayes1.log in your local
temp directory (C:\Documents and Settings\YOUR PROFILE\Local
Settings\Temp\spambayes1.log). For me, though, the log was not helpful as
the crash happened so early in startup. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=355424817-14092006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=355424817-14092006>I
think you have exactly the same circumstances that I had because you
had to disable the Add-in manually. On startup it has some
protection code in there that will automatically disable it, if it detects
an error. Because the error I was seeing was caused by an Access Violation
(apparently out of process), it did not return a proper exception to SpamBayes
and thus left Outlook crippled.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=355424817-14092006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=355424817-14092006>I
should warn you I'm not a regular contributor -- a SpamBayes hacker at
best. I was simply determined to have it work, as the users were already
trained on it, it works extremely well, and it's open-source. I've found
the source code to be very well written IMHO, and I was able to locate this bug
and re-build the setup.exe with the cvs InnoSetup instructions
inside of a day.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=355424817-14092006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=355424817-14092006>Roland;</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=355424817-14092006></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Sabban, David
[mailto:dsabban@amazon.com]<BR><B>Sent:</B> Thursday, September 14, 2006 11:20
AM<BR><B>To:</B> Roland Hordos<BR><B>Subject:</B> RE: [Spambayes] Spambayes
crashes my Outlook<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=979101917-14092006><FONT face=Arial
color=#008000>Hi Roland - </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=979101917-14092006><FONT face=Arial
color=#008000></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=979101917-14092006><FONT face=Arial
color=#008000>Happy to do some looking under the hood for you, I'll need some
coaching.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=979101917-14092006><FONT face=Arial
color=#008000></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=979101917-14092006><FONT face=Arial
color=#008000>Not sure where to find info about the MAPI connector.... if you
can send me to some places to look, I'm happy to give you the
info.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=979101917-14092006><FONT face=Arial
color=#008000></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=979101917-14092006><FONT face=Arial
color=#008000>Thanks!</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Roland Hordos
[mailto:rolandhordos@tundraeng.com] <BR><B>Sent:</B> Thursday, September 14,
2006 10:11 AM<BR><B>To:</B> Sabban, David;
spambayes@python.org<BR><B>Subject:</B> RE: [Spambayes] Spambayes crashes my
Outlook<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=630294216-14092006><FONT face=Arial color=#0000ff size=2>Hi
David,</FONT></SPAN></DIV>
<DIV><SPAN class=630294216-14092006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=630294216-14092006><FONT face=Arial color=#0000ff size=2>I'm
curious about which MAPI connectors you may be using? I had a similar
problem show up for me, using the CommuniGate MAPI connector. As it
turned out, the SpamBayes code where the error was
caused appeared to be just fine -- the call out to the MAPI system
was returning 2 stores instead of 1 and Outlook would crash each time it tried
to access the second store. I modified the SpamBayes source to
work around it successfully. I'm not sure if you're inclined to get
under the hood of it, but it might help the SpamBayes group to know the
details of your Outlook environment.</FONT></SPAN></DIV>
<DIV><SPAN class=630294216-14092006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=630294216-14092006><FONT face=Arial color=#0000ff
size=2>Roland;</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
spambayes-bounces@python.org [mailto:spambayes-bounces@python.org]<B>On
Behalf Of </B>Sabban, David<BR><B>Sent:</B> Thursday, September 14, 2006
10:25 AM<BR><B>To:</B> spambayes@python.org<BR><B>Subject:</B> [Spambayes]
Spambayes crashes my Outlook<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial>Hi - </FONT></P>
<P><FONT face=Arial>I just installed SpamBayes on my Outlook 2003, running
Windows XP.</FONT> </P>
<P><FONT face=Arial>It crashes outlook so that it can't even start. I've now
chosen the option to "disable" the pluggin, so I can use outlook.</FONT></P>
<P><FONT face=Arial>Any way to get around this that you know of?</FONT> </P>
<P><FONT face=Arial>If not, how do I go about uninstalling SpamBayes so I
can try again at a later date?</FONT> </P>
<P><FONT face=Arial>Thanks much!</FONT>
</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>