Integrate Simple Greylist script with the rspamd plugin

unixguru

Verified User
Joined
Mar 6, 2010
Messages
71
Location
Four Marks, Alton, Hampshire
Hi,

I'm using the following greylisting script in /etc/exim.greylist.conf

# Grey Listing

warn set acl_m_greyfile = /etc/virtual/greylist/${length_255:\
${sg{$sender_host_address}{\N\.\d+$\N}{}},\
${sg{$sender_address,$local_part@$domain}{\N[^\w.,=@-]\N}{} }}

defer message = Deferred: Temporary error, please try again later
log_message = greylisted
sender_domains = !+local_domains
sender_domains = !+relay_domains
sender_domains = !+whitelist_domains
domains = !+skip_rbl_domains
!authenticated = *
condition = ${if exists{$acl_m_greyfile}\
{${if >{${eval:$tod_epoch-\
${extract{mtime}{${stat:$acl_m_greyfile}} }}\
}{180}{0}{1}}\
}{${if eq{${run{/bin/touch $acl_m_greyfile} }}{}{1}{1} }} }


But the greylisted emails are not getting flagged as greylisted in the rspamd plugin written by Alex.

Does anyone know a quick fix for sharing the greylisted status from this script with the rspamd implementation, so it shows up in the plugin's display?
 
Back
Top