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

AW: [vps-mail] Spamassassin Out of memory!



Abigail,
 
> MD> I just installed Spamassin on one of my VPS1 account and 
> not for whole
> MD> server. Only for 6 users. I checked now spam.log of one 
> of users and only
> MD> see six same messages:
> 
> MD> Out of memory!
> MD> procmail: Program failure (1) of "/usr/local/bin/spamassassin"
> MD> procmail: Rescue of unfiltered data succeeded
> 
> SA will have problems with large files because of memory
> problems on the VPS.
> 
> The best thing to do is to (a) limit the size of the file or
> attachment being fed to SA, and/or (b) run spamd rather than
> spamassassin.
> 
> Look at the spam.log to get an idea of the size of most spam
> that is correctly filtered, and start with a relatively low
> file size and then experiment with raising the limit until
> you figure out what is best for your system.
> 
> For spamassassin, set up procmail like this:
> 
> :0fw: spamassassin.lock
> * < 50000
> |/usr/local/bin/spamassassin
> 
> (50000 is the file size - the above recipe will only send
> emails that are smaller than 50K to spamassassin. That can
> be adjusted up or down as needed) The .lock
> specification allows only one email at a time to be sent to
> spamassassin, to prevent multiple spawning of processes).
> 
> 
> For spamd your procmail should look something like this:
> 
> :0fw
> |/usr/local/bin/spamc -p 1783 -s 75000
> 
> (75000 is the file size in this case; as noted, it can be
> adjusted up or down as needed. I'm just sharing what works
> for me)

SA didn't processed any email, and in spam.log is only "Out of memory!"
message. I use standard vinstall configuration and didn't without any
modifications. No Bayes learning or another options. On another VPS1 work SA
fine with the same standard configurations.

Kind regards,
Mike


======================================================================
Technical questions regarding this list may be sent to
<vps-mail-owner@xxxxxxxxxxxx>. You may request an automated help
response by sending an email with the word 'help' (w/o quotes) in the
BODY of the message (subject is ignored) to <vps-mail-request@xxxxxxxxxxxx>.
======================================================================


Main Index | Thread Index
Match: Format: Sort by:
Search: