[Rspamd-Users] Forwarding detection and SRS
Kapetanakis Giannis
bilias at edu.physics.uoc.gr
Wed Sep 23 08:17:37 UTC 2026
Hi,
Looking at https://github.com/rspamd/rspamd/blob/master/src/plugins/lua/aliases.lua
and specifically check_fwd_sieve() and check_fwd_cpanel()
there is a prerequisite for SRS inside those functions:
if envfrom[1].user:lower():find('^srs[01]=') then
if task:has_header('X-Sieve-Redirected-From') then
return true, 'sieve'
end
end
return false
Is this ok? I have mails coming to my gateway (without SRS) after redirect and are not being detected.
This is strange because SRS check is in another function.
detected, fwd_type, info = check_fwd_srs(task)
if detected then return detected, fwd_type, info end
detected, fwd_type, info = check_fwd_sieve(task)
if detected then return detected, fwd_type, info end
regards,
Giannis
More information about the Users
mailing list