Guest User

Untitled

a guest
Oct 11th, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. ${if or {{exists{${acl_m1_home}/.spamd/ip.whitelist}{${if match_ip{$sender_host_address}{iplsearch;$acl_m1_home/.spamd/ip.whitelist}{yes}{no}}}{no}}{eq{$sender_address_local_part}{postmaster}{yes}{no}}{eq{$sender_address_local_part}{noreply}{yes}{no}}{eq{$sender_address_local_part}{no-reply}{yes}{no}}{eq{$sender_address_local_part}{no-reply}{yes}{no}}{eq{$sender_address_local_part}{no_reply}{yes}{no}}}}
  2.  
  3.  
  4. Prettified(best as I could get it, since the code editors I use screw the above up badly):
  5. ${if
  6. or{
  7. {exists
  8. {$
  9. {acl_m1_home
  10. }/.spamd/ip.whitelist
  11. }
  12. {$
  13. {if
  14. match_ip
  15. {$sender_host_address
  16. }
  17. {iplsearch;$acl_m1_home/.spamd/ip.whitelist
  18. }
  19. {yes
  20. }
  21. {no
  22. }
  23. }
  24. }
  25. {no
  26. }
  27. }
  28. {eq
  29. {$sender_address_local_part
  30. }
  31. {postmaster
  32. }
  33. {yes
  34. }
  35. {no
  36. }
  37. }
  38. {eq
  39. {$sender_address_local_part
  40. }
  41. {noreply
  42. }
  43. {yes
  44. }
  45. {no
  46. }
  47. }
  48. {eq
  49. {$sender_address_local_part
  50. }
  51. {no-reply
  52. }
  53. {yes
  54. }
  55. {no
  56. }
  57. }
  58. {eq
  59. {$sender_address_local_part
  60. }
  61. {no-reply
  62. }
  63. {yes
  64. }
  65. {no
  66. }
  67. }
  68. {eq
  69. {$sender_address_local_part
  70. }
  71. {no_reply
  72. }
  73. {yes
  74. }
  75. {no
  76. }
  77. }
  78. }
  79. }
Advertisement
Add Comment
Please, Sign In to add comment