Topic: Auto reply discarded even after enabling vacation-seconds
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Linux 3.13.0-74-generic x86_64 Ubuntu 14.04.3 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Not yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi -
Trying to configure vacation filter such that an auto reply is sent for every incoming message, irrespective of sender and/or duration since last received message. Basically, it is to trigger an acknowledgement email saying we received your message.
If it makes a difference to know dovecot version, it is 2.2.9
So, following instructions from several other posts like this one, I followed how https://wiki2.dovecot.org/Pigeonhole/Si … s/Vacation suggests configuring plugins section and then cross compared with working configuration in above linked post to make sure I didn't mess up. Still, can't get the auto reply to work as expected.
Log:
May 24 07:04:08 lda(hello@mydomain.tld): Info: sieve: msgid=<69934ea6c9bafee4a4e388f1e6e05195@localhost>: discarded duplicate vacation response to <sender@otherdomain.tld>
May 24 07:04:08 lda(hello@mydomain.tld): Info: sieve: msgid=<69934ea6c9bafee4a4e388f1e6e05195@localhost>: stored mail into mailbox 'INBOX'
Interestingly, there were few discards to own address (but i'm guessing those were because I deleted few mails from inbox - moving to different folder, not sure though):
May 24 07:02:39 lda(hello@mydomain.tld): Info: sieve: msgid=<20170524070238.9BEBB2C0089@my.mailserver.tld>: discarded vacation reply to own address <hello@mydomain.tld>
May 24 07:02:39 lda(hello@mydomain.tld): Info: sieve: msgid=<20170524070238.9BEBB2C0089@my.mailserver.tld>: stored mail into mailbox 'INBOX'
plugin section from my /etc/dovecot/dovecot.conf:
plugin {
auth_socket_path = /var/run/dovecot/auth-master
# Quota configuration.
# Reference: http://wiki2.dovecot.org/Quota/Configuration
quota = dict:user::proxy::quotadict
quota_rule = *:storage=1G
#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.
#
# Only the command for the first exceeded limit is executed, so configure
# the highest limit first.
quota_warning = storage=100%% quota-warning 100 %u
quota_warning2 = storage=95%% quota-warning 95 %u
quota_warning3 = storage=90%% quota-warning 90 %u
quota_warning4 = storage=85%% quota-warning 85 %u
# allow user to become max 10% (or 50 MB) over quota
quota_grace = 10%%
#quota_grace = 50 M
# Custom Quota Exceeded Message.
# You can specify the message directly or read the message from a file.
#quota_exceeded_message = Quota exceeded, please try again later.
#quota_exceeded_message = </path/to/quota_exceeded_message.txt
# 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 =
# The maximum number of redirect actions that can be performed during a
# single script execution.
# The meaning of 0 differs based on your version. For pigeonhole-0.3.0 and
# beyond this means that redirect is prohibited. For older versions,
# however, this means that the number of redirects is unlimited.
#sieve_max_redirects = 4
# 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
# REFRERENCE: https://wiki2.dovecot.org/Pigeonhole/Sieve/Extensions/Vacation
# Use vacation-seconds
sieve_extensions = +vacation-seconds
# One hour at minimum
sieve_vacation_min_period = 0
# Ten days default
#sieve_vacation_default_period = 10d
# Thirty days at maximum
#sieve_vacation_max_period = 30d
sieve_vacation_max_period = 0
}
Check the bottom of above config section for settings used with vacation-seconds.
I also reloaded dovecot with:
doveadm reload
Even rebooted server after first discarded auto reply after this.
Made sure to change vacation filter setting for "reply interval" to 5 seconds in roundcube for that account. Still no success - continues to work as if vacation-seconds was not enabled, i.e., an auto reply to sender for the first time but then discards after that.
What may be going wrong with my config? Please let me know if you need any other information.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.