1 (edited by liviu 2009-11-24 21:15:45)

Topic: out of office not working

Hi

I installed iRedMail and it's mostly working, except for the out of office filter in roundcube.

I *CAN* select it and create the filter, but it doesn't do anything. I created that filter for my mailbox, but I still receive emails and I'm not sending any automated reply back.

I can't see anything unusual in the logs either.

Is there anything else I have to setup before being able to use it?
Thanks

P.S Just posting some stuff from logs, in case anyone sees something I don't.

Nov 24 14:47:44 ns amavis[25962]: (25962-17) Passed CLEAN, LOCAL [92.212.35.11] [92.212.35.11] <dmor@iboker.ro> -> <lib@iboker.ro>, Message-ID: <70BDD85076904B9CA8D6BA52A1BB34E2@DIT>, mail_id: XcGYqGii1bsq, Hits: -9.755, size: 1384, queued_as: 5EFB4C68F1, 175 ms
Nov 24 14:48:19 ns amavis[26243]: (26243-14) Passed CLEAN, LOCAL [92.212.35.11] [92.212.35.11] <dmor@iboker.ro> -> <lib@iboker.ro>, Message-ID: <883FB5CAF98F454C86B6CDADB33795F4@DIT>, mail_id: yOlW3qHOqzG5, Hits: -8.688, size: 1393, queued_as: 378FDC68F0, 158 ms


deliver(lib@iboker.ro): Nov 24 14:47:44 Info: msgid=<70BDD85076904B9CA8D6BA52A1BB34E2@DIT>: saved mail to INBOX
deliver(lib@iboker.ro): Nov 24 14:48:19 Info: msgid=<883FB5CAF98F454C86B6CDADB33795F4@DIT>: saved mail to INBOX

First message had "out of office" rule. Second message had "reject" rule (both setup from roundcube filters). They both got in and no reply was sent back.


[root@ns log]# cat /var/log/messages | grep 5EFB4C68F1

Nov 24 14:47:44 ns postfix/smtpd[26795]: 5EFB4C68F1: client=localhost.localdomain[127.0.0.1]
Nov 24 14:47:44 ns postfix/cleanup[25256]: 5EFB4C68F1: message-id=<70BDD85076904B9CA8D6BA52A1BB34E2@DIT>
Nov 24 14:47:44 ns postfix/qmgr[3047]: 5EFB4C68F1: from=<dmor@iboker.ro>, size=2286, nrcpt=1 (queue active)
Nov 24 14:47:44 ns amavis[25962]: (25962-17) Passed CLEAN, LOCAL [92.212.35.11] [92.212.35.11] <dmor@iboker.ro> -> <lib@iboker.ro>, Message-ID: <70BDD85076904B9CA8D6BA52A1BB34E2@DIT>, mail_id: XcGYqGii1bsq, Hits: -9.755, size: 1384, queued_as: 5EFB4C68F1, 175 ms
Nov 24 14:47:44 ns postfix/smtp[26044]: 26B61C682D: to=<lib@iboker.ro>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.26, delays=0.07/0/0/0.18, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=25962-17, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5EFB4C68F1)
Nov 24 14:47:44 ns postfix/pipe[26797]: 5EFB4C68F1: to=<lib@iboker.ro>, relay=dovecot, delay=0.04, delays=0.01/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 24 14:47:44 ns postfix/qmgr[3047]: 5EFB4C68F1: removed




[root@ns log]# cat /var/log/messages | grep 378FDC68F0

Nov 24 14:48:19 ns postfix/smtpd[24848]: 378FDC68F0: client=localhost.localdomain[127.0.0.1]
Nov 24 14:48:19 ns postfix/cleanup[25256]: 378FDC68F0: message-id=<883FB5CAF98F454C86B6CDADB33795F4@DIT>
Nov 24 14:48:19 ns postfix/qmgr[3047]: 378FDC68F0: from=<dmor@iboker.ro>, size=2295, nrcpt=1 (queue active)
Nov 24 14:48:19 ns amavis[26243]: (26243-14) Passed CLEAN, LOCAL [92.212.35.11] [92.212.35.11] <dmor@iboker.ro> -> <lib@iboker.ro>, Message-ID: <883FB5CAF98F454C86B6CDADB33795F4@DIT>, mail_id: yOlW3qHOqzG5, Hits: -8.688, size: 1393, queued_as: 378FDC68F0, 158 ms
Nov 24 14:48:19 ns postfix/smtp[26791]: 06A78C682D: to=<lib@iboker.ro>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.22, delays=0.06/0/0/0.16, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=26243-14, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 378FDC68F0)
Nov 24 14:48:19 ns postfix/pipe[26797]: 378FDC68F0: to=<lib@iboker.ro>, relay=dovecot, delay=0.47, delays=0/0/0/0.46, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 24 14:48:19 ns postfix/qmgr[3047]: 378FDC68F0: removed

----

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

2

Re: out of office not working

Could you please set 'mail_debug = yes' in /etc/dovecot.conf (RHEL/CentOS) or /etc/dovecot/dovecot.conf (Debian/Ubuntu), and then restart dovecot to make it work, monitor dovecot log to see what happen?

3 (edited by liviu 2009-11-24 21:26:03)

Re: out of office not working

ZhangHuangbin wrote:

Could you please set 'mail_debug = yes' in /etc/dovecot.conf (RHEL/CentOS) or /etc/dovecot/dovecot.conf (Debian/Ubuntu), and then restart dovecot to make it work, monitor dovecot log to see what happen?

Done. Sorry for the spam, this is what I see for the sender:


dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Loading modules from directory: /usr/lib64/dovecot/imap
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib10_quota_plugin.so
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib11_imap_quota_plugin.so
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib20_zlib_plugin.so
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Effective uid=500, gid=500, home=/
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Quota root: name= backend=maildir args=
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Quota rule: root= mailbox=* bytes=4194304000 messages=0
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3565158400 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3774873600 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3984588800 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): maildir: data=~//stuff/dmor/Maildir/
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): maildir++: root=///stuff/dmor/Maildir, index=, control=, inbox=///stuff/dmor/Maildir
dovecot: Nov 24 15:18:09 Info: imap-login: Login: user=<dmor@iboker.ro>, method=PLAIN, rip=92.212.35.11, lip=92.212.35.35
dovecot: Nov 24 15:18:09 Info: IMAP(dmor@iboker.ro): Disconnected: Logged out bytes=1255/175
dovecot: Nov 24 15:18:11 Info: imap-login: Login: user=<dmor@iboker.ro>, method=PLAIN, rip=92.212.35.11, lip=92.212.35.35
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Loading modules from directory: /usr/lib64/dovecot/imap
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib10_quota_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib11_imap_quota_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib20_zlib_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Effective uid=500, gid=500, home=/
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota root: name= backend=maildir args=
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota rule: root= mailbox=* bytes=4194304000 messages=0
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3565158400 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3774873600 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3984588800 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): maildir: data=~//stuff/dmor/Maildir/
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): maildir++: root=///stuff/dmor/Maildir, index=, control=, inbox=///stuff/dmor/Maildir
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Disconnected in IDLE bytes=265/1026
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Loading modules from directory: /usr/lib64/dovecot/imap
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib10_quota_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib11_imap_quota_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib20_zlib_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Effective uid=500, gid=500, home=/
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota root: name= backend=maildir args=
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota rule: root= mailbox=* bytes=4194304000 messages=0
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3565158400 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3774873600 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3984588800 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): maildir: data=~//stuff/dmor/Maildir/
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): maildir++: root=///stuff/dmor/Maildir, index=, control=, inbox=///stuff/dmor/Maildir
dovecot: Nov 24 15:18:11 Info: imap-login: Login: user=<dmor@iboker.ro>, method=PLAIN, rip=92.212.35.11, lip=92.212.35.35
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Disconnected in IDLE bytes=258/989
dovecot: Nov 24 15:18:11 Info: imap-login: Login: user=<dmor@iboker.ro>, method=PLAIN, rip=92.212.35.11, lip=92.212.35.35
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Loading modules from directory: /usr/lib64/dovecot/imap
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib10_quota_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib11_imap_quota_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib20_zlib_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Effective uid=500, gid=500, home=/
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota root: name= backend=maildir args=
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota rule: root= mailbox=* bytes=4194304000 messages=0
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3565158400 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3774873600 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3984588800 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): maildir: data=~//stuff/dmor/Maildir/
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): maildir++: root=///stuff/dmor/Maildir, index=, control=, inbox=///stuff/dmor/Maildir
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Disconnected: Logged out bytes=280/5541
dovecot: Nov 24 15:18:11 Info: imap-login: Login: user=<dmor@iboker.ro>, method=PLAIN, rip=92.212.35.11, lip=92.212.35.35
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Loading modules from directory: /usr/lib64/dovecot/imap
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib10_quota_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib11_imap_quota_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib20_zlib_plugin.so
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Effective uid=500, gid=500, home=/
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota root: name= backend=maildir args=
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota rule: root= mailbox=* bytes=4194304000 messages=0
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3565158400 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3774873600 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): Quota warning: bytes=3984588800 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): maildir: data=~//stuff/dmor/Maildir/
dovecot: Nov 24 15:18:11 Info: IMAP(dmor@iboker.ro): maildir++: root=///stuff/dmor/Maildir, index=, control=, inbox=///stuff/dmor/Maildir


...and the receiver:

dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Loading modules from directory: /usr/lib64/dovecot/imap
dovecot: Nov 24 15:18:33 Info: imap-login: Login: user=<lib@iboker.ro>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib10_quota_plugin.so
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib11_imap_quota_plugin.so
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib20_zlib_plugin.so
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Effective uid=500, gid=500, home=/stuff/vmail01
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Quota root: name= backend=maildir args=
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Quota rule: root= mailbox=* bytes=4194304000 messages=0
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Quota warning: bytes=3565158400 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Quota warning: bytes=3774873600 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Quota warning: bytes=3984588800 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): maildir: data=~/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir/
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): maildir++: root=/stuff/vmail01/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir, index=, control=, inbox=/stuff/vmail01/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir
dovecot: Nov 24 15:18:33 Info: IMAP(lib@iboker.ro): Disconnected: Logged out bytes=796/5028
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Loading modules from directory: /usr/lib64/dovecot/imap
dovecot: Nov 24 15:19:33 Info: imap-login: Login: user=<lib@iboker.ro>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib10_quota_plugin.so
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib11_imap_quota_plugin.so
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Module loaded: /usr/lib64/dovecot/imap/lib20_zlib_plugin.so
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Effective uid=500, gid=500, home=/stuff/vmail01
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Quota root: name= backend=maildir args=
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Quota rule: root= mailbox=* bytes=4194304000 messages=0
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Quota warning: bytes=3565158400 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Quota warning: bytes=3774873600 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Quota warning: bytes=3984588800 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): maildir: data=~/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir/
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): maildir++: root=/stuff/vmail01/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir, index=, control=, inbox=/stuff/vmail01/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir
dovecot: Nov 24 15:19:33 Info: IMAP(lib@iboker.ro): Disconnected: Logged out bytes=444/2937

4

Re: out of office not working

Any log in /var/log/sieve.log?

5

Re: out of office not working

ZhangHuangbin wrote:

Any log in /var/log/sieve.log?

deliver(lib@iboker.ro): Nov 24 15:35:51 Info: Loading modules from directory: /usr/lib64/dovecot/lda
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: Module loaded: /usr/lib64/dovecot/lda/lib10_quota_plugin.so
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: Module loaded: /usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: auth input: mail=maildir:~/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir/
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: auth input: quota_rule=*:bytes=4194304000
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: auth input: home=/stuff/vmail01
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: Quota root: name= backend=maildir args=
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: Quota rule: root= mailbox=* bytes=4194304000 messages=0
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: Quota warning: bytes=3565158400 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: Quota warning: bytes=3774873600 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: Quota warning: bytes=3984588800 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: maildir: data=~/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir/
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: maildir++: root=/stuff/vmail01/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir, index=, control=, inbox=/stuff/vmail01/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: cmusieve: /var/mail/sieve/iboker.ro/lib/dovecot.sieve doesn't exist
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: cmusieve: Using sieve path: /mail/sieve/dovecot.sieve
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: cmusieve: Executing script /mail/sieve/dovecot.sievec
deliver(lib@iboker.ro): Nov 24 15:35:52 Info: msgid=<D4E4533454F44C8D9E07E31C10170CAD@DIT>: saved mail to INBOX

6

Re: out of office not working

deliver(lib@iboker.ro): Nov 24 15:35:51 Info: cmusieve: /var/mail/sieve/iboker.ro/lib/dovecot.sieve doesn't exist
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: cmusieve: Using sieve path: /mail/sieve/dovecot.sieve
deliver(lib@iboker.ro): Nov 24 15:35:51 Info: cmusieve: Executing script /mail/sieve/dovecot.sievec

Got it? Incorrect file location tongue

7 (edited by liviu 2009-11-24 22:02:10)

Re: out of office not working

Ok, but I created the file manually now (owned by vmail:vmail, copied from /mail/sieve/) , but it still won't send anything back and it still takes the email.

deliver(lib@iboker.ro): Nov 24 15:54:39 Info: Loading modules from directory: /usr/lib64/dovecot/lda
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: Module loaded: /usr/lib64/dovecot/lda/lib10_quota_plugin.so
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: Module loaded: /usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: auth input: mail=maildir:~/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir/
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: auth input: quota_rule=*:bytes=4194304000
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: auth input: home=/stuff/vmail01
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: Quota root: name= backend=maildir args=
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: Quota rule: root= mailbox=* bytes=4194304000 messages=0
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: Quota warning: bytes=3565158400 (85%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 85
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: Quota warning: bytes=3774873600 (90%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 90
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: Quota warning: bytes=3984588800 (95%) messages=0 command=/usr/bin/dovecot-quota-warning.sh 95
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: maildir: data=~/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir/
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: maildir++: root=/stuff/vmail01/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir, index=, control=, inbox=/stuff/vmail01/iboker.ro/l/li/lib/lib-2009.09.10.17.27.21//Maildir
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: cmusieve: Using sieve path: /var/mail/sieve/iboker.ro/lib/dovecot.sieve
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: cmusieve: Executing script /var/mail/sieve/iboker.ro/lib/dovecot.sievec
deliver(lib@iboker.ro): Nov 24 15:54:39 Info: msgid=<356861.81995.qm@web58206.mail.re3.yahoo.com>: saved mail to INBOX

Question is, how do I make roundcube write the filter (out of office) in that file?

Right now, it containts this:

[root@ns lib]# cat dovecot.sieve
#
# Sample dovecot sieve global rules. It should be localted at:
#   /var/mail/.dovecot.sieve
# Refer to 'sieve_global_path' parameter for the file localtion
# in dovecot.conf on your server.
#
# Shipped within iRedMail project:
#   * http://code.google.com/p/iredmail/
#

# For more information, please refer to official documentation:
# http://wiki.dovecot.org/LDA/Sieve

require ["fileinto", "reject", "include"];

# -------------------------------------------------
# --------------- Global sieve rules --------------
# -------------------------------------------------

# Spam control.
if header :matches ["X-Spam-Flag"] ["YES"] {
    # If you want to copy this spam mail to other people, uncomment
    # the below line.
    # Note: one person, one command.
    #redirect "user1@domain.ltd";
    #redirect "user2@domain.ltd";

    # Keep this mail in INBOX.
    #keep;

    # If you ensure it is really a spam, drop it to 'Junk', and stop
    # here so that we do not reply to spammers.
    fileinto "Junk";

    # Do not waste resource on spam mail.
    stop;

    # If you ensure they are spam, you can discard it.
    #discard;
}

When I add a filter in roundcube, it's not added in /path/to/dovecot.sieve. What am I doing wrong?

8

Re: out of office not working

Could you please paste the content of /var/mail/sieve/iboker.ro/lib/dovecot.sieve?

9

Re: out of office not working

ZhangHuangbin wrote:

Could you please paste the content of /var/mail/sieve/iboker.ro/lib/dovecot.sieve?

I just did, right above, sorry for the delay with editing.

10

Re: out of office not working

Please make sure file location set in dovecot.conf is incorrect, include per-user sieve storage directory.

11

Re: out of office not working

ZhangHuangbin wrote:

Please make sure file location set in dovecot.conf is incorrect, include per-user sieve storage directory.

Checked it, you are right, the path was incorrect in dovecot.conf
Sorry for the trouble and thank you for your time.
Have a nice day smile

12

Re: out of office not working

Would you mind to share us your iRedMail success story? smile

13

Re: out of office not working

ZhangHuangbin wrote:

Would you mind to share us your iRedMail success story? smile

I will, as soon as it becomes one.
Still have quite a lot of things to understand and configure to make it a success... smile