Since I’m not going to be reading any email for the next few weeks I finally got around to setting up a sieve script to automagically sort my email serverside into folders. So when I come back home I won’t be overwhelmed by emails from my server about the 15 people trying to break in each day or other crap.
require “fileinto”;
if header :matches “Subject” “\*\*\*\*\*SPAM\*\*\*\*\*” {
fileinto “user.blargh.SPAM”;
}
elsif address :domain :is “from” “blargh.ipxserver.de” {
fileinto “user.blargh.Server”;
}
else {
keep;
}
More From dopefish
dopefish Recommends
- Free web filter, firewall and vpn server (Sysadmin Ramblings)
- Create a free iTunes account, with no credit card needed (Sysadmin Ramblings)



No Comments on "Sieve"