[Dovecot] Vacation Notice Not Working

2012-12-30 Thread Ch Chai
To Dovecot,

When I try to active Vacation Notice using Egroupware, I can see (.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 = postmas...@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
}


Re: [Dovecot] Vacation Notice Not Working

2012-12-30 Thread Ch Chai


original message-
From: "Daniel Parthey" daniel.part...@informatik.tu-chemnitz.de
To: "Ch Chai" chc...@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 (.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 .sieve?
> * Can you post the contents of the .sieve file?
> * Do you have the problem with vacation of a current www.tine20.org release?
>
> Regards
> Daniel
> --
> https://plus.google.com/103021802792276734820
>

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.5070...@acelsys.com
Dec 31 11:50:54 server1 postfix/qmgr[1795]: 636842549F: from=chc...@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.qbv3osfj007...@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_t...@server1.example.com
Dec 31 11:50:54 server1 postfix/cleanup[7254]: AE8D9254B6: 
message-id=201212310350.qbv3osfj007...@server1.example.com
Dec 31 11:50:54 server1 postfix/qmgr[1795]: AE8D9254B6: 
from=web1_t...@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 ["t...@acelsys.com "] text:
Testing. On Vacation.
.
;

##PSEUDO script start
#vacation&&1&&"t...@acelsys.com "&&Testing. On Vacation.&&on
#mode&&basic




Re: [Dovecot] Vacation Notice Not Working

2012-12-30 Thread Ch Chai


original message-
From: "Daniel Parthey" daniel.part...@informatik.tu-chemnitz.de
To: "Ch Chai" chc...@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
>> (.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 .sieve?
>> > * Can you post the contents of the .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 ["t...@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
> --
> https://plus.google.com/103021802792276734820
>

* 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 
["t...@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 ["t...@acelsys.com "] text:
Testing. On Vacation.
.
;

##PSEUDO script start
#vacation&&1&&"t...@acelsys.com "&&Testing. On Vacation.&&on
#mode&&basic




Re: [Dovecot] Vacation Notice Not Working

2012-12-30 Thread Ch Chai


original message-
From: "Daniel Parthey" daniel.part...@informatik.tu-chemnitz.de
To: "Ch Chai" chc...@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
>> (.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 .sieve?
>> > * Can you post the contents of the .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 ["t...@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
> --
> https://plus.google.com/103021802792276734820
>

* 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 .



Re: [Dovecot] Vacation Notice Not Working

2013-01-01 Thread Ch Chai


original message-
From: "Daniel Parthey" daniel.part...@informatik.tu-chemnitz.de
To: "Ch Chai" chc...@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
>> (.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 ["t...@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
> --
> https://plus.google.com/103021802792276734820
>

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 =