| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 54224 | 2005-02-07 05:27:00 | Linux - asking programs to pull horns in a bit | personthingy (1670) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 322358 | 2005-02-07 20:50:00 | Are you getting mail from a hosted service? That is, not just a subscriber account with an ISP, but from hosted space with a web hosting company? You could set up spamassassin there and save your machine from having to do it.Other than my one "@paradise.net.nz" account which serves only for paradise system generated messages, all my email is either "@orcon.net.nz" addresses assosiated with my play sites, or "@mydomains" which are the addresses i actually use. The latter are hosted "free" by www.registerdirect.co.nz as part of the deal with having my 2 domain registrations with them. Being "free" :rolleyes: one gets what one pays for, which is 10 x 20Mb mailboxes, with no filters unless i want to pay extra. I don't wish to pay extra. From what i can tell of Kmails control over the spamfilter, its an all or nothing deal where i either filter all addresses, or none. I'm a little dubious about server side filtering, as sometimes i find things in the spam bin that shouldn't be, and i would rather train spamassasin on my machine. |
personthingy (1670) | ||
| 322359 | 2005-02-08 01:12:00 | Nice sets the priority of a process so that it is "nice" to other users. Of course a nice-d process will run when nothing else is. And it will use "all" the processor if no other process wants it. So what? In fact, that's an advantage. As soon as Chris starts to do something, the nice-d process will drop back. You don't use at to "nice" something, unless there's a reason for doing that. Permanently dropping spamassasin's priority should be done at boot time whe it is started. There might be a little script which starts spamassassin. There is almost certainly a .conf file, which might have a line which lets you set its priority. Otherwise there's rc.local or some equivalent which will let you nice it if you know its PID. |
Graham L (2) | ||
| 322360 | 2005-02-08 01:39:00 | Simpler than finding the PID will be this: Find where spamassassin is started, and insert "/bin/nice" in front of the command . /bin/nice whatever_command_starts_sa any_arguments That will give the default value of 10 increase in the priority (which slows it) . You can pick another number . . . /bin/nice -19 would really slow it down . (As root you can give negative increments "/bin/nice -n -19" would give the maximum spedup . |
Graham L (2) | ||
| 322361 | 2005-02-08 04:08:00 | Simpler than finding the PID will be this: Find where spamassassin is started, and insert "/bin/nice" in front of the command . /bin/nice whatever_command_starts_sa any_arguments Therein lies the problem . It would appear that kmail starts spamassassin as required, so finding the script that starts it might be easier said than done . :yuck: |
personthingy (1670) | ||
| 322362 | 2005-02-08 04:52:00 | Have a look for .conf files. locate *.conf |less . Have a look at the hidden files in your user home directory, too. grep -i spam ~/.* | Graham L (2) | ||
| 322363 | 2005-02-08 05:00:00 | Therein lies the problem. It would appear that kmail starts spamassassin as required, so finding the script that starts it might be easier said than done. :yuck: Spamassassin is a filter, so look in KMails filters options to find out how it is calling it. Almost certainly some sort of pipe. Hence spamassassin will always run when KMail runs, which is probably not what you want. The best soultion is probably this: Disable spamassassin from running when KMail runs. Get KMail to download unfiltered mail into a box, say "Unfiltered Mail" periodically. Use "at" to sick spamassassin onto this box periodically under a specified load, and pass the output to two boxes of legit mail and spam. This would let you use KMail to read mail without slowing down everything else, while spamassassin works in the background when you are not using so much resources. |
vinref (6194) | ||
| 1 2 | |||||