On 06/01/2020 04:14 Hans Rasmussen <hans@sbsfor.com> wrote:


Hi


Vacation sieve is not respecting the days: arguement


.dovecot.lda-dupes wants to be created in /home/user which doesn’t exist.  Below is a log fragment….


Jan  5 17:56:24 mailserv dovecot: lmtp(hans): Error: file_dotlock_open(/home/hans/.dovecot.lda-dupes) failed: No such file or directory


dovecot -n says…..


# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf

# Pigeonhole version 0.4.21 (92477967)

# OS: Linux 4.15.0-72-generic x86_64 Ubuntu 18.04.3 LTS ext4

auth_mechanisms = plain login

first_valid_gid = 999

first_valid_uid = 999

mail_gid = 999

mail_home = /var/lib/vmail/%u

mail_location = maildir:/var/lib/vmail/%u/Maildir

mail_privileged_group = mail

mail_uid = 999

managesieve_notify_capability = mailto

managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext


Shouldn’t  .dovecot.lda-dupes respect the mail_home argument. 


Thanks much


Hans



Your userdb is likely overwriting it, but not sure as you left that bit out. See https://doc.dovecot.org/configuration_manual/authentication/user_databases_userdb/
---
Aki Tuomi