# Vacation rule send repeated replies to the same address

**URL:** <https://discourse.mailinabox.email/t/vacation-rule-send-repeated-replies-to-the-same-address/16263>\
**Category:** Help with Setup/Upgrade\
**Created:** [February 16, 2026, 10:26pm UTC](https://discourse.mailinabox.email/t/vacation-rule-send-repeated-replies-to-the-same-address/16263 "2026-02-16T22:26:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![apfeifer](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/7ea924/32.png) [@apfeifer](https://discourse.mailinabox.email/u/apfeifer)\
**Post date:** [February 16, 2026, 10:26pm UTC](https://discourse.mailinabox.email/t/vacation-rule-send-repeated-replies-to-the-same-address/16263/1 "2026-02-16T22:26:31Z")

</div>

I was configuring the vacation plugin and able to create the filter in round cube with the correct content:  
require [“vacation”];

# rule:[Out-of-Office]

if true

{

vacation :days 1 :addresses “[user@domain.de](mailto:user@domain.de)” :subject "Out of office " :from “[user@domain.de](mailto:user@domain.de)” “I’m out of office.”;

}

It works but not supressing multiple replies to the same address within 1 day.  
It can’t create the dedup db:  
Feb 16 22:11:11 lmtp([user@domain.de](mailto:user@domain.de))\<975873\>\<+LliBO6Hk2kB5A4AvwgErA\>: Error: lmtp-server: conn 127.0.0.1:53640 [2]: rcpt [user@doamian.de](mailto:user@doamian.de): file\_dotlock\_open(/home/user-data/mail/mailboxes/domain.de/user@domain.de/.dovecot.lda-dupes) failed: No such file or directory

The reason is the directory structure in my setup

root@mail:/home/user-data/mail/sieve/domain.de# ll  
drwx------ 4 mail mail 4096 Feb 16 23:06 **.** /  
drwxr-xr-x 5 mail mail 4096 Feb 11 17:27 **..** /  
drwx------ 3 mail mail 4096 Feb 16 23:18 **user** /  
lrwxrwxrwx 1 mail mail 25 Feb 11 17:27 **user.sieve** → user/roundcube.sieve  
-rw------- 1 mail mail 284 Feb 16 23:06 user.svbin

all my user mailbox folder having only the username portion without the domain.  
/home/user-data/mail/sieve/domain.de/user but smtp expect /home/user-data/mail/sieve/domain.de/user@domain.de  
How to fix this?

---

<div class="post-metadata">

**Author:** ![KiekerJan](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/kiekerjan/32/2339_2.png) [@KiekerJan](https://discourse.mailinabox.email/u/KiekerJan)\
**Post date:** [February 17, 2026, 8:35am UTC](https://discourse.mailinabox.email/t/vacation-rule-send-repeated-replies-to-the-same-address/16263/2 "2026-02-17T08:35:47Z")

</div>

Which vacation plugin is this? I don’t think it’s part of the standard mailinabox installation.

---

<div class="post-metadata">

**Author:** ![apfeifer](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/7ea924/32.png) [@apfeifer](https://discourse.mailinabox.email/u/apfeifer)\
**Post date:** [February 17, 2026, 10:44am UTC](https://discourse.mailinabox.email/t/vacation-rule-send-repeated-replies-to-the-same-address/16263/3 "2026-02-17T10:44:10Z")

</div>

Potentialy found the reason in my ldap-auth configuration.

userdb {  
driver = static  
override\_fields = uid=mail gid=mail home=/home/user-data/mail/mailboxes/%d/ **%u**  
}

will try with %n instead %u hoping this dosen’t brack enything else.  
Have another server running with sql-auth as usual and this server is working as expected and has in the sql query only the name without the domain

user\_query = SELECT email AS user, “mail” as uid, “mail” as gid, “/home/user-data/mail/mailboxes/%d/ **%n** ” as home, ‘\*:bytes=’ || quota AS quota\_rule FROM users WHERE email=‘%u’;

---

<div class="post-metadata">

**Author:** ![apfeifer](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/a/7ea924/32.png) [@apfeifer](https://discourse.mailinabox.email/u/apfeifer)\
**Post date:** [February 18, 2026, 8:20pm UTC](https://discourse.mailinabox.email/t/vacation-rule-send-repeated-replies-to-the-same-address/16263/4 "2026-02-18T20:20:56Z")

</div>

Was exactly the reason.  
Now the vacation rules are working without sending duplicates.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.mailinabox.email/uploads/default/original/2X/4/4d0933d13c456b7e57f296aa6cc344525b6f0c70.png) [@system](https://discourse.mailinabox.email/u/system)\
**Post date:** [February 25, 2026, 8:21pm UTC](https://discourse.mailinabox.email/t/vacation-rule-send-repeated-replies-to-the-same-address/16263/5 "2026-02-25T20:21:39Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
