You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by nxxs <nx...@gmx.net> on 2006/05/23 02:09:38 UTC

"out of memory" when receiving larger mails

Hi folks!

I really need help installing SA 3.0.3 to my debian 3.1 vserver with 256MB
RAM and lots of swap space.

I am using SpamAssassing together with Qmail through the ifspamh script. I
added a call to the ifspamh script to my user's .qmail file and it works
quite well.

The only problem is that I cannot receive mails above a certain size
(usually mails with attachments). They simply dont get delivered. 
I can read the following error message in my syslog:

qmail: 1148341842.937112 starting delivery 79: msg 61161737 to local
5-robin@dronezone.de
qmail: 1148341842.937179 status: local 1/10 remote 0/20
qmail: 1148341846.521070 delivery 79: deferral:
/usr/bin/ifspamh:_line_75:_out_of_memory/
qmail: 1148341846.521146 status: local 0/10 remote 0/20

I have no idea what to do about it. THANKS for any help!!
Cheers,
Robin
--
View this message in context: http://www.nabble.com/%22out+of+memory%22+when+receiving+larger+mails-t1666097.html#a4515012
Sent from the SpamAssassin - Users forum at Nabble.com.


Re: "out of memory" when receiving larger mails

Posted by nxxs <nx...@gmx.net>.
But I am using spamc/spamd. I think that the ifspamh-script is a wrapper for
spamc. Inside the ifspamh-script gets spamc called. 
I read already that spamc normally won't scan messages larger 256kb by
default. Thats my problem: It seems that spamc tries to scan the large
messages anyway. The 256kb limit seems not to be active.

Any hints?

Cheers,
Robin
--
View this message in context: http://www.nabble.com/%22out+of+memory%22+when+receiving+larger+mails-t1666097.html#a4522209
Sent from the SpamAssassin - Users forum at Nabble.com.


Re: "out of memory" when receiving larger mails

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
On 5/22/2006 8:09 PM, nxxs wrote:

> The only problem is that I cannot receive mails above a certain size
> (usually mails with attachments). They simply dont get delivered. 
> I can read the following error message in my syslog:
> 
> qmail: 1148341842.937112 starting delivery 79: msg 61161737 to local
> 5-robin@dronezone.de
> qmail: 1148341842.937179 status: local 1/10 remote 0/20
> qmail: 1148341846.521070 delivery 79: deferral:
> /usr/bin/ifspamh:_line_75:_out_of_memory/
> qmail: 1148341846.521146 status: local 0/10 remote 0/20
> 
> I have no idea what to do about it. THANKS for any help!!

Don't scan large messages (if you were using spamc/spamd it wouldn't 
scan messages larger than 256KB by default for this very reason).

Daryl