aboutsummaryrefslogtreecommitdiff
path: root/systems/eldiron/mail/sieve_scripts/backup.sieve
blob: 3014c0ab71b692c378a94d3ea479989f62edfab2 (plain) (blame)
1
2
3
4
5
6
7
# vim: filetype=sieve
require ["copy","mailbox","fileinto","regex"];
if header :is "X-Spam" "Yes" {
  fileinto :create :copy "Backup/Spam";
} else {
  fileinto :create :copy "Backup/Ham";
}