On Sun, 4 Apr 2010, Keith De Souza wrote:
Hi John*
I take it the [?] means you didn't understand what I was trying to
explain? I'd be happy to try again, if you wish to understand what
"niceness" means.*
Sorry didn't realise, it was meant to be a smiley symbol ;-) but was
replaced by a question mark instead.
Ah. Character set issues, I guess.
In essence, from what you're saying, the niceness level in spamassassin
will dictate the priority of processing. I'm assuming the higher the
niceness level its set, the least priority it has?
Correct.
Should I be setting this or can it be left out? My server is only
running running Exim, Apache (for only one website) and SA
You'd only worry about it if users started complaining about delays in
interactive tasks on that box.
If you get a lot of mail and the response for the website is suffering
then you could look into adjusting the priority of spamd. If you are
calling spamd during SMTP then reducing the priority of spamd would make
the remote MTA wait longer to get the "mail accepted for delivery"
message. Priority tuning can be a tradeoff, but generally you want to tune
to minimize the delay that actual people are seeing in interactive tasks.
Also I've set the timeout to 60secs:
=====
SPAMD_OPTS="-m 6 -H -u mail --timeout-child=60"
=====
Does this mean that SA will scan the message for up to 60seconds before it
is let through?
I think so. I have never explored that option myself, as I don't care how
long it takes to scan a message.
In essence what will happen to the message after the timeout set? will the
message just be let through?
That depends on how your glue is configured to respond to spamd reporting
an error. In general, discarding the messaeg is a bad idea, but the MTA
could either deliver the message unscanned, or return it to the queue to
try again later.
I have to ask, is your mail really so time-critical that you're not
willing to wait two minutes for spamd do to its job?
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
How can you reason with someone who thinks we're on a glidepath to
a police state and yet their solution is to grant the government a
monopoly on force? They are insane.
-----------------------------------------------------------------------
9 days until Thomas Jefferson's 267th Birthday