spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: out of memory error


From: Cassandra L Brockett
Subject: RE: out of memory error
Date: Sun, 12 Jun 2005 12:06:25 -0700

Just read this email quickly, and there is one thing I note here that
might be problematic.

You are listing "size more than 100 megabyte", I do not know of many
corporate or ISP mail servers that will accept mail that large in a
single message.  In fact the largest I know of at present is 20Mb's per
message.

No mailserver I have ever configured allows more than 10Mb's, so my mail
servers would automatically bounce that message when it's size was over
that.

I personally would suggest you cap message sizes down lower.  I know
with emailing mp3's and video files that can be difficult, so generally
the way I handle that is provide links to the page on a local server
(via http) and then just email the link to the file on that server.
Once you know the person you are emailing to has the file, then you
remove the files from the webserver.

Regards,
Cassandra Brockett

PS - I suspect that the code was written in such a way as to not expect
more than 100Mb's for a single email due to the above situation with
most major mailservers world-wide.

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden
> ] On Behalf Of Eugene H. Brezin
> Sent: Sunday, June 12, 2005 8:48 AM
> To: address@hidden
> Subject: out of memory error
> 
> Hello!
> 
> Sorry, what i'm writing into mail list as well as to a 
> support page, becouse i'm not shure, what somone looking 
> support page to much often.. :) And sorry for my bad english..
> 
> I'll just copy to mail list those messages, what i've posted 
> into a support page..
> 
> ==========----
> Thanks guys for great program! Sorry for my poore english. 
> I use old spamass-milter from previous release. Everythink 
> was fine, until i found a problem: when i send a really big 
> message (attachment with a several mp3s or some avi file with 
> size more when 100 megabite) via sendmail with enabled 
> spamass-milter, it's falling down, after the message 
> complitely arrives to sendmail. In a /var/log/maillog i see: 
> 
> Jun 11 22:07:18 bsdbox sm-mta[99637]: j5BE3BAK099637: 
> from=<address@hidden>, 
> size=180965243, class=0, nrcpts=1, 
> msgid=<address@hidden>, p 
> roto=ESMTP, daemon=MTA, relay=otherhost.ru [xx.xx.xx.xx] 
> Jun 11 22:07:24 bsdbox sm-mta[99637]: j5BE3BAK099637: 
> milter_read(spamassassin): cmd rea 
> d returned 0, expecting 5 
> Jun 11 22:07:24 bsdbox sm-mta[99637]: j5BE3BAK099637: Milter 
> (spamassassin): to error st 
> ate 
> Jun 11 22:07:24 bsdbox spamc[99819]: oops! message_dump of 
> 8192 returned different 
> Jun 11 22:07:24 bsdbox last message repeated 7 times 
> Jun 11 22:07:51 bsdbox sm-mta[99637]: j5BE3BAK099637: Milter 
> (kavmilter): timeout before 
> data read 
> Jun 11 22:07:51 bsdbox sm-mta[99637]: j5BE3BAK099637: Milter 
> (kavmilter): to error state 
> Jun 11 22:07:51 bsdbox sm-mta[99637]: j5BE3BAK099637: Milter: 
> data, reject=451 4.7.1 Ple 
> ase try again later 
> Jun 11 22:07:51 bsdbox sm-mta[99637]: j5BE3BAK099637: 
> to=<address@hidden>, delay=0 
> 0:04:40, pri=30388, stat=Please try again later 
> 
> Then i torn on spamass-milter whithout -f flag, to get 
> understand, what is going on. Everythink was the same, only, 
> then it falls again, it says: 
> 
> # /usr/local/sbin/spamass-milter -b address@hidden 
> -p /var/run/spamass-milter.sock 
> 
> out of memory 
> 
> So heres mu question. Is it a bug in the programm and if i'll 
> switch to latest reliase, that bug will gone, or i just doing 
> something wrong (with options or whatever) Thanks again! Will 
> wating for yours comments and suggestions :)
> 
> ====-----------
> Forgot to say. Maby this can give you a clue.. 
> I'm using FreeBSD 4.9 release, spamass-milter assembled from 
> the port tree with their patch, version 0.2.0. The patch is: 
> --- spamass-milter.cpp.orig Thu Jun 26 18:10:44 2003 
> +++ spamass-milter.cpp Wed Jul 2 14:12:25 2003 
> @@ -102,6 +102,10 @@ 
> #include <csignal> 
> #include <string> 
> #include <iostream> 
> +using std::string; 
> +using std::cout; 
> +using std::cerr; 
> +using std::endl; 
> 
> #ifdef __cplusplus 
> extern "C" { 
> And Sendmail, which comes with distribution... 
> (Sendmail 8.12.9p2/8.12.9) 
> Wating your comments, jokes, suggestions :) Thenks anyway
> 
> =====--------
> It's a production mail server. That's why i'm so afraid to do 
> any changes.. Like install new version of a spamass-milter, 
> becouse old one works fine over 1,5 years. "Until it's 
> working - don't touch anything" :) But, we are pay for 
> incoming internet traffic. And then i found, what really big 
> emails are bounced by sendmail (couse falling milter) and 
> noone receives that email becouse it's bounsed, traffic 
> exists, but we can't to bill that recepient. (Sorry for ugly 
> english) Hope you understand that i trying to say. 
> 
> Today is a weekend. Mail server almost idle. So i decided to 
> install new release of spamass-milter 0.3.0. Everifing is 
> fine, but the problem still exist whith big emails. Then i 
> started milter whithout -f option to see, what will happends, 
> it's falls again whith the same quit message - "out of memory"... 
> 
> Eugene.
> 
> =======--------
> 
> Sorry! :) I was wrong. The couse of bouncing mail was 
> kaspersky antivirus (kavmilter if to be exact) with his wrong 
> timeout settings. So then i tune up this settings , no more 
> bounced mail happends. 
> But spamass-milter still falling down after such big sized 
> emails, and spam still able to sneak up to our mail boxes 
> after milter's fall... 
> 
> Eugene
> 
> 
> 
> 
> _______________________________________________
> Spamass-milt-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/spamass-milt-list
> 
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]