Page 1 of 1

How to auto reply by sender and filter

Posted: Mon Aug 31, 2015 4:40 pm
by bbond
How can I set up an automatic reply and filter by sender and text contains something.

For example, if my boss sends and email asking who wants tickets to the opera. the filter picks up her address, and "tickets", and "opera", then sends an automatic reply saying "yes, thanks!"

How to auto reply by sender and filter

Posted: Mon Oct 12, 2015 3:34 pm
by mino
Some new about that?

I would be interested in that feature.

Re: How to auto reply by sender and filter

Posted: Sat Jun 24, 2017 3:54 pm
by binny1986
Hi,

I also need that kind of filter. I want to set auto reply to specific email IDs. It would be great help for smart lazy people like me. ;D

Re: How to auto reply by sender and filter

Posted: Fri Aug 18, 2017 2:19 pm
by Onlyzen
binny1986 wrote:Hi,

I also need that kind of filter. I want to set auto reply to specific email IDs. It would be great help for smart lazy people like me. ;D
Following, Have you got your solution Binny?

Re: How to auto reply by sender and filter

Posted: Tue Apr 09, 2019 6:23 pm
by barrydegraaff
Hello All,

Introducing a new Zimlet Reply by Filter. While you could always configure Zimbra filters to send automated replies over CLI using:

Code: Select all

/opt/zimbra/bin/zmmailbox -z -m account@domain.com afrl "Filter_name" active any address "to,cc" all is "alias@domain.com" reply "Auto reply message" stop
This feature was not available to the end user in the Web Interface.
This new Zimlet adds a button in Preferences -> Filters -> Create Filter to add this functionality.

Screenhots at:
https://github.com/Zimbra-Community/reply-by-filter

So that should be the answer to the question above.

Re: How to auto reply by sender and filter

Posted: Tue Mar 29, 2022 2:39 pm
by mdearing
barrydegraaff wrote:Hello All,

Introducing a new Zimlet Reply by Filter. While you could always configure Zimbra filters to send automated replies over CLI using:

Code: Select all

/opt/zimbra/bin/zmmailbox -z -m account@domain.com afrl "Filter_name" active any address "to,cc" all is "alias@domain.com" reply "Auto reply message" stop
This feature was not available to the end user in the Web Interface.
This new Zimlet adds a button in Preferences -> Filters -> Create Filter to add this functionality.

Screenhots at:
https://github.com/Zimbra-Community/reply-by-filter

So that should be the answer to the question above.
Hi Barry,

I managed to get my administrator to implement this Zimlet on my request in an effort to further streamline my office's workflow. However, even when setting the most basic parameters for the filter (i.e. simply setting the subject filter to contain the word "test" and creating a basic reply) replies aren't sent. I've even tried running the filter on a folder only containing that singular email, and again, no luck. Could there be something I'm doing wrong on my end?

Re: How to auto reply by sender and filter

Posted: Tue Apr 05, 2022 9:53 am
by barrydegraaff
mdearing wrote:
Hi Barry,

I managed to get my administrator to implement this Zimlet on my request in an effort to further streamline my office's workflow. However, even when setting the most basic parameters for the filter (i.e. simply setting the subject filter to contain the word "test" and creating a basic reply) replies aren't sent. I've even tried running the filter on a folder only containing that singular email, and again, no luck. Could there be something I'm doing wrong on my end?
Hello mdearing,

I just tested it, and it still works, the best way to find out how to make a filter, is creating them via the WebUI first then find how out how it is stored via the command line for further command line use.

This command will give you all filter rules for a user:

Code: Select all

 zmmailbox -z -m user@example.com gfrl
In my case it returns the following filter, which I created via the WebUI:

Code: Select all

"test" active any header "subject" contains "test" keep reply Hello World! stop
And the filter indeed works, when a message with the word `test` in the subject is received, the sender gets an auto reply containing "Hello World".

Re: How to auto reply by sender and filter

Posted: Tue Jun 28, 2022 2:36 pm
by Jakob009
binny1986 wrote:Hi,

I also need that kind of filter. I want to set auto reply to specific email IDs. It would be great help for smart lazy people like me. ;D

I am in the same queue. Looking forward to your kind help. Thank you.

Re: How to auto reply by sender and filter

Posted: Wed Jul 20, 2022 6:11 am
by Heather0099
barrydegraaff wrote:Hello All,

Introducing a new Zimlet Reply by Filter. While you could always configure Zimbra filters to send automated replies over CLI using:

Code: Select all

/opt/zimbra/bin/zmmailbox -z -m account@domain.com afrl "Filter_name" active any address "to,cc" all is "alias@domain.com" reply "Auto reply message" stop
This feature was not available to the end user in the Web Interface.
This new Zimlet adds a button in Preferences -> Filters -> Create Filter to add this functionality.

Screenhots at:
https://github.com/Zimbra-Community/reply-by-filter

So that should be the answer to the question above.
Just Checked it. It was helpful. Thanks for adding screenshots. That was a plus.