-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 31 Oct 2002, Jeff Burstein wrote:
> You seem to be running into two main problems: > > 1) Your mail traffic is extremely bursty (it all comes at once!). > > 2) Your MTA doesn't seem to do anything to limit resource consumption. (I'm > not familiar with exim as to whether this is an option or not -- by default, > sendmail will just queue mail once load goes over 12, and 4xx mail with load > over 25). I'll check this. Thanks. > Some suggestions: > > 1) Run fetchmail as a daemon (or cron) throughout the day. You don't say > whether or not you're on dialup, but if you have a persistent > connection, this > is your best bet for smoothing out your mail flow. Well, I do run fetchmail as a daemon and I can pretend to have a persistant connection (I'm behind a router that does dial-on-demand. There's no per minute cost involved). My problem is, I'm the only user of the machine and I'm not at home most of the day on workdays. There my machine doesn't run 24/7 but gets used once a day (for some hours). Consequently most of the mail arrives just after booting the box. There's basically nothing I can do against this. > 2) fetchmail's 'fetchlimit' option. man fetchmail for more details. I know this. I have also found out that 'batchlimit' helps a bit. It's seem you are likely to avoid overloading when setting a low batchlimit such as 5. > 3) As you mentioned, spamc/spamd. It makes a huge difference as > spawning a new > perl interpreter for each message is a huge resource hit. Yes, and it works perfectly well with my situation. The load is always low enough not to crash the machine and if running both fetchmail, procmail and spamd nicely, you won't notice at all that mails are processed in background. That's exactly what I want. > 4) Your setup would be just fine removing the MTA altogether. Use > fetchmail's 'mta' option and point it directly at procmail. As fetchmail > executes the "mta" synchronously, you will only have one copy of procmail and > one copy of spamassassin running at a time. No need to get a real MTA > involved at all. Great idea. I didn't think of that. Thanks. Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE9wqS0Y6Nk2Nv6ZRcRAhAAAJ4kHCg5u+Yg0ZNf7LVo8kiEX2QiWgCeMUhY GNn/+UmhAdoFoa0Thf7CW18= =1LoA -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk