You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

get_from.lua 292B

12345678910
  1. rspamd_config:register_symbol({
  2. name = 'GET_FROM',
  3. score = 1.0,
  4. callback = function(task)
  5. local a = task:get_from('mime')
  6. if not a then return end
  7. a = a[1]
  8. return true, (a.name or '') .. ',' .. (a.addr or '') .. ',' .. (a.user or '') .. ',' .. (a.domain or '')
  9. end
  10. })