Re: [exim] Spamassassin forgets to scan some mails

Pàgina inicial
Delete this message
Reply to this message
Autor: Oliver Kötter
Data:  
A: Troy Engel
CC: exim-users
Assumpte: Re: [exim] Spamassassin forgets to scan some mails

On Mi, 23.03.2005, 18:17, Troy Engel wrote:

> Try these subtle enhancements to your transport - I use the same tools
> but on RedHat:
>
> [ snip ]
>>       home_directory = "/tmp"
>>       current_directory = "/tmp"
>>       user = Debian-exim
>>       group = Debian-exim
>>       return_fail_output
>>       message_prefix =
>>       message_suffix =
>>       log_output = true

>
> I've always had the following in addition to the above:
>
>      batch_max = 5
>      return_path_add = false

>
> This helps SA from getting bogged down - the batch_max -- under way too
> heavy load, SA seems (to me!) to not always perform correctly. Adding a
> lot of RAM could help - spamd is a memory pig. Taking a glance, I have
> three spamd procs each using a SIZE 116meg and RSS 102meg. Oi veh.


OK, I did the changes. I only have a virtual server, so a lot of RAM is
not an option ;-)

> Such a large batch condition will happen when you have an alias expanded
> to a bucketload of final delivery addresses - ie a project/staff alias.
> Adjust the value to your machinery power of course. You could also try
> rearranging your routers so that SA is called *before* final alias
> expansion, so that it's scanned only once.


I did not really understand your last paragraph (I am still a beginner to
this all ;-))
These are my routers:

www:/etc/exim4/conf.d/router# ls -l
total 18
-rw-r--r--    1 root     root          514 Jan  6 16:13
00_exim4-config_header
-rw-r--r--    1 root     root          700 Jan  6 16:13
100_exim4-config_domain_literal
-rw-r--r--    1 root     root         1118 Jan  6 16:13
150_exim4-config_hubbed_hosts
-rw-r--r--    1 root     root         2952 Jan  6 16:13
200_exim4-config_primary
-rw-r--r--    1 root     root          191 Jan  6 16:13
300_exim4-config_real_local
-rw-r--r--    1 root     root         1073 Jan  6 16:13
400_exim4-config_system_aliases
-rw-r--r--    1 root     root          440 Jan  6 16:13
500_exim4-config_hubuser
-rw-r--r--    1 root     root         1968 Jan  6 16:13
600_exim4-config_userforward
-rw-r--r--    1 root     root          403 Jan  6 16:13
700_exim4-config_procmail
-rw-r--r--    1 root     root          323 Jan  6 16:13
800_exim4-config_maildrop
-rw-r--r--    1 root     root          402 Mar 22 16:37
850_exim4-config_spamcheck_router
-rw-r--r--    1 root     root          262 Jan  6 16:13
900_exim4-config_local_user
-rw-r--r--    1 root     root          472 Jan  6 16:13 mmm_mail4root


So I should take instead of 850 a lower number for the spamcheck router?
Which one would you take? FYI: I do not use procmail or maildrop, I use
the .forward file as Exim filter file.

Thanks,

Oliver