Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
qmailadmin
> qmailadmin.maildrop
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File qmailadmin.maildrop of Package qmailadmin (Revision 9)
Currently displaying revision
9
,
show latest
############################## #mailfilter ############################## import EXT import HOST import HOME SPAMBOX=".Spam" VHOME=`/var/vpopmail/bin/vuserinfo -d "$EXT@$HOST"` logfile "/var/log/maildrop/maildrop.log" log "==== BEGIN maildrop processing for $EXT@$HOST ===" if ((/^X-Spam-Status:.*YES/)) { `test -d $VHOME/Maildir/.Spam` if( $RETURNCODE == 1 ) { `/usr/bin/maildirmake $VHOME/Maildir/.Spam;chown -R vpopmail:vchkpw $VHOME/Maildir/.Spam` `echo "INBOX.Spam" >$VHOME/Maildir/courierimapsubscribed` } to "$VHOME/Maildir/.Spam/" } to "$VHOME/Maildir/" ######################## #END ########################