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:
To these:
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)