Re: Limit SA to scan messages 100k and below

2010-04-05 Thread Keith De Souza
Hi John* 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? * No reason really, initially it was set to the default (300secs) which I thought was what was causing the errors in the logs. I've set it to 60secs just as a test to

Re: Limit SA to scan messages 100k and below

2010-04-04 Thread Keith De Souza
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. In essence, from what you're

Re: Limit SA to scan messages 100k and below

2010-04-04 Thread John Hardin
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

Re: Limit SA to scan messages 100k and below

2010-04-03 Thread Keith De Souza
*It allows you to adjust the relative priority of spam processing. If SA is not invoked during SMTP (i.e. not during the interactive part of mail exchange, where the computer on the other end has to wait for it to finish processing before it can go on to the next message it wants to send), then

Re: Limit SA to scan messages 100k and below

2010-04-01 Thread Keith De Souza
Hi Guys, Firstly, many thanks for all your replies. I've now made some changes to my spamd conf file (/etc/conf.d/spamd) based on the replies given. This is what it looks like now: == SPAMD_OPTS=-m 6 -H -u mail -D --timeout-child=60 # spamd stores its pid in this file. If you use the

Re: Limit SA to scan messages 100k and below

2010-04-01 Thread John Hardin
On Thu, 1 Apr 2010, Keith De Souza wrote: I've now made some changes to my spamd conf file (/etc/conf.d/spamd) based on the replies given. This is what it looks like now: == SPAMD_OPTS=-m 6 -H -u mail -D --timeout-child=60 You don't need -D (debugging output) unless you're actively

Limit SA to scan messages 100k and below

2010-03-31 Thread Keith De Souza
Hi Guys, My current sysadmin has now left the company and I'm new to SA and Exim. Needless to say I have been assigned the task to look after the server . I'm hoping I've come to the right place for my questions to be answered. The system I have is running on: Gentoo Base System release 1.12.10

Re: Limit SA to scan messages 100k and below

2010-03-31 Thread Mikael Syska
Hi On Wed, Mar 31, 2010 at 2:24 PM, Keith De Souza kbdeso...@googlemail.com wrote: Hi Guys, [snip] I've read somewhere that the default setting for SA to scan a message is 500k. Can I reduce this, so that SA scans messages 100k and below? Have you tried google first ?

Re: Limit SA to scan messages 100k and below

2010-03-31 Thread Karsten Bräckelmann
On Wed, 2010-03-31 at 13:24 +0100, Keith De Souza wrote: My current sysadmin has now left the company and I'm new to SA and Exim. [...] I've read somewhere that the default setting for SA to scan a message is 500k. That's actually the default for spamc. Messages exceeding the threshold just

Re: Limit SA to scan messages 100k and below

2010-03-31 Thread Mikael Syska
Hi, Remember to respond to the mailing list ... so other users can follow this also ... On Wed, Mar 31, 2010 at 2:54 PM, Keith De Souza kbdeso...@googlemail.com wrote: Hi, But are there are reason for dropping it? I'm having a few errors in my Exim logs from legitamate senders not coming

Re: Limit SA to scan messages 100k and below

2010-03-31 Thread Keith De Souza
Hi * You need to change whatever glue you are using to pass messages to SA, and skip the scanning for messages larger than your desired threshold. *Sorry as I'm new to SA can you elaborated what you mean by glue? * That said, IMHO 100k is rather low. Why do you want that particular threshold?*

Re: Limit SA to scan messages 100k and below

2010-03-31 Thread Keith De Souza
Hi Oops only realized after I had sent you the message - but will do. * Are you running sa-update ?* I might not be, how can I check? * Are there lots of mails in the queue? *No mails in the queue. I should also say that, mail is coming in fine and we are receving it but certain legitamate

Re: Limit SA to scan messages 100k and below

2010-03-31 Thread Jeff Mincy
From: Keith De Souza kbdeso...@googlemail.com Date: Wed, 31 Mar 2010 14:10:50 +0100 Hi * You need to change whatever glue you are using to pass messages to SA, and skip the scanning for messages larger than your desired threshold. *Sorry as I'm new to SA can you

Re: Limit SA to scan messages 100k and below

2010-03-31 Thread Bowie Bailey
Keith De Souza wrote: I'm trying to understand why is it taking 300.0 seconds to scan a message only 24Kb in size?? I'm begeining to think that because SA is taking so long to scan the message, it is timing out and hence Exim returning a temporarily reject after DATA. My thoughs so far is

Re: Limit SA to scan messages 100k and below

2010-03-31 Thread Charles Gregory
On Wed, 31 Mar 2010, Keith De Souza wrote: Sorry as I'm new to SA can you elaborated what you mean by glue? Geek terminology for the program, script or other mechanism that 'connects' your MTA and your SA. Ie. The calling MTA or its script must do the size check, then decide *whether* to

Re: Limit SA to scan messages 100k and below

2010-03-31 Thread Martin Gregorie
On Wed, 2010-03-31 at 15:06 +0200, Mikael Syska wrote: I'm trying to understand why is it taking 300.0 seconds to scan a message only 24Kb in size?? Use the sysstat tool-set to find out what's going on in your system and fix that. I agree with those who say that -m 25 is too large a value.