1

Topic: Filters not triggering after being set (vacation)

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

Greetings,

I have a default iRedMail installation. So far it has been running flawlessly, up until now with the following problem: the vacation auto-response doesn't work upon being set in Roundcube. In fact, upon further inspection, no filters seem to work at all.

I have searched for similar threads (dovecot, sieve, etc) and tried to compare its answers with my own logs and config files, so far without success (or any hints as to where to proceed next).

Any assistance would be appreciated.

----

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

2

Re: Filters not triggering after being set (vacation)

Please turn on debug mode in Dovecot to see why it doesn't work.

In Dovecot log, you will find Dovecot reading sieve filter from which directory.

3 (edited by lopezg 2018-01-04 23:54:16)

Re: Filters not triggering after being set (vacation)

The following is an extract of the sieve related errors (for the account that has the vacation filter enabled) from dovecot-sieve.log after turning on debug mode:

Note: I have obfuscated the addresses, but otherwise the rest of the logs are intact.

Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Loading modules from directory: /usr/lib/dovecot/modules
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: auth input: <MAIL_WITH_VACATION_FILTER> uid=2000 gid=2000 home=/var/vmail/<DOMAIN>/<USERNAME>
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Effective uid=2000, gid=2000, home=/var/vmail/<DOMAIN>/<USERNAME>
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota rule: root=user mailbox=* bytes=42949672960 messages=0
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=36507222016 (85%) messages=0 reverse=no command=quota-warning 85 <MAIL_WITH_VACATION_FILTER>
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=38654705664 (90%) messages=0 reverse=no command=quota-warning 90 <MAIL_WITH_VACATION_FILTER>
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=40802189312 (95%) messages=0 reverse=no command=quota-warning 95 <MAIL_WITH_VACATION_FILTER>
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota grace: root=user bytes=4294967296 (10%)
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: dict quota: user=<MAIL_WITH_VACATION_FILTER>, uri=proxy::quotadict, noenforcing=0
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/<DOMAIN>/<USERNAME>/Maildir/
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: maildir++: root=/var/vmail/<DOMAIN>/<USERNAME>/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/<DOMAIN>/<USERNAME>/Maildir, alt=
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: initializing backend with data: vfile
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: acl username = <MAIL_WITH_VACATION_FILTER>
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: owner = 1
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: Global ACLs disabled
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): 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
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: initializing backend with data: vfile
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: acl username = <MAIL_WITH_VACATION_FILTER>
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: owner = 0
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: Global ACLs disabled
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota rule: root=user mailbox=* bytes=42949672960 messages=0
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=36507222016 (85%) messages=0 reverse=no command=quota-warning 85 raw mail user
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=38654705664 (90%) messages=0 reverse=no command=quota-warning 90 raw mail user
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=40802189312 (95%) messages=0 reverse=no command=quota-warning 95 raw mail user
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota grace: root=user bytes=4294967296 (10%)
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: dict quota: user=raw mail user, uri=proxy::quotadict, noenforcing=0
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Destination address: <MAIL_WITH_VACATION_FILTER> (source: user@hostname)
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Pigeonhole version 0.4.13 (7b14904) initializing
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Using active Sieve script path: /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Using script storage path: /var/vmail/<DOMAIN>/<USERNAME>/sieve
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Relative path to sieve storage in active link: 
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Using Sieve script path: /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file script: Opened script `managesieve' from `/var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve'
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Using Sieve script path: /var/vmail/sieve/dovecot.sieve
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file script: Opened script `dovecot' from `/var/vmail/sieve/dovecot.sieve'
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Executed before user's personal Sieve script(1): /var/vmail/sieve/dovecot.sieve
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Using the following location for user's Sieve script: /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Opening script 1 of 2 from `/var/vmail/sieve/dovecot.sieve'
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Loading script /var/vmail/sieve/dovecot.sieve
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Script binary /var/vmail/sieve/dovecot.svbin successfully loaded
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: binary save: not saving binary /var/vmail/sieve/dovecot.svbin, because it is already stored
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Executing script from `/var/vmail/sieve/dovecot.svbin'
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Opening script 2 of 2 from `/var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve'
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Loading script /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Script binary /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.svbin successfully loaded
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: binary save: not saving binary /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.svbin, because it is already stored
Dec 27 13:32:41 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Executing script from `/var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.svbin'
Dec 27 13:32:42 lda(<MAIL_WITH_VACATION_FILTER>): Error: Sendmail process terminated abnormally, exit status 75
Dec 27 13:32:42 lda(<MAIL_WITH_VACATION_FILTER>): Error: sieve: msgid=<CAO=h986WvdEFsV63mGzgtYksxjPRzbMeAHbv4eTvvoXpbbTdpg@mail.gmail.com>: failed to send vacation response to <developerMail@gmail.com>: Failed to execute sendmail (temporary error)
Dec 27 13:32:42 lda(<MAIL_WITH_VACATION_FILTER>): Error: read(/var/run/dovecot/dict) failed: Remote disconnected
Dec 27 13:32:42 lda(<MAIL_WITH_VACATION_FILTER>): Error: Internal quota calculation error
Dec 27 13:32:42 lda(<MAIL_WITH_VACATION_FILTER>): Error: Internal quota calculation error
Dec 27 13:32:42 lda(<MAIL_WITH_VACATION_FILTER>): Info: sieve: msgid=<CAO=h986WvdEFsV63mGzgtYksxjPRzbMeAHbv4eTvvoXpbbTdpg@mail.gmail.com>: stored mail into mailbox 'INBOX'

4

Re: Filters not triggering after being set (vacation)

lopezg wrote:

Dec 27 13:32:42 lda(<MAIL_WITH_VACATION_FILTER>): Error: Sendmail process terminated abnormally, exit status 75
Dec 27 13:32:42 lda(<MAIL_WITH_VACATION_FILTER>): Error: sieve: msgid=<CAO=h986WvdEFsV63mGzgtYksxjPRzbMeAHbv4eTvvoXpbbTdpg@mail.gmail.com>: failed to send vacation response to <developerMail@gmail.com>: Failed to execute sendmail (temporary error)

It's clear here (text in red).

*) Any related error in /var/log/dovecot*?
*) Path of sendmail program is set by Dovecot parameter "sendmail_path = /usr/sbin/sendmail", if you have a different path, try to add/update this parameter and restart Dovecot service.

5

Re: Filters not triggering after being set (vacation)

ZhangHuangbin wrote:

*) Any related error in /var/log/dovecot*?

There are some errors showing, but none seem related to this problem. They seem related to some sort of quota mechanism, which is not set (and its not a priority right now either):

Jan 02 12:05:25 imap-login: Info: Login: user=<<MAIL_WITH_VACATION_FILTER>>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13147, secured, session=<jhyxbcxhBNh/AAAB>
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Effective uid=2000, gid=2000, home=/var/vmail/<DOMAIN_NAME>/<USERNAME>
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota rule: root=user mailbox=* bytes=42949672960 messages=0
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=36507222016 (85%) messages=0 reverse=no command=quota-warning 85 <MAIL_WITH_VACATION_FILTER>
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=38654705664 (90%) messages=0 reverse=no command=quota-warning 90 <MAIL_WITH_VACATION_FILTER>
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=40802189312 (95%) messages=0 reverse=no command=quota-warning 95 <MAIL_WITH_VACATION_FILTER>
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota grace: root=user bytes=4294967296 (10%)
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: dict quota: user=<MAIL_WITH_VACATION_FILTER>, uri=proxy::quotadict, noenforcing=0
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: maildir++: root=/var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir, alt=
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: initializing backend with data: vfile
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: acl username = <MAIL_WITH_VACATION_FILTER>
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: owner = 1
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: Global ACLs disabled
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): 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
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: initializing backend with data: vfile
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: acl username = <MAIL_WITH_VACATION_FILTER>
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: owner = 0
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: Global ACLs disabled
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Sent/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Drafts/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Trash/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Trash.Junk/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Archives/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Archives.2015/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Confirmaciones de Lectura/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Traspaso de Archivos/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Confirmaciones de Recepci&APM-n al Servidor/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.SSL/dovecot-acl not found
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/.Junk/dovecot-acl not found
Jan 02 12:05:25 dict(13143): Error: Failed to initialize dictionary 'acl': dict mysql: Can't open configuration file /etc/dovecot/dovecot-share-folder.conf: Permission denied
Jan 02 12:05:25 dict(13143): Error: Failed to initialize dictionary 'acl': dict mysql: Can't open configuration file /etc/dovecot/dovecot-share-folder.conf: Permission denied
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Error: write(/var/run/dovecot/dict) failed: Broken pipe
Jan 02 12:05:25 dict(13143): Error: Failed to initialize dictionary 'acl': dict mysql: Can't open configuration file /etc/dovecot/dovecot-share-folder.conf: Permission denied
Jan 02 12:05:25 dict(13143): Error: Failed to initialize dictionary 'acl': dict mysql: Can't open configuration file /etc/dovecot/dovecot-share-folder.conf: Permission denied
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Error: write(/var/run/dovecot/dict) failed: Broken pipe
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN_NAME>/<USERNAME>/Maildir/dovecot-acl not found
Jan 02 12:05:25 dict(13143): Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-used-quota.conf: Permission denied
Jan 02 12:05:25 dict(13143): Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-used-quota.conf: Permission denied
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Error: write(/var/run/dovecot/dict) failed: Broken pipe
Jan 02 12:05:25 imap(<MAIL_WITH_VACATION_FILTER>): Info: Logged out in=1651 out=64576
Jan 02 12:05:36 dict(13131): Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-used-quota.conf: Permission denied
Jan 02 12:05:36 imap(<MAIL_WITH_VACATION_FILTER>): Error: read(/var/run/dovecot/dict) failed: Remote disconnected
Jan 02 12:05:36 dict(13110): Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-used-quota.conf: Permission denied
Jan 02 12:05:36 imap(<MAIL_WITH_VACATION_FILTER>): Error: read(/var/run/dovecot/dict) failed: Remote disconnected
Jan 02 12:05:36 dict(13098): Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-used-quota.conf: Permission denied
Jan 02 12:05:36 imap(<MAIL_WITH_VACATION_FILTER>): Error: read(/var/run/dovecot/dict) failed: Remote disconnected
Jan 02 12:05:36 dict(13130): Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-used-quota.conf: Permission denied
Jan 02 12:05:36 imap(<MAIL_WITH_VACATION_FILTER>): Error: read(/var/run/dovecot/dict) failed: Remote disconnected
Jan 02 12:05:36 dict(13091): Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-used-quota.conf: Permission denied
Jan 02 12:05:36 imap(<MAIL_WITH_VACATION_FILTER>): Error: read(/var/run/dovecot/dict) failed: Remote disconnected

---

ZhangHuangbin wrote:

*) Path of sendmail program is set by Dovecot parameter "sendmail_path = /usr/sbin/sendmail", if you have a different path, try to add/update this parameter and restart Dovecot service.

Sendmail is in the (default) specified path:

proof

Just in case, I attach the dovecot.conf file found in /var/run/dovecot. It has never been modified since installation:

# Listen addresses.
#   - '*' means all available IPv4 addresses.
#   - '[::]' means all available IPv6 addresses.
# Listen on all available addresses by default
listen = * [::]

#base_dir = /var/run/dovecot
mail_plugins = quota mailbox_alias acl

# Enabled mail protocols.
protocols = pop3 imap sieve lmtp

# User/group who owns the message files:
mail_uid = 2000
mail_gid = 2000

# Assign uid to virtual users.
first_valid_uid = 2000
last_valid_uid = 2000

# Logging. Reference: http://wiki2.dovecot.org/Logging
log_path = /var/log/dovecot.log

# Debug
mail_debug = yes
#auth_verbose = yes
#auth_debug = yes
#auth_debug_passwords = yes
# Possible values: no, plain, sha1.
#auth_verbose_passwords = no

# SSL: Global settings.
# Refer to wiki site for per protocol, ip, server name SSL settings:
# http://wiki2.dovecot.org/SSL/DovecotConfiguration
ssl_protocols = !SSLv2 !SSLv3
ssl = required
verbose_ssl = no
#ssl_ca =</path/to/ca
ssl_cert = </etc/ssl/certs/iRedMail.crt
ssl_key = </etc/ssl/private/iRedMail.key

# Fix 'The Logjam Attack'
ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
# Dovecot 2.2.6 or greater:
# Specify the wanted DH parameters length
ssl_dh_parameters_length = 2048
ssl_prefer_server_ciphers = yes

# IP ranges specified by login_trusted_networks setting are assumed to be secure.
#login_trusted_networks = 127.0.0.1

# With disable_plaintext_auth=yes AND ssl=required, STARTTLS is mandatory.
# Set disable_plaintext_auth=no AND ssl=yes to allow plain password transmitted
# insecurely.
disable_plaintext_auth = yes
# Allow plain text password per IP address/net
#remote 192.168.0.0/24 {
#   disable_plaintext_auth = no
#}

# Mail location and mailbox format.
# mail_location = maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/

#mail_home = /var/vmail/home
mail_location =maildir:/var/vmail/%d/%n/Maildir/

# Authentication related settings.
# Append this domain name if client gives empty realm.
auth_default_realm = 

# Authentication mechanisms.
auth_mechanisms = PLAIN LOGIN

# Limits the number of users that can be logging in at the same time.
# Default is 100.
# Note: this value can be overrided by "process_limit =" in service protocol.
# e.g.
#       protocol imap-login {
#           ...
#           process_limit = 500
#       }
#default_process_limit = 100

service auth {
    unix_listener /var/spool/postfix/private/dovecot-auth {
        user = postfix
        group = postfix
        mode = 0666
    }
    unix_listener auth-master {
        user = vmail
        group = vmail
        mode = 0666
    }
    unix_listener auth-userdb {
        user = vmail
        group = vmail
        mode = 0660
    }
}

# LMTP server (Local Mail Transfer Protocol).
# Reference: http://wiki2.dovecot.org/LMTP
service lmtp {
    user = vmail

    # For higher volume sites, it may be desirable to increase the number of
    # active listener processes. A range of 5 to 20 is probably good for most
    # sites.
    process_min_avail = 5

    # Logging.
    # Require 'info_log_path =' in 'protocol lmtp {}' block.
    executable = lmtp -L

    # Listening on socket file and TCP
    unix_listener /var/spool/postfix/private/dovecot-lmtp {
        user = postfix
        group = postfix
        mode = 0600
    }

    inet_listener lmtp {
        # Listen on localhost
        address = 127.0.0.1
        port = 24
    }
}

# Virtual mail accounts.

# CONFIGURACION DE USUARIOS LDAP
#userdb {
#    args = /etc/dovecot/dovecot-ldap.conf
#    driver = ldap
#}
#passdb {
#    args = /etc/dovecot/dovecot-ldap.conf
#    driver = ldap
#}

userdb {
#    args = /etc/dovecot/dovecot-mysql.conf
#    driver = sql
     driver = static
     args = uid=vmail gid=vmail home=/var/vmail/%d/%n
}
passdb {
    args =/etc/dovecot/dovecot-mysql.conf
    driver = sql
}

# Master user.
# Master users are able to log in as other users. It's also possible to
# directly log in as any user using a master password, although this isn't
# recommended.
# Reference: http://wiki2.dovecot.org/Authentication/MasterUsers
auth_master_user_separator = *
passdb {
   #driver = passwd-file
   #args = /etc/dovecot/dovecot-master-users
    args = /etc/dovecot/dovecot-mysql.conf
    driver = sql
    master = yes
}

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

    quota = dict:user::proxy::quotadict
    quota_rule = *:storage=40G
    #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.
    quota_warning = storage=85%% quota-warning 85 %u
    quota_warning2 = storage=90%% quota-warning 90 %u
    quota_warning3 = storage=95%% quota-warning 95 %u

    # 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 =

    # 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
}

service quota-warning {
    executable = script /usr/local/bin/dovecot-quota-warning.sh
    unix_listener quota-warning {
        user = vmail
        group = vmail
        mode = 0660
    }
}

service dict {
    unix_listener dict {
        mode = 0660
        user = vmail
        group = vmail
    }
}

dict {
    #expire = db:/var/lib/dovecot/expire/expire.db
    quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
    acl = mysql:/etc/dovecot/dovecot-share-folder.conf
}

protocol lda {
    # Reference: http://wiki2.dovecot.org/LDA
    mail_plugins = $mail_plugins sieve
    auth_socket_path = /var/run/dovecot/auth-master
    log_path = /var/log/dovecot-sieve.log
    lda_mailbox_autocreate = yes
    lda_mailbox_autosubscribe = yes
    postmaster_address = root
}

protocol lmtp {
    # Log file
    info_log_path = /var/log/dovecot-lmtp.log

    # Plugins
    mail_plugins = quota sieve
    postmaster_address = postmaster

    lmtp_save_to_detail_mailbox = yes
    recipient_delimiter = +
}

protocol imap {
    mail_plugins = $mail_plugins imap_quota imap_acl
    imap_client_workarounds = tb-extra-mailbox-sep

    # Maximum number of IMAP connections allowed for a user from each IP address.
    # NOTE: The username is compared case-sensitively.
    # Default is 10.
    # Increase it to avoid issue like below:
    # "Maximum number of concurrent IMAP connections exceeded"
    mail_max_userip_connections = 20
}
protocol pop3 {
    mail_plugins = $mail_plugins
    pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
    pop3_uidl_format = %08Xu%08Xv

    # Maximum number of IMAP connections allowed for a user from each IP address.
    # NOTE: The username is compared case-sensitively.
    # Default is 10.
    mail_max_userip_connections = 20
}

# Login processes. Refer to Dovecot wiki for more details:
# http://wiki2.dovecot.org/LoginProcess
service imap-login {
    service_count = 1

    # To avoid startup latency for new client connections, set process_min_avail
    # to higher than zero. That many idling processes are always kept around
    # waiting for new connections.
    #process_min_avail = 0

    # number of simultaneous IMAP connections
    #process_limit = $default_process_limit
    process_limit = 500

    # vsz_limit should be fine at its default 64MB value
    #vsz_limit = 64M
}
service pop3-login {
    service_count = 1

    # number of simultaneous POP3 connections
    #process_limit = 500
}

service managesieve-login {
    inet_listener sieve {
        # Listen on localhost
        address = 127.0.0.1
        port = 4190
    }
}

namespace {
    type = private
    separator = /
    prefix =
    #location defaults to mail_location.
    inbox = yes

    mailbox Sent {
        auto = subscribe
        special_use = \Sent
    }
    # This is an alias mailbox for "Sent".
    # Reference: http://wiki2.dovecot.org/MailboxSettings
    mailbox "Sent Messages" {
        auto = no
        special_use = \Sent
    }

    mailbox Drafts {
        auto = subscribe
        special_use = \Drafts
    }
    mailbox Trash {
        auto = subscribe
        special_use = \Trash
    }

    mailbox Junk {
        auto = subscribe
        special_use = \Junk
    }
    # Alias mailbox for "Junk".
    mailbox Spam {
        auto = no
        special_use = \Junk
    }
}

namespace {
    type = shared
    separator = /
    prefix = Shared/%%u/
    location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%u
    # this namespace should handle its own subscriptions or not.
    subscriptions = yes
    list = children
}

# Public mailboxes.
# Refer to Dovecot wiki page for more details:
# http://wiki2.dovecot.org/SharedMailboxes/Public
#namespace {
#    type = public
#    separator = /
#    prefix = Public/
#
#    # CONTROL=: Mark this public folder as read-only mailbox
#    # INDEX=: Per-user \Seen flag
#    location = maildir:/var/vmail/public/:CONTROL=~/Maildir/public:INDEX=~/Maildir/public
#
#    # Allow users to subscribe to the public folders.
#    subscriptions = yes
#}

6

Re: Filters not triggering after being set (vacation)

lopezg wrote:

Jan 02 12:05:25 dict(13143): Error: Failed to initialize dictionary 'acl': dict mysql: Can't open configuration file /etc/dovecot/dovecot-share-folder.conf: Permission denied
...
Jan 02 12:05:36 dict(13110): Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-used-quota.conf: Permission denied

See the error message in red text? they should be owned by user/group 'dovecot:dovecot' with permission 0500.

7

Re: Filters not triggering after being set (vacation)

ZhangHuangbin wrote:
lopezg wrote:

Jan 02 12:05:25 dict(13143): Error: Failed to initialize dictionary 'acl': dict mysql: Can't open configuration file /etc/dovecot/dovecot-share-folder.conf: Permission denied
...
Jan 02 12:05:36 dict(13110): Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-used-quota.conf: Permission denied

See the error message in red text? they should be owned by user/group 'dovecot:dovecot' with permission 0500.

I have changed both file permissions from these:

https://i.imgur.com/SetdAMC.png

To these:

https://i.imgur.com/WVzur7Y.png

Quota related errors have disappeared, but filters are still not triggering. I reattach the new dovecot.log and dovecot-sieve.log:


dovecot.log

Jan 04 12:17:14 imap-login: Info: Login: user=<<MAIL_WITH_VACATION_FILTER>>, method=PLAIN, rip=192.168.1.23, lip=192.168.1.111, mpid=1584, TLS, session=<raah0/RhwrnAqAEX>
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Effective uid=2000, gid=2000, home=/var/vmail/<DOMAIN>/<USERNAME>
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota rule: root=user mailbox=* bytes=42949672960 messages=0
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=36507222016 (85%) messages=0 reverse=no command=quota-warning 85 <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=38654705664 (90%) messages=0 reverse=no command=quota-warning 90 <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=40802189312 (95%) messages=0 reverse=no command=quota-warning 95 <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Quota grace: root=user bytes=4294967296 (10%)
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: dict quota: user=<MAIL_WITH_VACATION_FILTER>, uri=proxy::quotadict, noenforcing=0
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/<DOMAIN>/<USERNAME>/Maildir/
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: maildir++: root=/var/vmail/<DOMAIN>/<USERNAME>/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/<DOMAIN>/<USERNAME>/Maildir, alt=
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: initializing backend with data: vfile
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: acl username = <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: owner = 1
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: Global ACLs disabled
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): 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
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: initializing backend with data: vfile
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: acl username = <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl: owner = 0
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: Global ACLs disabled
Jan 04 12:17:14 imap(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: file /var/vmail/<DOMAIN>/<USERNAME>/Maildir/dovecot-acl not found

dovecot-sieve.log

Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: auth input: <MAIL_WITH_VACATION_FILTER> uid=2000 gid=2000 home=/var/vmail/<DOMAIN>/<USERNAME>
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Effective uid=2000, gid=2000, home=/var/vmail/<DOMAIN>/<USERNAME>
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota rule: root=user mailbox=* bytes=42949672960 messages=0
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=36507222016 (85%) messages=0 reverse=no command=quota-warning 85 <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=38654705664 (90%) messages=0 reverse=no command=quota-warning 90 <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=40802189312 (95%) messages=0 reverse=no command=quota-warning 95 <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota grace: root=user bytes=4294967296 (10%)
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: dict quota: user=<MAIL_WITH_VACATION_FILTER>, uri=proxy::quotadict, noenforcing=0
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/<DOMAIN>/<USERNAME>/Maildir/
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: maildir++: root=/var/vmail/<DOMAIN>/<USERNAME>/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/<DOMAIN>/<USERNAME>/Maildir, alt=
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: initializing backend with data: vfile
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: acl username = <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: owner = 1
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: Global ACLs disabled
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): 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
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: initializing backend with data: vfile
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: acl username = <MAIL_WITH_VACATION_FILTER>
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl: owner = 0
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: acl vfile: Global ACLs disabled
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota rule: root=user mailbox=* bytes=42949672960 messages=0
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=36507222016 (85%) messages=0 reverse=no command=quota-warning 85 raw mail user
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=38654705664 (90%) messages=0 reverse=no command=quota-warning 90 raw mail user
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota warning: bytes=40802189312 (95%) messages=0 reverse=no command=quota-warning 95 raw mail user
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Quota grace: root=user bytes=4294967296 (10%)
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: dict quota: user=raw mail user, uri=proxy::quotadict, noenforcing=0
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: Destination address: <MAIL_WITH_VACATION_FILTER> (source: user@hostname)
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Pigeonhole version 0.4.13 (7b14904) initializing
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Using active Sieve script path: /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Using script storage path: /var/vmail/<DOMAIN>/<USERNAME>/sieve
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Relative path to sieve storage in active link: 
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Using Sieve script path: /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file script: Opened script `managesieve' from `/var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve'
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file storage: Using Sieve script path: /var/vmail/sieve/dovecot.sieve
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: file script: Opened script `dovecot' from `/var/vmail/sieve/dovecot.sieve'
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Executed before user's personal Sieve script(1): /var/vmail/sieve/dovecot.sieve
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Using the following location for user's Sieve script: /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Opening script 1 of 2 from `/var/vmail/sieve/dovecot.sieve'
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Loading script /var/vmail/sieve/dovecot.sieve
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Script binary /var/vmail/sieve/dovecot.svbin successfully loaded
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: binary save: not saving binary /var/vmail/sieve/dovecot.svbin, because it is already stored
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Executing script from `/var/vmail/sieve/dovecot.svbin'
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Opening script 2 of 2 from `/var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve'
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Loading script /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.sieve
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Script binary /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.svbin successfully loaded
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: binary save: not saving binary /var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.svbin, because it is already stored
Jan 04 12:17:06 lda(<MAIL_WITH_VACATION_FILTER>): Debug: sieve: Executing script from `/var/vmail/<DOMAIN>/<USERNAME>/sieve/dovecot.svbin'
Jan 04 12:17:07 lda(<MAIL_WITH_VACATION_FILTER>): Error: Sendmail process terminated abnormally, exit status 75
Jan 04 12:17:07 lda(<MAIL_WITH_VACATION_FILTER>): Error: sieve: msgid=<CACnmTYH2K-EDVPxeyG_rvRXmmkonHs0WSq28GjDVyTKPYsdXuA@mail.gmail.com>: failed to send vacation response to <<RESPONSE_EMAIL>>: Failed to execute sendmail (temporary error)

8

Re: Filters not triggering after being set (vacation)

lopezg wrote:

Jan 04 12:17:07 lda(<MAIL_WITH_VACATION_FILTER>): Error: sieve: msgid=<CACnmTYH2K-EDVPxeyG_rvRXmmkonHs0WSq28GjDVyTKPYsdXuA@mail.gmail.com>: failed to send vacation response to <<RESPONSE_EMAIL>>: Failed to execute sendmail (temporary error)

Any related error in /var/log/maillog (or mail.log) and /var/log/syslog?