daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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/"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top