1

Topic: More than one auto-reply message per day

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP-AD
- Linux/BSD distribution name and version: RH 6.5
- Related log if you're reporting an issue:
====
Hi,
I have two webmail interfaces installed SOGo and default Roundcube.
I'd like to set auto-reply message for every message on one of accounts.

Using SOGo it's impossible. I couldn't handle it by ROundcube either.
Is there any way to set it? As it is exception I even accept to manually edit sieve file.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: More than one auto-reply message per day

You can set auto-reply message with Roundcube: Settings -> Filters, choose action "Reply with message".

3

Re: More than one auto-reply message per day

Yes, but there's an option
"How often send messages (in days):"
If it's unset it will reply each 7 days.

4

Re: More than one auto-reply message per day

i'm afraid you can NOT set it to more than 1 reply each day. According to RFC document:
http://tools.ietf.org/html/rfc5230

4.1.  Days Parameter

   The ":days" argument is used to specify the period in which addresses
   are kept and are not responded to, and is always specified in days.
   The minimum value used for this parameter is normally 1.  Sites MAY
   define a different minimum value as long as the minimum is greater
   than 0.  Sites MAY also define a maximum days value, which MUST be
   greater than 7, and SHOULD be greater than 30.

5

Re: More than one auto-reply message per day

ZhangHuangbin wrote:

i'm afraid you can NOT set it to more than 1 reply each day. According to RFC document:
http://tools.ietf.org/html/rfc5230

4.1.  Days Parameter

   The ":days" argument is used to specify the period in which addresses
   are kept and are not responded to, and is always specified in days.
   The minimum value used for this parameter is normally 1.  Sites MAY
   define a different minimum value as long as the minimum is greater
   than 0.  Sites MAY also define a maximum days value, which MUST be
   greater than 7, and SHOULD be greater than 30.

I've found on dovecot site it should work: http://wiki2.dovecot.org/Pigeonhole/Sie … s/Vacation

But I cannot get it done.

6

Re: More than one auto-reply message per day

Any error message? And please show us your Dovecot config with 'dovecot -n' command.

7 (edited by misieq 2014-07-21 21:35:07)

Re: More than one auto-reply message per day

ZhangHuangbin wrote:

Any error message? And please show us your Dovecot config with 'dovecot -n' command.

Recheck tutorial and managed to make it working.
My dovecot.sieve file now looks like:

require ["vacation"];
if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe", "list-owner", "list-post", "list-archive", "list-id", "Mailing-List"], not header :comparator "i;ascii-casemap" :is "Precedence" ["list", "bulk", "junk"], not header :comparator "i;ascii-casemap" :matches "To" "Multiple recipients of*" ) {vacation :days 0 :addresses ["my-email@address.com"] text:
this is autorespond message
.
;
}

8

Re: More than one auto-reply message per day

And you Dovecot settings? Would you mind sharing it (command "dovecot -n")?