Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. pick one solution or combination of both
  2.  
  3. - disable AV check for authentified user
  4. /etc/rspamd/local.d/settings.conf
  5. # Disable some checks for authenticated users
  6. authenticated {
  7. priority = high;
  8. authenticated = yes;
  9. apply {
  10. groups_disabled = ["antivirus"];
  11. }
  12. }
  13.  
  14. - disable AV check for a list of IP, maybe network
  15. # `whitelist` points to a map of IP addresses. Mail from these addresses is not scanned.
  16. whitelist = "/etc/rspamd/antivirus.wl";
  17.  
  18. - disable the soft reject for authentified users
  19.  
  20. /etc/rspamd/local.d/settings.conf
  21. authenticated {
  22. priority = high;
  23. authenticated = yes;
  24. apply {
  25. symbols_disabled = ["FORCE_ACTION_CLAM_VIRUS_FAIL"];
  26. }
  27. }
  28.  
  29.  
  30. - retransmit more time but with a low timeout 10t*5s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement