1

Topic: Auto reply discarded even after enabling vacation-seconds

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Linux 3.13.0-74-generic x86_64 Ubuntu 14.04.3 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Not yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi -

Trying to configure vacation filter such that an auto reply is sent for every incoming message, irrespective of  sender and/or duration since last received message. Basically, it is to trigger an acknowledgement email saying we received your message.

If it makes a difference to know dovecot version, it is 2.2.9

So, following instructions from several other posts like this one, I followed how https://wiki2.dovecot.org/Pigeonhole/Si … s/Vacation suggests configuring plugins section and then cross compared with working configuration in above linked post to make sure I didn't mess up. Still, can't get the auto reply to work as expected.

Log:

May 24 07:04:08 lda(hello@mydomain.tld): Info: sieve: msgid=<69934ea6c9bafee4a4e388f1e6e05195@localhost>: discarded duplicate vacation response to <sender@otherdomain.tld>
May 24 07:04:08 lda(hello@mydomain.tld): Info: sieve: msgid=<69934ea6c9bafee4a4e388f1e6e05195@localhost>: stored mail into mailbox 'INBOX'

Interestingly, there were few discards to own address (but i'm guessing those were because I deleted few mails from inbox - moving to different folder, not sure though):

May 24 07:02:39 lda(hello@mydomain.tld): Info: sieve: msgid=<20170524070238.9BEBB2C0089@my.mailserver.tld>: discarded vacation reply to own address <hello@mydomain.tld>
May 24 07:02:39 lda(hello@mydomain.tld): Info: sieve: msgid=<20170524070238.9BEBB2C0089@my.mailserver.tld>: stored mail into mailbox 'INBOX'

plugin section from my /etc/dovecot/dovecot.conf:

plugin {
    auth_socket_path = /var/run/dovecot/auth-master

    # Quota configuration.
    # Reference: http://wiki2.dovecot.org/Quota/Configuration
    quota = dict:user::proxy::quotadict
    quota_rule = *:storage=1G
    #quota_rule2 = *:messages=0
    #quota_rule3 = Trash:storage=1G
    #quota_rule4 = Junk:ignore

    # Quota warning.
    #
    # If user suddenly receives a huge mail and the quota jumps from
    # 85% to 95%, only the 95% script is executed.
    #
    # Only the command for the first exceeded limit is executed, so configure
    # the highest limit first.
    quota_warning = storage=100%% quota-warning 100 %u
    quota_warning2 = storage=95%% quota-warning 95 %u
    quota_warning3 = storage=90%% quota-warning 90 %u
    quota_warning4 = storage=85%% quota-warning 85 %u

    # allow user to become max 10% (or 50 MB) over quota
    quota_grace = 10%%
    #quota_grace = 50 M

    # Custom Quota Exceeded Message.
    # You can specify the message directly or read the message from a file.
    #quota_exceeded_message = Quota exceeded, please try again later.
    #quota_exceeded_message = </path/to/quota_exceeded_message.txt

    # Plugin: expire.
    #expire = Trash 7 Trash/* 7 Junk 30
    #expire_dict = proxy::expire

    # ACL and share folder
    acl = vfile
    acl_shared_dict = proxy::acl

    # By default Dovecot doesn't allow using the IMAP "anyone" or
     # "authenticated" identifier, because it would be an easy way to spam
    # other users in the system. If you wish to allow it,
    #acl_anyone = allow

    # Pigeonhole managesieve service.
    # Reference: http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration
    # Per-user sieve settings.
    sieve_dir = %Lh/sieve
    sieve = %Lh/sieve/dovecot.sieve

    # Global sieve settings.
    sieve_global_dir = /var/vmail/sieve
    # Note: if user has personal sieve script, global sieve rules defined in
    #       sieve_default will be ignored. Please use sieve_before or
    #       sieve_after instead.
    #sieve_default =

    sieve_before = /var/vmail/sieve/dovecot.sieve
    #sieve_after =

    # The maximum number of redirect actions that can be performed during a
    # single script execution.
    # The meaning of 0 differs based on your version. For pigeonhole-0.3.0 and
    # beyond this means that redirect is prohibited. For older versions,
    # however, this means that the number of redirects is unlimited.
    #sieve_max_redirects = 4

    # Reference: http://wiki2.dovecot.org/Plugins/MailboxAlias
    mailbox_alias_old = Sent
    mailbox_alias_new = Sent Messages
    mailbox_alias_old2 = Sent
    mailbox_alias_new2 = Sent Items

    # REFRERENCE: https://wiki2.dovecot.org/Pigeonhole/Sieve/Extensions/Vacation
    # Use vacation-seconds
    sieve_extensions = +vacation-seconds

    # One hour at minimum
    sieve_vacation_min_period = 0

    # Ten days default
    #sieve_vacation_default_period = 10d
 
    # Thirty days at maximum
    #sieve_vacation_max_period = 30d
    sieve_vacation_max_period = 0
}

Check the bottom of above config section for settings used with vacation-seconds.

I also reloaded dovecot with:

doveadm reload

Even rebooted server after first discarded auto reply after this.

Made sure to change vacation filter setting for "reply interval" to 5 seconds in roundcube for that account. Still no success - continues to work as if vacation-seconds was not enabled, i.e., an auto reply to sender for the first time but then discards after that.

What may be going wrong with my config? Please let me know if you need any other information.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Auto reply discarded even after enabling vacation-seconds

Try to turn on debug mode in Dovecot for more detailed log:
http://www.iredmail.org/docs/debug.dovecot.html

3

Re: Auto reply discarded even after enabling vacation-seconds

ZhangHuangbin wrote:

Try to turn on debug mode in Dovecot for more detailed log:
http://www.iredmail.org/docs/debug.dovecot.html

Hi, thanks for the reply. Tried that and below is the relevant portion of log:

May 25 05:00:31 lda: Debug: Loading modules from directory: /usr/lib/dovecot/modules
May 25 05:00:31 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
May 25 05:00:31 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
May 25 05:00:31 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
May 25 05:00:31 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so
May 25 05:00:31 lda: Debug: auth input: hello@mydomain.tld master_user=hello@mydomain.tld home=/var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08/ quota_rule=*:bytes=2147483648
May 25 05:00:31 lda: Debug: Added userdb setting: plugin/master_user=hello@mydomain.tld
May 25 05:00:31 lda: Debug: Added userdb setting: plugin/quota_rule=*:bytes=2147483648
May 25 05:00:31 lda: Debug: Loading modules from directory: /usr/lib/dovecot/modules
May 25 05:00:31 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
May 25 05:00:31 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
May 25 05:00:31 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08/
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota rule: root=user mailbox=* bytes=2147483648 messages=0
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota warning: bytes=2147483648 (100%) messages=0 reverse=no command=quota-warning 100 hello@mydomain.tld
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota warning: bytes=2040109465 (95%) messages=0 reverse=no command=quota-warning 95 hello@mydomain.tld
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota warning: bytes=1932735283 (90%) messages=0 reverse=no command=quota-warning 90 hello@mydomain.tld
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota warning: bytes=1825361100 (85%) messages=0 reverse=no command=quota-warning 85 hello@mydomain.tld
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota grace: root=user bytes=214748364 (10%)
May 25 05:00:31 lda(hello@mydomain.tld): Debug: dict quota: user=hello@mydomain.tld, uri=proxy::quotadict, noenforcing=0
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//Maildir/:INDEX=/var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//Maildir/
May 25 05:00:31 lda(hello@mydomain.tld): Debug: maildir++: root=/var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//Maildir, index=, indexpvt=, control=, inbox=/var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//Maildir, alt=
May 25 05:00:31 lda(hello@mydomain.tld): Debug: acl: initializing backend with data: vfile
May 25 05:00:31 lda(hello@mydomain.tld): Debug: acl: acl username = hello@mydomain.tld
May 25 05:00:31 lda(hello@mydomain.tld): Debug: acl: owner = 1
May 25 05:00:31 lda(hello@mydomain.tld): Debug: acl vfile: Global ACL directory: (none)
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/Shared/%u
May 25 05:00:31 lda(hello@mydomain.tld): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
May 25 05:00:31 lda(hello@mydomain.tld): Debug: acl: initializing backend with data: vfile
May 25 05:00:31 lda(hello@mydomain.tld): Debug: acl: acl username = hello@mydomain.tld
May 25 05:00:31 lda(hello@mydomain.tld): Debug: acl: owner = 0
May 25 05:00:31 lda(hello@mydomain.tld): Debug: acl vfile: Global ACL directory: (none)
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota rule: root=user mailbox=* bytes=1073741824 messages=0
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota warning: bytes=1073741824 (100%) messages=0 reverse=no command=quota-warning 100 raw mail user
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota warning: bytes=1020054732 (95%) messages=0 reverse=no command=quota-warning 95 raw mail user
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota warning: bytes=966367641 (90%) messages=0 reverse=no command=quota-warning 90 raw mail user
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota warning: bytes=912680550 (85%) messages=0 reverse=no command=quota-warning 85 raw mail user
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Quota grace: root=user bytes=107374182 (10%)
May 25 05:00:31 lda(hello@mydomain.tld): Debug: dict quota: user=raw mail user, uri=proxy::quotadict, noenforcing=0
May 25 05:00:31 lda(hello@mydomain.tld): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
May 25 05:00:31 lda(hello@mydomain.tld): Debug: Destination address: hello@mydomain.tld (source: user@hostname)
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: Pigeonhole version 0.4.2 initializing
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: executed before user's personal Sieve script(1): /var/vmail/sieve/dovecot.sieve
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: using the following location for user's Sieve script: /var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//sieve/dovecot.sieve;name=main script
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: opening script 1 of 2 from /var/vmail/sieve/dovecot.sieve
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: loading script /var/vmail/sieve/dovecot.sieve
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: script binary /var/vmail/sieve/dovecot.svbin successfully loaded
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: binary save: not saving binary /var/vmail/sieve/dovecot.svbin, because it is already stored
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: executing script from /var/vmail/sieve/dovecot.svbin
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: opening script 2 of 2 from /var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//sieve/dovecot.sieve;name=main script
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: loading script /var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//sieve/dovecot.sieve;name=main script
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: script binary /var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//sieve/dovecot.svbin is not up-to-date
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: script `main script' from /var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//sieve/dovecot.sieve;name=main script successfully compiled
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: executing script from /var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//sieve/dovecot.sieve;name=main script
May 25 05:00:31 lda(hello@mydomain.tld): Info: sieve: msgid=<CAGV=trqoW7_vQsuVCshqrxVZ2EaRahJwxOnvH=t+rwnhT4-QvQ@mail.gmail.com>: discarded duplicate vacation response to <sender@gmail.com>
May 25 05:00:31 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so
May 25 05:00:31 lda: Debug: auth input: inbound@myserver.tld master_user=inbound@myserver.tld home=/var/vmail/vmail1/myserver.tld/i/n/b/inbound-2016.07.01.10.05.47/ quota_rule=*:bytes=0
May 25 05:00:31 lda: Debug: Added userdb setting: plugin/master_user=inbound@myserver.tld
May 25 05:00:31 lda: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/myserver.tld/i/n/b/inbound-2016.07.01.10.05.47/
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota warning: bytes=0 (100%) messages=0 reverse=no command=quota-warning 100 inbound@myserver.tld
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 inbound@myserver.tld
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota warning: bytes=0 (90%) messages=0 reverse=no command=quota-warning 90 inbound@myserver.tld
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota warning: bytes=0 (85%) messages=0 reverse=no command=quota-warning 85 inbound@myserver.tld
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota grace: root=user bytes=0 (10%)
May 25 05:00:31 lda(inbound@myserver.tld): Debug: dict quota: user=inbound@myserver.tld, uri=proxy::quotadict, noenforcing=0
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/vmail1/myserver.tld/i/n/b/inbound-2016.07.01.10.05.47//Maildir/:INDEX=/var/vmail/vmail1/myserver.tld/i/n/b/inbound-2016.07.01.10.05.47//Maildir/
May 25 05:00:31 lda(inbound@myserver.tld): Debug: maildir++: root=/var/vmail/vmail1/myserver.tld/i/n/b/inbound-2016.07.01.10.05.47//Maildir, index=, indexpvt=, control=, inbox=/var/vmail/vmail1/myserver.tld/i/n/b/inbound-2016.07.01.10.05.47//Maildir, alt=
May 25 05:00:31 lda(inbound@myserver.tld): Debug: acl: initializing backend with data: vfile
May 25 05:00:31 lda(inbound@myserver.tld): Debug: acl: acl username = inbound@myserver.tld
May 25 05:00:31 lda(inbound@myserver.tld): Debug: acl: owner = 1
May 25 05:00:31 lda(inbound@myserver.tld): Debug: acl vfile: Global ACL directory: (none)
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/Shared/%u
May 25 05:00:31 lda(inbound@myserver.tld): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
May 25 05:00:31 lda(inbound@myserver.tld): Debug: acl: initializing backend with data: vfile
May 25 05:00:31 lda(inbound@myserver.tld): Debug: acl: acl username = inbound@myserver.tld
May 25 05:00:31 lda(inbound@myserver.tld): Debug: acl: owner = 0
May 25 05:00:31 lda(inbound@myserver.tld): Debug: acl vfile: Global ACL directory: (none)
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota rule: root=user mailbox=* bytes=1073741824 messages=0
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota warning: bytes=1073741824 (100%) messages=0 reverse=no command=quota-warning 100 raw mail user
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota warning: bytes=1020054732 (95%) messages=0 reverse=no command=quota-warning 95 raw mail user
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota warning: bytes=966367641 (90%) messages=0 reverse=no command=quota-warning 90 raw mail user
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota warning: bytes=912680550 (85%) messages=0 reverse=no command=quota-warning 85 raw mail user
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Quota grace: root=user bytes=107374182 (10%)
May 25 05:00:31 lda(inbound@myserver.tld): Debug: dict quota: user=raw mail user, uri=proxy::quotadict, noenforcing=0
May 25 05:00:31 lda(inbound@myserver.tld): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
May 25 05:00:31 lda(inbound@myserver.tld): Debug: Destination address: inbound@myserver.tld (source: user@hostname)
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: Pigeonhole version 0.4.2 initializing
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: script file /var/vmail/vmail1/myserver.tld/i/n/b/inbound-2016.07.01.10.05.47//sieve/dovecot.sieve not found
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: user's script /var/vmail/vmail1/myserver.tld/i/n/b/inbound-2016.07.01.10.05.47//sieve/dovecot.sieve doesn't exist (trying default script location instead)
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: no default script configured for user
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: user has no valid location for a personal script
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: executed before user's personal Sieve script(1): /var/vmail/sieve/dovecot.sieve
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: loading script /var/vmail/sieve/dovecot.sieve
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: script binary /var/vmail/sieve/dovecot.svbin successfully loaded
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: binary save: not saving binary /var/vmail/sieve/dovecot.svbin, because it is already stored
May 25 05:00:31 lda(inbound@myserver.tld): Debug: sieve: executing script from /var/vmail/sieve/dovecot.svbin
May 25 05:00:31 lda(hello@mydomain.tld): Info: sieve: msgid=<CAGV=trqoW7_vQsuVCshqrxVZ2EaRahJwxOnvH=t+rwnhT4-QvQ@mail.gmail.com>: stored mail into mailbox 'INBOX'
May 25 05:00:31 lda(inbound@myserver.tld): Info: sieve: msgid=<CAGV=trqoW7_vQsuVCshqrxVZ2EaRahJwxOnvH=t+rwnhT4-QvQ@mail.gmail.com>: stored mail into mailbox 'INBOX'

Settings Used in /etc/dovecot/dovecot.conf:

    sieve_extensions = +vacation-seconds
    sieve_vacation_min_period = 5s
    sieve_vacation_max_period = 0

Roundcube Setting:

Vacation start: <empty>
Vacation end: <empty>
Reply Interval: 5 seconds
Incoming message action: keep

Any help? Please..!

4

Re: Auto reply discarded even after enabling vacation-seconds

*) Could you please show us the raw sieve rule?
*) Also, could you please try to send several testing emails? the last one must be at least 5 seconds later than the first one.

5 (edited by sunny.creations 2017-05-31 14:58:44)

Re: Auto reply discarded even after enabling vacation-seconds

Sorry for being away for a while, was engaged in some urgent stuff.

Well, while looking for sieve rules,  I found just this much in /var/vmail/sieve/dovecot.sieve, the global sieve (I haven't enabled any user specific sieve yet, whatsoever and sieve_before = /var/vmail/sieve/dovecot.sieve see first post)

require ["fileinto"];

# rule:[Move Spam to Junk Folder]
if header :is "X-Spam-Flag" "YES"
{
    fileinto "Junk";
}

I had created vacation filter using roundcube, [s]so is there some place else I must look for rules?[/s] Please help with specific file/command if I got this wrong.

EDIT:
********start]********
Just checked the sieve in user's folder and found the rules created by roundcube there:

require ["vacation"];
# rule:[Vacation]
if true
{
        vacation :seconds 5 :addresses "hello@mydomain.tld" :subject "Thank you for contacting ***" text:
Hello,

Thank you for contacting ***!

This is just a quick note to let you know we have received your message and will respond as soon as we can. Our representatives usually contact within 24 hours. 

Meanwhile, we suggest you check some interesting material about *** by visiting
http://******/*****

Best,
**** Team
.
;
}

********end]********

Also, I was trying to re-analyse previous logs I pasted. In dovecot log:

May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: using the following location for user's Sieve script: /var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//sieve/dovecot.sieve;name=main script
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: opening script 1 of 2 from /var/vmail/sieve/dovecot.sieve
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: loading script /var/vmail/sieve/dovecot.sieve
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: script binary /var/vmail/sieve/dovecot.svbin successfully loaded
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: binary save: not saving binary /var/vmail/sieve/dovecot.svbin, because it is already stored
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: executing script from /var/vmail/sieve/dovecot.svbin
May 25 05:00:31 lda(hello@mydomain.tld): Debug: sieve: opening script 2 of 2 from /var/vmail/vmail1/mydomain.tld/h/e/l/hello-2017.05.24.05.10.08//sieve/dovecot.sieve;name=main script

Line 5: Debug: sieve: binary save: not saving binary /var/vmail/sieve/dovecot.svbin, because it is already stored caught my attention. Is it somehow possible that, after changing the vacation config, i have to delete the .svbin and let dovecot create new binary? Just a thought