=?utf-7?q?RE: Cygwin SA3.0 Problems?=

2004-09-30 Thread =?utf-7?q?Jason J Ellingson?=
Yes, that sounds right... I remember that when I followed my exact same 
instuctions on a new server, that it had these problems.  Forgot about that.  I 
agree it is a problem with CygWin version.

I did notice some compiling issues with PERL 5.8 as well (even on the older, 
stable CygWin versions)... So I always installed PERL 5.6.1.

Thanks for jogging my memory.

The working CygWin version would be before March 2004 or so (when I had did 
that fresh install that had the same problems as you).  The install I did in 
November 2003 worked fine.

- Jason


- Original Message -
From:Robert Lacroix +ADw-rl+AEA-belacove.com+AD4-
Subject: RE: Cygwin SA3.0 Problems
Date:Thu, 30 Sep 2004 11:13:06 -05:00

It's definitely a problem with spamd, spamc running in cygwin had the
same problems as spamcpp, winspamc and my own custom spamc in .NET.
SpamD just sets the FIN flag before having sent the entire message.
Luckily I had an old Cygwin installation with Perl 5.8.0 where I just
installed SA3 and now the problem is gone on all machines. So it
definitely has something to do with any cygwin package version involved.
Any ideas which one :) ?

/robert

-Original Message-
From: Jason J. Ellingson +AFs-mailto:jason+AEA-ellingson.com+AF0- 
Sent: Thursday, September 30, 2004 4:05 AM
To: Robert Lacroix+ADs- users+AEA-spamassassin.apache.org+ADs- 'JamesDR'
Subject: RE: Cygwin SA3.0 Problems

What method are you connecting to your CygWin SpamD?

Perhaps the problem is not with SpamD, but with SpamC.  I noticed that
the new SA3.0 doesn't always fill the incoming TCP for your SpamC
calling application buffer... I use 1024 byte buffers.  This may be
throwing whichever SpamC you are using into confusion as it takes a
non-full buffer to mean that this is the last packet for the email
results.  I use the new Content-length header as a check for message
completeness...

I wrote my own custom SpamC in .NET as a plug-in for XMail and stopped
having those issues you are having.

I seem to remember having some issues with WinSpamC (on sourceforge.net)
not getting the entire emails either but had pretty good luck with
the SpamC compiled in CygWin.

Feel free to email me directly.  I'm happy to help where I can.

Jason J Ellingson
Technical Consultant

615.301.1682 : nashville
612.605.1132 : minneapolis

www.ellingson.com
jason+AEA-ellingson.com



RE: Cygwin SA3.0 Problems

2004-09-30 Thread Robert Lacroix
It's definitely a problem with spamd, spamc running in cygwin had the
same problems as spamcpp, winspamc and my own custom spamc in .NET.
SpamD just sets the FIN flag before having sent the entire message.
Luckily I had an old Cygwin installation with Perl 5.8.0 where I just
installed SA3 and now the problem is gone on all machines. So it
definitely has something to do with any cygwin package version involved.
Any ideas which one :) ?

/robert

-Original Message-
From: Jason J. Ellingson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 30, 2004 4:05 AM
To: Robert Lacroix; users@spamassassin.apache.org; 'JamesDR'
Subject: RE: Cygwin SA3.0 Problems

What method are you connecting to your CygWin SpamD?

Perhaps the problem is not with SpamD, but with SpamC.  I noticed that
the new SA3.0 doesn't always fill the incoming TCP for your SpamC
calling application buffer... I use 1024 byte buffers.  This may be
throwing whichever SpamC you are using into confusion as it takes a
non-full buffer to mean that this is the last packet for the email
results.  I use the new Content-length header as a check for message
completeness...

I wrote my own custom SpamC in .NET as a plug-in for XMail and stopped
having those issues you are having.

I seem to remember having some issues with WinSpamC (on sourceforge.net)
not getting the entire emails either but had pretty good luck with
the SpamC compiled in CygWin.

Feel free to email me directly.  I'm happy to help where I can.

Jason J Ellingson
Technical Consultant

615.301.1682 : nashville
612.605.1132 : minneapolis

www.ellingson.com
[EMAIL PROTECTED]



RE: Cygwin SA3.0 Problems

2004-09-30 Thread Jason J. Ellingson
What method are you connecting to your CygWin SpamD?

Perhaps the problem is not with SpamD, but with SpamC.  I noticed that the
new SA3.0 doesn't always fill the incoming TCP for your SpamC calling
application buffer... I use 1024 byte buffers.  This may be throwing
whichever SpamC you are using into confusion as it takes a non-full buffer
to mean that this is the last packet for the email results.  I use the new
Content-length header as a check for message completeness...

I wrote my own custom SpamC in .NET as a plug-in for XMail and stopped
having those issues you are having.

I seem to remember having some issues with WinSpamC (on sourceforge.net) not
getting the entire emails either but had pretty good luck with the SpamC
compiled in CygWin.

Feel free to email me directly.  I'm happy to help where I can.

Jason J Ellingson
Technical Consultant

615.301.1682 : nashville
612.605.1132 : minneapolis

www.ellingson.com
[EMAIL PROTECTED]



RE: Cygwin SA3.0 Problems

2004-09-29 Thread Robert Lacroix
I almost spent 2 days on exactly that problem since some 3.0.0-pre
release. Yesterday I gave it another try and installed a fresh cygwin on
my computer, added the necessary perl modules and installed SpamAssassin
3.0.0. I tried one mail that definitely failed on previous versions and
suddenly it worked. Afterwards I copied the whole Cygwin directory to
the server to put it into production, started spamd there and tried the
same mail that worked on my windows xp: truncatied again ...
Then I did exactly the same steps I did on my machine to install a fresh
cygwin on the server, but that didn't fix the truncation problem. I
think I checked 5 different machines, winxp sp1, sp2, windows server
2003, windows 2000 server and got it nowhere running except on my
machine. I also checked if the PATH differs, reset NTFS permissions to
Everyone Full Access. I'm some kind of frustrated now because I can't
figure out where problem is :) Is there anything else I can check ?
If it's some kind of problem with the cygwin packages, why does it run
on my computer ?

/robert

-Original Message-
From: JamesDR [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 26, 2004 6:45 PM
To: users@spamassassin.apache.org
Subject: RE: Cygwin SA3.0 Problems

It seems something in the Cygwin packages may be causing the problem. I
have version 3.0 working here and at work under cygwin, however, I
installed cygwin wyyy back when 2.62 was just released.  If I do a
copy install (install cygwin, overwrite install) with the old version,
messages are not truncated.  I will try your directions; however, I
think that there is something in the newest Cygwin packages that mess up
spamd... Will try something else, and will let the list know (also will
try your instructions).

Thanks,
James


-Original Message-
From: Jason J. Ellingson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 26, 2004 4:46 AM
To: 'JamesDR'; users@spamassassin.apache.org
Subject: RE: Cygwin SA3.0 Problems

Here are CygWin instructions that I wrote a few months ago that worked
for
me and others up to and including SA-3.0.0-rc2... at which point I moved
to
a dedicated SuSE Linux 9.1 server for SpamD and then wrote a custom
SpamC
client on windows for XMail Server.
 
Feel free to take whatever info you want from it (just add my name to
your
credit list) as I will likely take them down in the future as I don't
use it
anymore.
 
http://www.yourtech.net/documents/cw-sa/
 

Jason J Ellingson
Technical Consultant

615.301.1682 : nashville
612.605.1132 : minneapolis

www.ellingson.com
[EMAIL PROTECTED] 

 



From: JamesDR [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 25, 2004 9:26 PM
To: users@spamassassin.apache.org
Subject: Cygwin SA3.0 Problems



I am trying to figure out how to install SA3.0 under a clean cygwin
install.
I can get it quasi working, however, I have a huge problem.  It seems
that
Spamd is truncating emails with attachments (doesn't matter the
attachment)
around the same spot.  Spamd in it's logs report that it sends back the
entire message, however, (for example) a non spam message of ~60k is
truncated to ~34k. This issue has been around since RC3, although I
don't
think it is entirely related to the code of spamd.  

The instructions I wrote, and the process I am using are available at :

http://www.jamesdr.dyndns.org/sa3.asp

I am not the only one having the issue, and it is not related to just
one
version of windows (happens on 2k pro, xp, & 2k server) if any one has
tried
a clean install of cygwin and spamassassin with the mysql
bayses/awl/user
prefs and got it working with out attachment truncation, or needs more
information, feel free to ask. We've been scratching our heads on this
one
for a while.

 

Thanks, 

James

 





RE: Cygwin SA3.0 Problems

2004-09-26 Thread JamesDR
It seems something in the Cygwin packages may be causing the problem. I
have version 3.0 working here and at work under cygwin, however, I
installed cygwin wyyy back when 2.62 was just released.  If I do a
copy install (install cygwin, overwrite install) with the old version,
messages are not truncated.  I will try your directions; however, I
think that there is something in the newest Cygwin packages that mess up
spamd... Will try something else, and will let the list know (also will
try your instructions).

Thanks, 
James


-Original Message-
From: Jason J. Ellingson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 26, 2004 4:46 AM
To: 'JamesDR'; users@spamassassin.apache.org
Subject: RE: Cygwin SA3.0 Problems

Here are CygWin instructions that I wrote a few months ago that worked
for
me and others up to and including SA-3.0.0-rc2... at which point I moved
to
a dedicated SuSE Linux 9.1 server for SpamD and then wrote a custom
SpamC
client on windows for XMail Server.
 
Feel free to take whatever info you want from it (just add my name to
your
credit list) as I will likely take them down in the future as I don't
use it
anymore.
 
http://www.yourtech.net/documents/cw-sa/
 

Jason J Ellingson
Technical Consultant

615.301.1682 : nashville
612.605.1132 : minneapolis

www.ellingson.com
[EMAIL PROTECTED] 

 



From: JamesDR [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 25, 2004 9:26 PM
To: users@spamassassin.apache.org
Subject: Cygwin SA3.0 Problems



I am trying to figure out how to install SA3.0 under a clean cygwin
install.
I can get it quasi working, however, I have a huge problem.  It seems
that
Spamd is truncating emails with attachments (doesn't matter the
attachment)
around the same spot.  Spamd in it's logs report that it sends back the
entire message, however, (for example) a non spam message of ~60k is
truncated to ~34k. This issue has been around since RC3, although I
don't
think it is entirely related to the code of spamd.  

The instructions I wrote, and the process I am using are available at :

http://www.jamesdr.dyndns.org/sa3.asp

I am not the only one having the issue, and it is not related to just
one
version of windows (happens on 2k pro, xp, & 2k server) if any one has
tried
a clean install of cygwin and spamassassin with the mysql
bayses/awl/user
prefs and got it working with out attachment truncation, or needs more
information, feel free to ask. We've been scratching our heads on this
one
for a while.

 

Thanks, 

James

 





RE: Cygwin SA3.0 Problems

2004-09-26 Thread Jason J. Ellingson
Here are CygWin instructions that I wrote a few months ago that worked for
me and others up to and including SA-3.0.0-rc2... at which point I moved to
a dedicated SuSE Linux 9.1 server for SpamD and then wrote a custom SpamC
client on windows for XMail Server.
 
Feel free to take whatever info you want from it (just add my name to your
credit list) as I will likely take them down in the future as I don't use it
anymore.
 
http://www.yourtech.net/documents/cw-sa/
 

Jason J Ellingson
Technical Consultant

615.301.1682 : nashville
612.605.1132 : minneapolis

www.ellingson.com
[EMAIL PROTECTED] 

 



From: JamesDR [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 25, 2004 9:26 PM
To: users@spamassassin.apache.org
Subject: Cygwin SA3.0 Problems



I am trying to figure out how to install SA3.0 under a clean cygwin install.
I can get it quasi working, however, I have a huge problem.  It seems that
Spamd is truncating emails with attachments (doesn't matter the attachment)
around the same spot.  Spamd in it's logs report that it sends back the
entire message, however, (for example) a non spam message of ~60k is
truncated to ~34k. This issue has been around since RC3, although I don't
think it is entirely related to the code of spamd.  

The instructions I wrote, and the process I am using are available at :

http://www.jamesdr.dyndns.org/sa3.asp

I am not the only one having the issue, and it is not related to just one
version of windows (happens on 2k pro, xp, & 2k server) if any one has tried
a clean install of cygwin and spamassassin with the mysql bayses/awl/user
prefs and got it working with out attachment truncation, or needs more
information, feel free to ask. We've been scratching our heads on this one
for a while.

 

Thanks, 

James

 




Cygwin SA3.0 Problems

2004-09-26 Thread JamesDR








I am trying to figure out how to install SA3.0 under a clean
cygwin install.  I can get it quasi
working, however, I have a huge problem. 
It seems that Spamd is truncating emails with
attachments (doesn’t matter the attachment) around the same spot.  Spamd in it’s logs report that it sends back the entire
message, however, (for example) a non spam message of ~60k is truncated to ~34k.
This issue has been around since RC3, although I don’t think it is
entirely related to the code of spamd.  

The instructions I wrote, and the process I am using are available
at :

http://www.jamesdr.dyndns.org/sa3.asp

I am not the only one having the issue, and it is not
related to just one version of windows (happens on 2k pro, xp,
& 2k server) if any one has tried a clean install of cygwin and
spamassassin with the mysql bayses/awl/user
prefs and got it working with out attachment truncation,
or needs more information, feel free to ask. We’ve been scratching our
heads on this one for a while.

 

Thanks, 

James