Outbound flag in Lua?

17 views
Skip to first unread message

Frank Schnell

unread,
Oct 9, 2017, 2:45:14 PM10/9/17
to rsp...@googlegroups.com
Outbound mail is detected perfectly by Rspamd.

Is there a flag in the Lua rspamd_task module or somewhere else I could check to see when Rspamd has detected outbound message?

I know I can check task:get_user() but this does not identify all outbound.

Vsevolod Stakhov

unread,
Oct 9, 2017, 3:17:26 PM10/9/17
to Frank Schnell, rsp...@googlegroups.com
task:get_user() or (ip and ip:is_local())

Frank Schnell

unread,
Oct 9, 2017, 4:12:19 PM10/9/17
to rsp...@googlegroups.com
Thank you!
Reply all
Reply to author
Forward
0 new messages