Changes of Revision 12
[-] [+] | Changed | qmailadmin.spec |
[-] [+] | Changed | qmailadmin.maildrop ^ |
@@ -14,6 +14,10 @@ logfile "/var/log/maildrop/maildrop.log" log "==== BEGIN maildrop processing for $EXT@$HOST ===" +exception { + include $VHOME/.mailfilter +} + if ((/^X-Spam-Status:.*YES/)) { `test -d $VHOME/Maildir/.Spam` | ||
[-] [+] | Added | qmailadmin.maildrop.default ^ |
@@ -0,0 +1,23 @@ +############################## +#mailfilter +############################## +import EXT +import HOST +import HOME + + + + +VHOME=`/var/vpopmail/bin/vuserinfo -d "$EXT@$HOST"` + +logfile "/var/log/maildrop/maildrop.log" +log "==== BEGIN maildrop processing for $EXT@$HOST ===" + +exception { + include $VHOME/.mailfilter +} + +to "$VHOME/Maildir/" +######################## +#END +######################## |