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

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

Re: Problem with large files


From: Dan Nelson
Subject: Re: Problem with large files
Date: Sun, 5 Oct 2003 15:21:39 -0500
User-agent: Mutt/1.5.4i

In the last episode (Oct 05), Thomas Zinner said:
> I'm a newbie at milters an have a problem with large files: After
> using the mamavis-milter (it works great!), the mails are send to the
> spamass-milter (with spamc and spamd). But I dont't want this with
> large files. The problem is: My fetchmail dont want to wait such a
> long time (some minutes!)... Because of this, I have a lot of
> trouble: No delivered mails, some mails ten times or more and so on.
> 
> I try to stop this by "-s 51000" bzw. "-s 50k" for spamc: No change.
> Every mail is sent trough the milter. Large mails are divided in
> parts with 1024bytes (I think...).

The default max_size for spamc is 250k, and if your system is taking
more then 10 seconds to process a 250k email, your problem is somewhere
else :)

If you pipe a message through spamc manually, how long does it take?

> My spamass-milter-daemon starting skript
> ==========================================================
> /usr/local/sbin/spamass-milter -d func,misc,net,poll,spamc,str,uori -f -p
> /var/run/sendmail/spamass.sock -- -s 51000 -d localhost -p 783 &
> ==========================================================

You probably don't want all those -d flags; func, poll, and spamc both
log a lot of lines for each message.  Most syslog daemons write in
synchronous mode to their logfiles, so that could be slowing you down
quite a bit.

What does "top" say when one of these big messages is being processed?

-- 
        Dan Nelson
        address@hidden




reply via email to

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