[Dovecot] Vacation Notice Not Working
To Dovecot,
When I try to active Vacation Notice using Egroupware, I can see (xxxx.sieve) generated in mail server. but not working.
OS : Fedora 14 Installed Packages:
- Postfix
- Dovecot (2.0.15) note : come with Fedora 14
- Dovecot-pigeonhole (2.0.15) note: come with Fedora 14
- ispconfig 2
- Egroupware (Email Client)
my setting in /etc/dovecot/dovecot.conf protocols = sieve imap pop3
plugin { plugin = sieve sieve = ~/.dovecot.sieve sieve_dir = ~/sieve }
service managesieve-login { inet_listener managesieve-login { address = * port = 2000 } }
protocol lda { #hostname = example.com mail_plugins = sieve quota postmaster_address = postmaster@example.com auth_socket_path = /var/run/dovecot/auth-master log_path = /var/log/dovecot-deliver.log }
protocol sieve { managesieve_implementation_string = Cyrus timsieved v2.2.13 managesieve_logout_format = bytes ( in=%i : out=%o ) managesieve_max_line_length = 65536 }
Ch Chai wrote:
When I try to active Vacation Notice using Egroupware, I can see (xxxx.sieve) generated in mail server. but not working.
- Which sieve related lines can you see in your dovecot logfiles?
- Is .dovecot.sieve correctly symlinked to xxxx.sieve?
- Can you post the contents of the xxxx.sieve file?
- Do you have the problem with vacation of a current www.tine20.org release?
Regards Daniel
----------------original message----------------- From: "Daniel Parthey" daniel.parthey@informatik.tu-chemnitz.de To: "Ch Chai" chchai@acelsys.com CC: dovecot@dovecot.org Date: Mon, 31 Dec 2012 04:18:46 +0100
Ch Chai wrote:
When I try to active Vacation Notice using Egroupware, I can see (xxxx.sieve) generated in mail server. but not working.
- Which sieve related lines can you see in your dovecot logfiles?
- Is .dovecot.sieve correctly symlinked to xxxx.sieve?
- Can you post the contents of the xxxx.sieve file?
- Do you have the problem with vacation of a current www.tine20.org release?
Regards Daniel
Hi Daniel,
- There is some log in /var/log/maillog when I sent mail to testuser. but I can't see dovecot-deliver.log in mail server.
Dec 31 11:50:54 server1 postfix/smtpd[7251]: warning: TLS library problem: 7251:error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib:ssl_rsa.c:729: Dec 31 11:50:54 server1 postfix/smtpd[7251]: connect from unknown[192.168.168.237] Dec 31 11:50:54 server1 postfix/smtpd[7251]: 636842549F: client=unknown[192.168.168.237], sasl_method=PLAIN, sasl_username=web1_chchai Dec 31 11:50:54 server1 postfix/cleanup[7254]: 636842549F: message-id=50E10B9D.5070705@acelsys.com Dec 31 11:50:54 server1 postfix/qmgr[1795]: 636842549F: from=chchai@acelsys.com , size=607, nrcpt=1 (queue active) Dec 31 11:50:54 server1 postfix/smtpd[7251]: disconnect from unknown[192.168.168.237] Dec 31 11:50:54 server1 sendmail[7260]: qBV3osfJ007260: from=web1_test, size=114, class=0, nrcpts=1, msgid=201212310350.qBV3osfJ007260@server1.example.com , relay=web1_test@localhost Dec 31 11:50:54 server1 postfix/smtpd[7251]: connect from localhost[127.0.0.1] Dec 31 11:50:54 server1 postfix/smtpd[7251]: AE8D9254B6: client=localhost[127.0.0.1], sasl_sender=web1_test@server1.example.com Dec 31 11:50:54 server1 postfix/cleanup[7254]: AE8D9254B6: message-id=201212310350.qBV3osfJ007260@server1.example.com Dec 31 11:50:54 server1 postfix/qmgr[1795]: AE8D9254B6: from=web1_test@server1.example.com , size=634, nrcpt=1 (queue active)
- I'm not sure, but it always generate in path /var/www/web1/user/(user name)/sieve/ when I active Vacation Notice in Egroupware
- I never try www.tine20.org before, but I have tried use Thunderbird with sieve plugin, it can be connect to sieve server, but when I turn on vacation notice, nothing happen.
- contents of /var/www/web1/user/web1_test/sieve/test_felamimail.sieve #Mail filter rules for test #Generated by test using FeLaMiMail 1.8 require ["vacation"];
vacation :days 1 :addresses ["test@acelsys.com "] text: Testing. On Vacation. . ;
##PSEUDO script start #vacation&&1&&"test@acelsys.com "&&Testing. On Vacation.&&on #mode&&basic
Ch Chai wrote:
Ch Chai wrote:
When I try to active Vacation Notice using Egroupware, I can see (xxxx.sieve) generated in mail server. but not working.
- Which sieve related lines can you see in your dovecot logfiles?
- Is .dovecot.sieve correctly symlinked to xxxx.sieve?
- Can you post the contents of the xxxx.sieve file?
- Do you have the problem with vacation of a current www.tine20.org release?
- There is some log in /var/log/maillog when I sent mail to testuser. but I can't see dovecot-deliver.log in mail server.
See http://wiki2.dovecot.org/Logging
You can find the log file locations by running: doveadm log find
- I'm not sure, but it always generate in path /var/www/web1/user/(user name)/sieve/ when I active Vacation Notice in Egroupware
/var/www/web1/user/(user name)/.dovecot.sieve should be a symlink to the active sieve script. Does this symlink exist and where does it point to?
- I never try www.tine20.org before
It is a complete reimplementation of a groupware and contains FeLaMiMail 2.x
I have tried use Thunderbird with sieve plugin, it can be connect to sieve server, but when I turn on vacation notice, nothing happen.
Is your vacation script shown as active in Thunderbird sieve?
- contents of /var/www/web1/user/web1_test/sieve/test_felamimail.sieve #Mail filter rules for test #Generated by test using FeLaMiMail 1.8 require ["vacation"];
vacation :days 1 :addresses ["test@acelsys.com "] text: maybe there is a space character too much? ^
Try to remove the space behind the email in egroupware user admin.
Regards Daniel
----------------original message----------------- From: "Daniel Parthey" daniel.parthey@informatik.tu-chemnitz.de To: "Ch Chai" chchai@acelsys.com CC: dovecot@dovecot.org Date: Mon, 31 Dec 2012 05:56:55 +0100
Ch Chai wrote:
Ch Chai wrote:
When I try to active Vacation Notice using Egroupware, I can see (xxxx.sieve) generated in mail server. but not working.
- Which sieve related lines can you see in your dovecot logfiles?
- Is .dovecot.sieve correctly symlinked to xxxx.sieve?
- Can you post the contents of the xxxx.sieve file?
- Do you have the problem with vacation of a current www.tine20.org release?
- There is some log in /var/log/maillog when I sent mail to testuser. but I can't see dovecot-deliver.log in mail server.
See http://wiki2.dovecot.org/Logging
You can find the log file locations by running: doveadm log find
- I'm not sure, but it always generate in path /var/www/web1/user/(user name)/sieve/ when I active Vacation Notice in Egroupware
/var/www/web1/user/(user name)/.dovecot.sieve should be a symlink to the active sieve script. Does this symlink exist and where does it point to?
- I never try www.tine20.org before
It is a complete reimplementation of a groupware and contains FeLaMiMail 2.x
I have tried use Thunderbird with sieve plugin, it can be connect to sieve server, but when I turn on vacation notice, nothing happen.
Is your vacation script shown as active in Thunderbird sieve?
- contents of /var/www/web1/user/web1_test/sieve/test_felamimail.sieve #Mail filter rules for test #Generated by test using FeLaMiMail 1.8 require ["vacation"];
vacation :days 1 :addresses ["test@acelsys.com "] text: maybe there is a space character too much? ^
Try to remove the space behind the email in egroupware user admin.
Regards Daniel
found this path when by run this command : doveadm log find Debug: /var/log/dovecot-debug.log Info: /var/log/dovecot-info.log Warning: /var/log/dovecot.log Error: /var/log/dovecot.log Fatal: /var/log/dovecot.log
When I vim /var/www/web1/user/(user name)/.dovecot.sieve ,it will point to my sieve file e.g /var/www/web1/user/web1_test/sieve/test_felamimail.sieve
I check back [test_felamimail.sieve] this line ( vacation :days 1 :addresses ["test@acelsys.com "] text: ) there is no space after .com, I don't know why when I 1st time paste into egroupware it will add space for me. I can send/receive mail, just can't activate Vacation Notice. Whats wrong ?
I paste here again: #Mail filter rules for test #Generated by test using FeLaMiMail 1.8 require ["vacation"];
vacation :days 1 :addresses ["test@acelsys.com "] text: Testing. On Vacation. . ;
##PSEUDO script start #vacation&&1&&"test@acelsys.com "&&Testing. On Vacation.&&on #mode&&basic
Hi,
Happy new year to everyone on this list :)
Ch Chai wrote:
When I try to active Vacation Notice using Egroupware, I can see (xxxx.sieve) generated in mail server. but not working.
- Which sieve related lines can you see in your dovecot logfiles? You can find the log file locations by running: doveadm log find
- found this path when by run this command : doveadm log find Debug: /var/log/dovecot-debug.log Info: /var/log/dovecot-info.log Warning: /var/log/dovecot.log Error: /var/log/dovecot.log Fatal: /var/log/dovecot.log
So what can you find in /var/log/dovecot-info.log and /var/log/dovecot.log when a mail is delivered to the test account?
- When I vim /var/www/web1/user/(user name)/.dovecot.sieve ,it will point to my sieve file e.g /var/www/web1/user/web1_test/sieve/test_felamimail.sieve
Seems correct.
Can you see any .dovecot.sieve.log in the same directory as .dovecot.sieve, there sieve related errors would be written, if any.
- I check back [test_felamimail.sieve] this line ( vacation :days 1 :addresses ["test@acelsys.com "] text: ) there is no space after .com, I don't know why when I 1st time paste into egroupware it will add space for me. I can send/receive mail, just can't activate Vacation Notice. Whats wrong ?
The vacation notice seems to be activated, but does not work. We will need some relevant logfile output and doveconf -n output as well as dovecot and pigeonhole version you are using, otherwise it will be difficult to help you.
Regards Daniel
----------------original message----------------- From: "Daniel Parthey" daniel.parthey@informatik.tu-chemnitz.de To: "Ch Chai" chchai@acelsys.com CC: dovecot@dovecot.org Date: Tue, 1 Jan 2013 02:08:14 +0100
Hi,
Happy new year to everyone on this list :)
Ch Chai wrote:
When I try to active Vacation Notice using Egroupware, I can see (xxxx.sieve) generated in mail server. but not working.
- Which sieve related lines can you see in your dovecot logfiles? You can find the log file locations by running: doveadm log find
- found this path when by run this command : doveadm log find Debug: /var/log/dovecot-debug.log Info: /var/log/dovecot-info.log Warning: /var/log/dovecot.log Error: /var/log/dovecot.log Fatal: /var/log/dovecot.log
So what can you find in /var/log/dovecot-info.log and /var/log/dovecot.log when a mail is delivered to the test account?
- When I vim /var/www/web1/user/(user name)/.dovecot.sieve ,it will point to my sieve file e.g /var/www/web1/user/web1_test/sieve/test_felamimail.sieve
Seems correct.
Can you see any .dovecot.sieve.log in the same directory as .dovecot.sieve, there sieve related errors would be written, if any.
- I check back [test_felamimail.sieve] this line ( vacation :days 1 :addresses ["test@acelsys.com "] text: ) there is no space after .com, I don't know why when I 1st time paste into egroupware it will add space for me. I can send/receive mail, just can't activate Vacation Notice. Whats wrong ?
The vacation notice seems to be activated, but does not work. We will need some relevant logfile output and doveconf -n output as well as dovecot and pigeonhole version you are using, otherwise it will be difficult to help you.
Regards Daniel
Hi, Happy New Year :)
version: both come with fedora 14 dovecot - 2.0.15 pigeonhole - 2.0.15
I didn't see any log file or any .dovecot.sieve.log in .dovecot.sieve directory
doveconf -n output:
[root@server1 dovecot]# dovecot -n # 2.0.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.35.14-106.fc14.i686 i686 Fedora release 14 (Laughlin) auth_debug = yes debug_log_path = /var/log/dovecot-debug.log disable_plaintext_auth = no info_log_path = /var/log/dovecot-info.log log_path = /var/log/dovecot.log mail_debug = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date mbox_write_locks = fcntl passdb { driver = pam } plugin { plugin = autocreate managesieve sieve sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = sieve imap pop3 service managesieve-login { inet_listener sieve { address = * port = 2000 } } ssl_cert =
Ch Chai wrote:
pigeonhole - 2.0.15
There is definitely no pigeonhole version 2.0.15, see [1].
- latest pigeonhole version for Dovecot 2.0.x is 0.2.6
- latest pigeonhole version for Dovecot 2.1.x is 0.3.3
Which mechanism are you using for delivery from your MTA to Dovecot? dovecot-lda or any other mechanism?
Possibly, the sieve mechanism of pigeonhole does not even get triggered, if the mail is delivered directly to the target mailbox.
According to the Sieve documentation [2] you need to use Dovecot's Local Delivery Agent (LDA) [3] or the LMTP service [4] for SIEVE support to work correctly on mail delivery.
Regards Daniel
[1] http://pigeonhole.dovecot.org/download.html [2] http://wiki2.dovecot.org/Pigeonhole/Sieve [3] http://wiki2.dovecot.org/LDA [4] http://wiki2.dovecot.org/LMTP
Ch Chai skrev den 2012-12-31 08:11:
- found this path when by run this command : doveadm log find Debug: /var/log/dovecot-debug.log Info: /var/log/dovecot-info.log
above 2 is a good example on how to make it logs
Warning: /var/log/dovecot.log Error: /var/log/dovecot.log Fatal: /var/log/dovecot.log
nothing works here since there is 2 filelooks on the first one so no important error fatal is logged
make them as seperate log files should resolve that
Warning: /var/log/dovecot-warning.log Error: /var/log/dovecot-error.log Fatal: /var/log/dovecot-fatal.log
nope ?
----------------original message----------------- From: "Daniel Parthey" daniel.parthey@informatik.tu-chemnitz.de To: "Ch Chai" chchai@acelsys.com CC: dovecot@dovecot.org Date: Mon, 31 Dec 2012 05:56:55 +0100
Ch Chai wrote:
Ch Chai wrote:
When I try to active Vacation Notice using Egroupware, I can see (xxxx.sieve) generated in mail server. but not working.
- Which sieve related lines can you see in your dovecot logfiles?
- Is .dovecot.sieve correctly symlinked to xxxx.sieve?
- Can you post the contents of the xxxx.sieve file?
- Do you have the problem with vacation of a current www.tine20.org release?
- There is some log in /var/log/maillog when I sent mail to testuser. but I can't see dovecot-deliver.log in mail server.
See http://wiki2.dovecot.org/Logging
You can find the log file locations by running: doveadm log find
- I'm not sure, but it always generate in path /var/www/web1/user/(user name)/sieve/ when I active Vacation Notice in Egroupware
/var/www/web1/user/(user name)/.dovecot.sieve should be a symlink to the active sieve script. Does this symlink exist and where does it point to?
- I never try www.tine20.org before
It is a complete reimplementation of a groupware and contains FeLaMiMail 2.x
I have tried use Thunderbird with sieve plugin, it can be connect to sieve server, but when I turn on vacation notice, nothing happen.
Is your vacation script shown as active in Thunderbird sieve?
- contents of /var/www/web1/user/web1_test/sieve/test_felamimail.sieve #Mail filter rules for test #Generated by test using FeLaMiMail 1.8 require ["vacation"];
vacation :days 1 :addresses ["test@acelsys.com "] text: maybe there is a space character too much? ^
Try to remove the space behind the email in egroupware user admin.
Regards Daniel
- For Thunderbird sieve it show, I see this "connected and script loaded successfully" and for Egroupware when I activated Vacation Notice, it will show "Vacation notice is active" but not working .
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 31 Dec 2012, Ch Chai wrote:
When I try to active Vacation Notice using Egroupware, I can see (xxxx.sieve) generated in mail server. but not working.
- Which sieve related lines can you see in your dovecot logfiles?
- Is .dovecot.sieve correctly symlinked to xxxx.sieve?
You did not answered this question actually. The Dovecot LDA is using ~/.dovecot.sieve as its script file. Your config file does not show any mail_location, so do your users have a home directory at all? Is there a symlink "~/.dovecot.sieve" ?
- There is some log in /var/log/maillog when I sent mail to testuser. but I can't see dovecot-deliver.log in mail server.
Maybe, the LDA has no permission to create /var/log/dovecot-deliver.log, you could touch /var/log/dovecot-deliver.log and chmod a+rw /var/log/dovecot-deliver.log .
Dec 31 11:50:54 server1 postfix/smtpd[7251]: warning: TLS library problem: 7251:error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib:ssl_rsa.c:729: Dec 31 11:50:54 server1 postfix/smtpd[7251]: connect from unknown[192.168.168.237] Dec 31 11:50:54 server1 postfix/smtpd[7251]: 636842549F: client=unknown[192.168.168.237], sasl_method=PLAIN, sasl_username=web1_chchai Dec 31 11:50:54 server1 postfix/cleanup[7254]: 636842549F: message-id=50E10B9D.5070705@acelsys.com Dec 31 11:50:54 server1 postfix/qmgr[1795]: 636842549F: from=chchai@acelsys.com , size=607, nrcpt=1 (queue active) Dec 31 11:50:54 server1 postfix/smtpd[7251]: disconnect from unknown[192.168.168.237] Dec 31 11:50:54 server1 sendmail[7260]: qBV3osfJ007260: from=web1_test, size=114, class=0, nrcpts=1, msgid=201212310350.qBV3osfJ007260@server1.example.com , relay=web1_test@localhost Dec 31 11:50:54 server1 postfix/smtpd[7251]: connect from localhost[127.0.0.1] Dec 31 11:50:54 server1 postfix/smtpd[7251]: AE8D9254B6: client=localhost[127.0.0.1], sasl_sender=web1_test@server1.example.com Dec 31 11:50:54 server1 postfix/cleanup[7254]: AE8D9254B6: message-id=201212310350.qBV3osfJ007260@server1.example.com Dec 31 11:50:54 server1 postfix/qmgr[1795]: AE8D9254B6: from=web1_test@server1.example.com , size=634, nrcpt=1 (queue active)
Er, where in this snippet is Dovecot LDA activated? I see lots of "from"s, but no "to"s. However, I do not run postfix myself.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUOU+4GoxLS8a3A9mAQLNEwf/c/wllcJpq6zBJELnHpCopsTnnIsVLSPC k0nJiiGO/bybqkeiFZq7AB7uOIIzOWGYa9y/6LfRcICCB99mZfUDq/MJKWyxohWb Su5Q23qCrEJJwcCedf4wOhyhDZEjBMht6+gfz15gGzsb/1Vsm2r3ine0388eLvxi 2m4x09EsCIVfsuA6/PzbYRb/L52UeEDR5GyJwdkHo54KZ95BbdSqkCmSPZ/rn0rC yUE8Q4FuWuN/vAT9dm9SsphliLBjRMIsaNoS586Y3/aRJM+I9RuQ8si7WQur6U8+ E3BzudlsPOBxozW6TvTnL8QjFsptERS1zh5yGWH/iwUHLg/7RhTZCQ== =fe2x -----END PGP SIGNATURE-----
participants (4)
-
Benny Pedersen
-
Ch Chai
-
Daniel Parthey
-
Steffen Kaiser