Zimbra Filter rules? (solved)

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
barrydegraaff
Zimbra Employee
Zimbra Employee
Posts: 242
Joined: Tue Jun 17, 2014 3:31 am
Contact:

Re: Zimbra Filter rules? (solved)

Post by barrydegraaff »

To disable filter, you have to remove it like so:

zmprov md example.com zimbraAdminSieveScriptBefore ""

zmprov ma vip@example.com zimbraAdminSieveScriptBefore ""
--
Barry de Graaff
Email: barry.degraaff [at] synacor [dot] com
Admin of Zimbra-Community Github: https://github.com/orgs/Zimbra-Community/ and the
Zimlet Gallery https://gallery.zetalliance.org/extend/
killmasta93
Posts: 47
Joined: Tue Oct 04, 2016 9:54 pm

Re: Zimbra Filter rules? (solved)

Post by killmasta93 »

Thank you so much that did the trick
killmasta93
Posts: 47
Joined: Tue Oct 04, 2016 9:54 pm

Re: Zimbra Filter rules? (solved)

Post by killmasta93 »

barrydegraaff wrote:To disable filter, you have to remove it like so:

zmprov md example.com zimbraAdminSieveScriptBefore ""

zmprov ma vip@example.com zimbraAdminSieveScriptBefore ""

Just realized a tiny dilema,
if the the email with the subject goes to the junk folder having the subject SPAM: Then the subject
when the user responds it will be RE: SPAM: then the subject

which then it will keep going to the spam folder

So not sure if when they send that email to remove the SPAM: on the subject be possible?

or add another filter would be the header option i tried the following meaning any spam level 5 and above should go to junk folder right?

Code: Select all

#Filter email based on spam level 
require ["fileinto", "mailbox"];
if header :contains "X-Spam-Level" "*****"
{
    fileinto :create "Junk";
}

I tried doing a test this is the outcome of the email but cant seem to get it working

Code: Select all

From: "test" <test@gmail.com>
X-Priority: 3 (Normal)
Importance: Normal
Errors-To: test@gmail.com
Reply-To: test@gmail.com
Content-Type: text/plain; charset=utf-8
Message-Id: <20210625190508.C0BE624120@emkei.cz>
Date: Fri, 25 Jun 2021 21:05:08 +0200 (CEST)
X-SPAM-LEVEL: Spam detection results:  5
	DKIM_ADSP_CUSTOM_MED    0.001 No valid author signature, adsp_override is CUSTOM_MED
	FORGED_GMAIL_RCVD           1 'From' gmail.com does not match 'Received' headers
	FREEMAIL_FROM           0.001 Sender email is commonly abused enduser mail provider
	NML_ADSP_CUSTOM_MED       1.2 ADSP custom_med hit, and not from a mailing list
	SPF_HELO_PASS          -0.001 SPF: HELO matches SPF record
	SPF_SOFTFAIL            0.972 SPF: sender does not match SPF record (softfail)
	SPOOFED_FREEMAIL        1.496 -
	SPOOF_GMAIL_MID          0.43 From Gmail but it doesn't seem to be...

dfgdfg
Thank you
killmasta93
Posts: 47
Joined: Tue Oct 04, 2016 9:54 pm

Re: Zimbra Filter rules? (solved)

Post by killmasta93 »

so after a few days i still not figure out how to configure it correctly to get the header option
any ideas what im missing?

Thank you
Post Reply