I found this for grey listing:
http://wiki.exim.org/DbLessGreyListingRun
Looks simple. One thing. This is how its implemented in exim.conf:
warn set acl_m_greyfile = /var/spool/exim/greylist/${length_255:\
${sg{$sender_host_address}{\N\.\d+$\N}{}},\
${tr{$sender_address,$local_part@$domain}{/\040}{;} }}
defer log_message = greylisted
condition = ${if exists{$acl_m_greyfile}\
{${if >{${eval:$tod_epoch-\
${extract{mtime}{${stat:$acl_m_greyfile}} }}\
}{180}{0}{1}}\
}{${if eq{${run{/usr/bin/touch $acl_m_greyfile} }}{}{1}{1} }} }
message = Deferred: Temporary error, please try again later
I have a file containing a list of source IP's I do not want to grey
list. This file will dynamically contain IP's that have scored very
low with Spamassassin. How would I tell it not to grey list them?
Matt