Tony Finch wrote:
> On Fri, 27 May 2005, Dickenson, Steven wrote:
>>
>> Won't this fire for every address?
>
> Yes, but the large batch_max recombines them.
Cool. Just read up on that.
>> Can SA even learn from batch smtp.
>
> I think so. BSMTP is necessary in order to make it possible to
> re-inject the messages.
Okay, but I don't want to reinject the message, just save a copy and
move on. In that instance, would something along these lines work?
# routers
# Save and done
rejected_spam:
driver = accept
condition = ${if ${def:$spam_score_int} }
condition = ${if >{$spam_score_int}{8} }
transport = spam
no_verify
# Save and continue routing
tagged_spam:
driver = accept
condition = ${if ${def:$spam_score_int} }
condition = ${if >{$spam_score_int}{5} }
transport = spam
unseen
no_verify
# transport
spam:
driver = appendfile
directory = /var/spool/exim4/training/spam
maildir_format
batch_max = 1000
user = Debian-exim
group = Debian-exim
- S