# Exim filter << DO NOT REMOVE THIS LINE # # $Id: .forward,v 1.1 2005/08/08 11:12:44 jp107 Exp $ #C# DAMTP sample exim filter file - #C# This file has only being tested on damtp systems and may not work #C# on any other systems. #C# All commands in this file are commented out, with a #. #C# To activate a line remove the # from the start of it. #C# Lines starting with #C# are not valid commands and should be #C# left alone. #C# Any line starting with a "#" is a comment and ignored by the system. #C# To comment a line put a "#" before it, to uncomment it remove the "#" #C# FORWARDING EMAIL #C# If you would like to keep a copy of your email in damtp and forward #C# another off site uncomment the unseen deliver line below and change #C#the email address to your off site email address #unseen deliver you@your.email.address #C# Uncomment the line below if you would like to temporary forward your email #C# to another site. #deliver you@your.email.address #C# To permanently forward your email off site email help with your remote #C# email address and we will add it to the system alias file. #C# SPAM FILTERING #C# Increase the number of s's for less strict spam filtering #C# Decrease the number of s's for stricted filtering # if $h_X-Cam-SpamScore # contains ssssss then # save mail/spam # seen finish #endif #C# FORWARDING AFTER SPAM FILTERING #C# If you would prefer to filter the spam first and only forward #C# the email not considered to be spam, uncomment one of the #C# two lines below, the first forwards your email and keeps #C# a copy in damtp, the second only forwards the email, #C# changing the email address to yours. #unseen deliver you@your.email.address #deliver you@your.email.address #C# VACATION MESSAGES #C# Change the message for vacation subject if you like. #C# Optionally also create a file called .vacation.msg and in it put #C# a message to reply to the emails with. #C# The once_repeat line is how frequently in days the vacation message, is #C# sent to the same sender. This number can be changed eg 1d, for #C# once a day. #C# To activate your vacation message uncomment the four lines below #if personal then # vacation subject "Away from my mail" # once_repeat 7d #endif #C# GETTING RID OF UNWANTED EMAIL FROM A CERTAIN ADDRESS #C# change email@email.address to the address you are blocking #C# This will quietly throw away all email from that user. #C# Uncomment the 3 lines below to implement. Copy them to use with #C# more than one address #if $header_From: matches user@email.address then # seen finish #endif