Hello list,
i have a problem with my exim/spamassassin setup. It seems that exim isnt
defering mails when there arises a problem with the spamc<->spamd pipe
delivery.
A huge amount of mails get unscanned through the setup and i think that
this happens without piping the mails through spamassassin. In the mainlog
the mails which get unscanned through get the P=spam-scanned flag, but they
dont appear in the spamassassin logfile.
I believe that exim doesnt defer the mails instead it forward them to the
next router.
I thought when setting "temp_errors = *", "timeout = 2h" and "timeout_defer
= true" in the spamassassin transport, that this shouldnt happen, but maybe
iam wrong or iam missunderstanding some things.
----------------
spamcheck_router:
no_verify
condition = "${if and {\
{!eq {$received_protocol}{spam-scanned}}\
{eq {1} {${lookup mysql{select
domain,vscan,spamdest,spamredirect,routedata,uid,gid,maildir,quota,spamscan
from mail.domains where domain='$domain'}{${extract{spamscan}{$value}}}}}}\
}\
{1}{0}\
}"
driver = accept
transport = spamcheck
----------------
----------------
spamcheck:
driver = pipe
command = /usr/local/sbin/exim -oMr spam-scanned -bS
use_bsmtp = true
transport_filter = /usr/local/bin/spamc -d 212.82.225.104 -u "${lookup
mysql {select username from mail.userpref where username='$local_p
art@$domain'}{$local_part@}}$domain"
home_directory = "/tmp"
current_directory = "/tmp"
user = mailnull
group = mail
log_output = true
return_path_add = false
message_prefix =
message_suffix =
temp_errors = *
ignore_status = false
timeout = 2h
timeout_defer = true
----------------
I have huge amount of such log entries in the paniclog file:
----------------
2006-04-07 15:50:55 1FRrJh-000FRw-CH == xxx@??? R=spamcheck_router
T=spamcheck defer (35): Resource temporarily unavailable: Error 35
2006-04-07 15:50:58 1FRrMX-000H9S-Js daemon: delivery process fork failed:
Resource temporarily unavailable
2006-04-07 15:50:58 1FRrMX-000HJU-T8 == xxx@??? R=spamcheck_router
T=spamcheck defer (35): Resource temporarily unavailable: Error 35
2006-04-07 15:50:58 1FRrMX-000HJT-Ut daemon: delivery process fork failed:
Resource temporarily unavailable
2006-04-07 15:50:58 daemon: accept process fork failed: Resource
temporarily unavailable
2006-04-07 15:50:58 1FRrML-000H5P-86 daemon: delivery process fork failed:
Resource temporarily unavailable
2006-04-07 15:50:59 daemon: accept process fork failed: Resource
temporarily unavailable
2006-04-07 15:50:59 1FRrMY-000HJi-HH daemon: delivery process fork failed:
Resource temporarily unavailable
-----------------
kind regards,
Christian Meutes
systems engineer
--
claranet gmbh internet service provider
tel +49 (0) 69 - 40 80 18 - 300
email: christian.meutes@???
http://www.claranet.de/