1

Topic: custom automatic message

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: Ubuntu 12.04.2 LTS
- Related log if you're reporting an issue:
====
I am looking to be able to send an automatic message like no reply or “Please do not reply to this email. Replies to this message are routed to an unmonitored mailbox.” from one specific email address?

----

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

2

Re: custom automatic message

What did you do and what's your trouble?

3

Re: custom automatic message

ZhangHuangbin its not an problem I am asking how can I do this with iredmail I want an custom bounce message or something like that from an one specific email address.

4

Re: custom automatic message

Seems you're looking for something like "vacation" (a.k.a. auto-reply, auto-respond) message. If yes, you can add vacation message with Roundcube webmail.

5

Re: custom automatic message

sorry but I tried that under roundcube it only worked with one email then I tried it with an other email from other email address and it dont work. I need something that is going to work better.

6

Re: custom automatic message

how did you set this vacation message?

7 (edited by nwohiobb 2014-10-01 04:20:41)

Re: custom automatic message

just like how it said : How often send messages (in days): which is 1 day.

8

Re: custom automatic message

Could you please help capture a screenshot of your vacation setting page to help us understand this issue? And, any related log in /var/log/dovecot-sieve.log?

9

Re: custom automatic message

Here is mail log:

Oct  1 13:33:28 mail cbpolicyd[4876]: module=CheckHelo, action=pass, host=192.168.60.20, helo=messagecenter.xxx.com, from=postmaster@barracudanetworks.com, to=vm@xxx.com, reason=whitelisted
Oct  1 13:33:28 mail postfix/smtpd[525]: warning: 20.60.168.192.list.dsbl.org: RBL lookup error: Host or domain name not found. Name service error for name=20.60.168.192.list.dsbl.org type=A: Host not found, try again
Oct  1 13:33:29 mail postfix/smtpd[525]: 3C8E55828C7: client=unknown[192.168.60.20]
Oct  1 13:33:30 mail postfix/smtpd[541]: connect from unknown[192.168.60.20]
Oct  1 13:33:30 mail cbpolicyd[2358]: module=CheckHelo, action=pass, host=192.168.60.20, helo=messagecenter.xxx.com, from=timxxx@.net, to=vm@xxx.com, reason=whitelisted
Oct  1 13:33:31 mail postfix/smtpd[541]: warning: 20.60.168.192.list.dsbl.org: RBL lookup error: Host or domain name not found. Name service error for name=20.60.168.192.list.dsbl.org type=A: Host not found, try again
Oct  1 13:33:31 mail postfix/smtpd[541]: 4798F582916: client=unknown[192.168.60.20]
Oct  1 13:33:32 mail postfix/cleanup[543]: 4798F582916: message-id=<9dbb9bc2ddfc9f9a552ca6fb4be61398@xxx.net>
Oct  1 13:33:32 mail postfix/qmgr[1780]: 4798F582916: from=<timxxx@.net>, size=2227, nrcpt=1 (queue active)
Oct  1 13:33:32 mail postfix/smtpd[541]: disconnect from unknown[192.168.60.20]
Oct  1 13:33:37 mail postfix/smtpd[547]: connect from localhost[127.0.0.1]
Oct  1 13:33:37 mail postfix/smtpd[547]: E23D7582917: client=localhost[127.0.0.1]
Oct  1 13:33:37 mail postfix/cleanup[543]: E23D7582917: message-id=<9dbb9bc2ddfc9f9a552ca6fb4be61398@xxx.net>
Oct  1 13:33:37 mail postfix/qmgr[1780]: E23D7582917: from=<timxxx@.net>, size=2670, nrcpt=1 (queue active)
Oct  1 13:33:37 mail postfix/smtpd[547]: disconnect from localhost[127.0.0.1]
Oct  1 13:33:38 mail amavis[27011]: (27011-19) Passed CLEAN, MYNETS LOCAL [192.168.60.20] [206.51.160.12] <timxxx@.net> -> <vm@xxx.com>, Message-ID: <9dbb9bc2ddfc9f9a552ca6fb4be61398@xxx.net>, mail_id: APOcoYb-Q3SI, Hits: -1.9, size: 2226, queued_as: E23D7582917, 5630 ms
Oct  1 13:33:38 mail postfix/smtp[544]: 4798F582916: to=<vm@xxx.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.4, delays=1.7/0.01/0/5.7, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E23D7582917)
Oct  1 13:33:38 mail postfix/qmgr[1780]: 4798F582916: removed
Oct  1 13:33:38 mail postfix/pipe[548]: E23D7582917: to=<vm@xxx.com>, relay=dovecot, delay=0.36, delays=0.05/0.02/0/0.3, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct  1 13:33:38 mail postfix/qmgr[1780]: E23D7582917: removed
Oct  1 13:33:59 mail postfix/smtpd[525]: disconnect from unknown[192.168.60.20]

far as /var/log/dovecot-sieve.log there is noting there.

Then here is the screenshot:
http://i62.tinypic.com/2ytp360.jpg

10

Re: custom automatic message

You need to uncheck "Filter disabled" at the bottom. I suggest doing the same for the junk one.

11

Re: custom automatic message

nope that still dont do anything so anything else I can do?

12

Re: custom automatic message

Have you by any chance disabled Amavis?

13

Re: custom automatic message

If sieve script doesn't work for you, please enable debug mode in Dovecot to figure it out.
Reference:
http://www.iredmail.org/docs/turn.on.de … vecot.html

14 (edited by craig 2014-10-03 10:04:07)

Re: custom automatic message

craig wrote:

Have you by any chance disabled Amavis?

I found that when I disabled Amavis for performance reasons, the auto-reply function stopped working too.

15

Re: custom automatic message

Auto-reply is controlled by sieve script, not Amavisd.

16 (edited by nwohiobb 2014-11-08 02:27:00)

Re: custom automatic message

Ok I have tried to do that again what is weird I can send an test email from my domain it comes back auto:vacation but when I try sending it from my ISP email I dont get noting. When I try it on gmail it works with auto:vacation then when I try it on hotmail/live it dont work.

Here is the dovecot log:

Nov 07 13:17:15 pop3(i****@*****.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Nov 07 13:17:15 pop3(i****@*****.com): Debug: Quota rule: root=user mailbox=* bytes=1073741824 messages=0
Nov 07 13:17:15 pop3(i****@*****.com): Debug: Quota warning: bytes=912680550 (85%) messages=0 reverse=no command=quota-warning 85 i****@*****.com
Nov 07 13:17:15 pop3(i****@*****.com): Debug: Quota warning: bytes=966367641 (90%) messages=0 reverse=no command=quota-warning 90 i****@*****.com
Nov 07 13:17:15 pop3(i****@*****.com): Debug: Quota warning: bytes=1020054732 (95%) messages=0 reverse=no command=quota-warning 95 i****@*****.com
Nov 07 13:17:15 pop3(i****@*****.com): Debug: dict quota: user=i****@*****.com, uri=proxy::quotadict, noenforcing=0
Nov 07 13:17:15 pop3(i****@*****.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/******.com/i/p/o/*******-2013.07.24.19.58.24//Maildir/:INDEX=//var/vmail/vmail1/******.com/i/p/o/*******-2013.07.24.19.58.24//Maildir/
Nov 07 13:17:15 pop3(i****@*****.com): Debug: maildir++: root=//var/vmail/vmail1/******.com/i/p/o/*******-2013.07.24.19.58.24//Maildir, index=, control=, inbox=//var/vmail/vmail1/******.com/i/p/o/*******-2013.07.24.19.58.24//Maildir, alt=
Nov 07 13:17:15 pop3(i****@*****.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Nov 07 13:17:15 pop3(i****@*****.com): Debug: shared: root=/var/run/dovecot, index=, control=, inbox=, alt=
Nov 07 13:17:32 auth: Debug: auth client connected (pid=2654)
Nov 07 13:17:32 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=35386    resp=<hidden>
Nov 07 13:17:32 auth-worker: Debug: sql(k****@*****.com,127.0.0.1): query: SELECT password FROM mailbox WHERE username='k****@*****.com' AND active='1'
Nov 07 13:17:32 auth: Debug: client out: OK    1    user=k****@*****.com
Nov 07 13:17:32 auth: Debug: master in: REQUEST    287703041    2654    1    54281b0246b4cd25758a754b397a8f1b
Nov 07 13:17:32 auth-worker: Debug: sql(k****@*****.com,127.0.0.1): SELECT 'k****@*****.com' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='k****@*****.com' AND mailbox.domain='******.com' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Nov 07 13:17:32 auth: Debug: master out: USER    287703041    k****@*****.com    master_user=k****@*****.com    home=/var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20/    quota_rule=*:bytes=1073741824
Nov 07 13:17:32 imap-login: Info: Login: user=<k****@*****.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2655, secured
Nov 07 13:17:32 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Nov 07 13:17:32 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Nov 07 13:17:32 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Nov 07 13:17:32 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_autocreate_plugin.so
Nov 07 13:17:32 imap: Debug: Added userdb setting: plugin/master_user=k****@*****.com
Nov 07 13:17:32 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=1073741824
Nov 07 13:17:32 imap(k****@*****.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20/
Nov 07 13:17:32 imap(k****@*****.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Nov 07 13:17:32 imap(k****@*****.com): Debug: Quota rule: root=user mailbox=* bytes=1073741824 messages=0
Nov 07 13:17:32 imap(k****@*****.com): Debug: Quota warning: bytes=912680550 (85%) messages=0 reverse=no command=quota-warning 85 k****@*****.com
Nov 07 13:17:32 imap(k****@*****.com): Debug: Quota warning: bytes=966367641 (90%) messages=0 reverse=no command=quota-warning 90 k****@*****.com
Nov 07 13:17:32 imap(k****@*****.com): Debug: Quota warning: bytes=1020054732 (95%) messages=0 reverse=no command=quota-warning 95 k****@*****.com
Nov 07 13:17:32 imap(k****@*****.com): Debug: dict quota: user=k****@*****.com, uri=proxy::quotadict, noenforcing=0
Nov 07 13:17:32 imap(k****@*****.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir/:INDEX=//var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir/
Nov 07 13:17:32 imap(k****@*****.com): Debug: maildir++: root=//var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir, index=, control=, inbox=//var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir, alt=
Nov 07 13:17:32 imap(k****@*****.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Nov 07 13:17:32 imap(k****@*****.com): Debug: shared: root=/var/run/dovecot, index=, control=, inbox=, alt=
Nov 07 13:17:32 imap(k****@*****.com): Debug: Namespace : Using permissions from //var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir: mode=0700 gid=-1
Nov 07 13:17:32 imap(k****@*****.com): Info: Disconnected: Logged out bytes=355/2139
Nov 07 13:18:31 auth: Debug: auth client connected (pid=2656)
Nov 07 13:18:31 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=35388    resp=<hidden>
Nov 07 13:18:31 auth-worker: Debug: sql(k****@*****.com,127.0.0.1): query: SELECT password FROM mailbox WHERE username='k****@*****.com' AND active='1'
Nov 07 13:18:31 auth: Debug: client out: OK    1    user=k****@*****.com
Nov 07 13:18:31 auth: Debug: master in: REQUEST    2418802689    2656    1    f7c755096b00e8ade33285e5678bcc97
Nov 07 13:18:31 auth-worker: Debug: sql(k****@*****.com,127.0.0.1): SELECT 'k****@*****.com' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='k****@*****.com' AND mailbox.domain='******.com' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Nov 07 13:18:31 auth: Debug: master out: USER    2418802689    k****@*****.com    master_user=k****@*****.com    home=/var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20/    quota_rule=*:bytes=1073741824
Nov 07 13:18:31 imap-login: Info: Login: user=<k****@*****.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2657, secured
Nov 07 13:18:31 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Nov 07 13:18:31 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Nov 07 13:18:31 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Nov 07 13:18:31 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_autocreate_plugin.so
Nov 07 13:18:31 imap: Debug: Added userdb setting: plugin/master_user=k****@*****.com
Nov 07 13:18:31 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=1073741824
Nov 07 13:18:31 imap(k****@*****.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20/
Nov 07 13:18:31 imap(k****@*****.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Nov 07 13:18:31 imap(k****@*****.com): Debug: Quota rule: root=user mailbox=* bytes=1073741824 messages=0
Nov 07 13:18:31 imap(k****@*****.com): Debug: Quota warning: bytes=912680550 (85%) messages=0 reverse=no command=quota-warning 85 k****@*****.com
Nov 07 13:18:31 imap(k****@*****.com): Debug: Quota warning: bytes=966367641 (90%) messages=0 reverse=no command=quota-warning 90 k****@*****.com
Nov 07 13:18:31 imap(k****@*****.com): Debug: Quota warning: bytes=1020054732 (95%) messages=0 reverse=no command=quota-warning 95 k****@*****.com
Nov 07 13:18:31 imap(k****@*****.com): Debug: dict quota: user=k****@*****.com, uri=proxy::quotadict, noenforcing=0
Nov 07 13:18:31 imap(k****@*****.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir/:INDEX=//var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir/
Nov 07 13:18:31 imap(k****@*****.com): Debug: maildir++: root=//var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir, index=, control=, inbox=//var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir, alt=
Nov 07 13:18:31 imap(k****@*****.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Nov 07 13:18:31 imap(k****@*****.com): Debug: shared: root=/var/run/dovecot, index=, control=, inbox=, alt=
Nov 07 13:18:31 imap(k****@*****.com): Debug: Namespace : Using permissions from //var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir: mode=0700 gid=-1
Nov 07 13:18:31 imap(k****@*****.com): Info: Disconnected: Logged out bytes=355/2139
Nov 07 13:19:30 auth: Debug: auth client connected (pid=2658)
Nov 07 13:19:30 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=35390    resp=<hidden>
Nov 07 13:19:30 auth-worker: Debug: sql(k****@*****.com,127.0.0.1): query: SELECT password FROM mailbox WHERE username='k****@*****.com' AND active='1'
Nov 07 13:19:30 auth: Debug: client out: OK    1    user=k****@*****.com
Nov 07 13:19:30 auth: Debug: master in: REQUEST    2186280961    2658    1    21618da537b0a37746715f56f1796880
Nov 07 13:19:30 auth-worker: Debug: sql(k****@*****.com,127.0.0.1): SELECT 'k****@*****.com' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='k****@*****.com' AND mailbox.domain='******.com' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Nov 07 13:19:30 auth: Debug: master out: USER    2186280961    k****@*****.com    master_user=k****@*****.com    home=/var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20/    quota_rule=*:bytes=1073741824
Nov 07 13:19:30 imap-login: Info: Login: user=<k****@*****.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2659, secured
Nov 07 13:19:30 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Nov 07 13:19:30 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Nov 07 13:19:30 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Nov 07 13:19:30 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_autocreate_plugin.so
Nov 07 13:19:30 imap: Debug: Added userdb setting: plugin/master_user=k****@*****.com
Nov 07 13:19:30 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=1073741824
Nov 07 13:19:30 imap(k****@*****.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20/
Nov 07 13:19:30 imap(k****@*****.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Nov 07 13:19:30 imap(k****@*****.com): Debug: Quota rule: root=user mailbox=* bytes=1073741824 messages=0
Nov 07 13:19:30 imap(k****@*****.com): Debug: Quota warning: bytes=912680550 (85%) messages=0 reverse=no command=quota-warning 85 k****@*****.com
Nov 07 13:19:30 imap(k****@*****.com): Debug: Quota warning: bytes=966367641 (90%) messages=0 reverse=no command=quota-warning 90 k****@*****.com
Nov 07 13:19:30 imap(k****@*****.com): Debug: Quota warning: bytes=1020054732 (95%) messages=0 reverse=no command=quota-warning 95 k****@*****.com
Nov 07 13:19:30 imap(k****@*****.com): Debug: dict quota: user=k****@*****.com, uri=proxy::quotadict, noenforcing=0
Nov 07 13:19:30 imap(k****@*****.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir/:INDEX=//var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir/
Nov 07 13:19:30 imap(k****@*****.com): Debug: maildir++: root=//var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir, index=, control=, inbox=//var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir, alt=
Nov 07 13:19:30 imap(k****@*****.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Nov 07 13:19:30 imap(k****@*****.com): Debug: shared: root=/var/run/dovecot, index=, control=, inbox=, alt=
Nov 07 13:19:30 imap(k****@*****.com): Debug: Namespace : Using permissions from //var/vmail/vmail1/******.com/k/a/t/*******-2013.07.24.14.04.20//Maildir: mode=0700 gid=-1
Nov 07 13:19:30 imap(k****@*****.com): Info: Disconnected: Logged out bytes=355/2139

17

Re: custom automatic message

Any related log in /var/log/dovecot-sieve.log (or sieve.log on old iRedMail releases)?

And please don't forget that sieve sends vacation message to the same sender only once in a day with default setting (":days 1" in sieve rule).

18

Re: custom automatic message

Noting in the dovecot-sieve.log    ......

19

Re: custom automatic message

Sorry, cannot help without related log. i have no idea yet.