Guest User

Untitled

a guest
Jun 14th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
  2. VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
  3.  
  4. if (/^X-Spam-Flag: *Yes/)
  5. {
  6. `test -d $VHOME/Maildir/.Spam`
  7. if ( $RETURNCODE == 1 )
  8. {
  9. `/usr/local/bin/maildirmake $VHOME/Maildir/.Spam`
  10. `echo INBOX.Spam >> Maildir/courierimapsubscribed`
  11. }
  12.  
  13. # to "$VPOPi/Maildir/.Spam/"
  14. to "Maildir/.Spam/"
  15. }
  16.  
  17. RESPOND_THRESHOLD=2.0
  18. /X-Spam-Score: (\d+)/
  19. if ($MATCH1 < $RESPOND_THRESHOLD)
  20. {
  21. xfilter "/usr/local/bin/autoresponder something something"
  22. }
  23.  
  24. to "Maildir/"
Add Comment
Please, Sign In to add comment