Tobias Balle-Petersen
2009-Jan-27 12:56 UTC
[Dovecot] Vacation: Missing file .dovecot.lda-dupes ?
Hello.... I'm using the vacation feature, but the vacation reply is sent when ever a mail is received. What I want is, that the reply should only be sent one time to each user. My understanding is, that a list of people who have received the vacation message should be stored in the file .dovecot.lda-dupes in the users folder. This file is not present in my users fould. I have tried creating the file, but this makes no difference. Any ideas? Output from dovecot -n: # 1.0.10: /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: imaps imap listen: localhost:143 ssl_listen: *:993 ssl_cert_file: /etc/ssl/certs/XX.crt ssl_key_file: /etc/ssl/private/XX.key ssl_key_password: XXXXXXXXXXXXXXXXXXXX disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login login_greeting: System ready. login_process_per_connection: no valid_chroot_dirs: /home/vmail mail_extra_groups: mail mail_location: maildir:/home/vmail/%n/mail:INDEX=/var/indexes/%n maildir_copy_with_hardlinks: yes mail_plugins: quota imap_quota trash imap_client_workarounds: delay-newmail auth default: username_format: %n verbose: yes debug: yes passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf socket: type: listen client: path: /var/spool/postfix/private/auth-client mode: 432 user: postfix group: vmail master: path: /var/run/dovecot/auth-master mode: 432 user: vmail group: vmail plugin: quota: maildir:storage=10485760 quota2: maildir:user quota trash: /etc/dovecot/dovecot-trash.conf sieve: /home/vmail/%n/.dovecot.sieve Thanks, Tobias
On Tue, 2009-01-27 at 13:56 +0100, Tobias Balle-Petersen wrote:> Hello.... > > I'm using the vacation feature, but the vacation reply is sent when ever > a mail is received. What I want is, that the reply should only be sent > one time to each user. > > My understanding is, that a list of people who have received the > vacation message should be stored in the file .dovecot.lda-dupes in the > users folder.It's stored in the user's home directory. Are you returning a home directory from your userdb ldap? If not, you could also kludge around it by adding something like: plugin { home = /home/vmail/%n } (Then again if you're not returning a home directory, you may not even need userdb ldap at all and you could use userdb static instead?) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090202/ae86910f/attachment-0002.bin>
Tobias Balle-Petersen
2009-Feb-03 14:37 UTC
[Dovecot] Vacation: Missing file .dovecot.lda-dupes ?
Hi there Timo. Your suggestion worked like a charm. Thanks a lot for this and all your hard work on Dovecot. Tobias Timo Sirainen wrote:> On Tue, 2009-01-27 at 13:56 +0100, Tobias Balle-Petersen wrote: >> Hello.... >> >> I'm using the vacation feature, but the vacation reply is sent when ever >> a mail is received. What I want is, that the reply should only be sent >> one time to each user. >> >> My understanding is, that a list of people who have received the >> vacation message should be stored in the file .dovecot.lda-dupes in the >> users folder. > > It's stored in the user's home directory. Are you returning a home > directory from your userdb ldap? If not, you could also kludge around it > by adding something like: > > plugin { > home = /home/vmail/%n > } > > (Then again if you're not returning a home directory, you may not even > need userdb ldap at all and you could use userdb static instead?)
Possibly Parallel Threads
- Reset vacation lda-dupes database
- sieve vacation: write to the .lda-dupes database without generating a vacation response.
- sieve, vacation - lda-dupes being ignored?
- LDA-DUPES insists mon being created in the wrong home directory
- file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file or directory