a guest Jun 14th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
- VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
- if (/^X-Spam-Flag: *Yes/)
- `test -d $VHOME/Maildir/.Spam`
- if ( $RETURNCODE == 1 )
- `/usr/local/bin/maildirmake $VHOME/Maildir/.Spam`
- `echo INBOX.Spam >> Maildir/courierimapsubscribed`
- to "Maildir/.Spam/"
- `test -f $VHOME/vacation/message`
- if ( $RETURNCODE == 0 )
- if (!/^List-Unsubscribe:.*/:h )
- /X-Spam-Score: (\d+)/
- if ($MATCH1 < $RESPOND_THRESHOLD)
- cc "|/usr/bin/autorespond 86400 3 $VHOME/vacation/message $VHOME/vacation"
- to "Maildir/"
RAW Paste Data