Emails from bugzilla.zimbra.com no longer get filtered into my "zimbra-bugzilla" folder. Why not? My other sieve rules seem to work OK. All the bugzilla mail lands in my INBOX.
First noticed after the upgrade of bugzilla.zimbra.com and upgrade of my server from 5.0.5->5.0.6, which happened the same day. Still a problem after upgrading my server to 5.0.7.
I've snipped a few "fileinto: (something other than INBOX); stop" rules, but otherwise this is my sieve script.
Code:
zimbraMailSieveScript: require ["fileinto", "reject", "tag", "flag"];
# logwatch-root
if allof (header :contains "from" "root@" ,
header :contains "subject" "LogWatch for" )
{
fileinto "root";
stop;
}
# backups no news is good news
if allof (header :matches "subject" "*backup-reports* SUCCEEDED" ,
header :matches "from" "root <root@ELIDED>" )
{
fileinto "/Trash";
stop;
}
# theclub
if anyof (header :is "sender" "owner-theclub@northfieldbikeclub.org" )
{
fileinto "/Sorted/theclub";
stop;
}
# Trash successful ZCS backups
if allof (header :contains "from" "admin@ELIDED" ,
header :contains "to" "admin@ELIDED" ,
header :is "subject" "ZCS Backup Report: SUCCESS" )
{
fileinto "/Trash";
stop;
}
# Discard zmbackup cron: http://bugzilla.zimbra.com/show_bug.cgi?id=19992
if allof (header :contains "from" "root@ELIDED" ,
header :contains "to" "zimbra@ELIDED" ,
header :contains "subject" "Cron <zimbra@mail2> /opt/zimbra/bin/zmbackup" )
{
discard;
stop;
}
# admin@ phishing
if allof (header :contains "from" "admin@ELIDED" ,
header :contains "to" "admin@ELIDED" ,
header :contains "subject" "VIRUS (HTML.Phishing" )
{
fileinto "/Trash";
stop;
}
# root
if anyof (header :contains "to" "root@ELIDED" )
{
fileinto "root";
stop;
}
# openexchange doesn't seem to honor unsubscribes
if anyof (header :contains "from" "portal-bounces@open-xchange.com" )
{
discard;
stop;
}
# zimbra-bugzilla
if allof (header :contains "from" "DONOTREPLY@zimbra.com" ,
exists "X-Bugzilla-Reason:" )
{
fileinto "zimbra-bugzilla";
stop;
}
# store2 disk usage is high but stable
if allof (header :contains "from" "admin@" ,
header :contains "subject" "Service /dev/mapper/store2p1 started on" )
{
fileinto "Trash";
stop;
}
# drop backup1 swatch
if allof (header :contains "from" "admin@" ,
header :contains"subject" "Service /dev/mapper/backup1 started on"
)
{
discard;
stop;
}
# zimbra-bugzilla2
if allof (header :contains "from" "DONOTREPLY@zimbra.com" ,
header :matches "subject" "RE: [Bug*" )
{
fileinto "zimbra-bugzilla";
stop;
} And here is selected source of yet another message that landed in my INBOX, but shouldn't have.
Code:
Return-Path: apache@zimbra.com
Date: Mon, 7 Jul 2008 07:31:45 -0700
Message-Id: <200807071431.m67EVjcE017033@www3.zimbra.com>
From: DONOTREPLY@zimbra.com
To: ELIDED
Subject: RE: [Bug 15320] zmrestore using restoreToTime option restores data
after the specified time
X-Bugzilla-Reason: CC
In-Reply-To: <bug-15320-1250@http.bugzilla.zimbra.com/>
References: <bug-15320-1250@http.bugzilla.zimbra.com/>