...
No Format |
---|
if ($SIZE < 256000)
{
exception {
xfilter "spamassassin"
}
}
if (/^X-Spam-Flag: YES$/)
{
# add the four headers that represent low priority
exception {
xfilter 'reformail -I "X-Priority: 5" \
-I "Priority: Non-Urgent"
-I "Importance: low" \
-I "X-MSMail-Priority: Low"'
}
}
else
{
if (/^X-Priority: 5$/ || \
/^Priority: Non-Urgent$/ || \
/^Importance: low$/ || \
/^X-MSMail-Priority: Low$/)
{
# Remove low priority headers by piping through reformail.
# If end-users filter on low priority headers, this will avoid
# false positives.
exception {
xfilter 'reformail -I "X-Priority:" \
-I "Priority:" \
-I "Importance:" \
-I "X-MSMail-Priority:"'
}
}
|