Re: [Dovecot] Sieve Vacation cause deliver to die
I have deleted the compiled script (.dovecot.sievec) and send myself a message, there is a new .dovecot.sievec created. When I intentionally make an errorous script, turn out a compile error log is created. So I think the compilation process is fine. I will try your instruction on 13 Aug again. Thanks. Regards, Steve "Steffen Kaiser" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 24 Aug 2007, kc wrote: Still having error with vacation. Compile ok, but run error! At 13. Aug I gave you some hints in order to debug the permissions of your setup. I do not see no reply on it. The script is ok, otherwise it cannot be compile. It will generate an error log instead. Aha. I hinted whether or not the compiled script used really is the compilation of the script. Didst you verified it using sieved? Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRs6B2S9SORjhbDpvAQJ0WAf+IRoF+M85LEh/sWcLQZqnfZRYdGHbcaAM xbInorNg+WQMly84vvEged/vIFLPjbCULz+sSp32DH2GVljEdGu8VpSIRVpmpHS+ ocdwWw3V8VlE1YEWQqf4wFgFBrmsfcr5DD2ksEoQzGow9yL5+SNhZ8fF0qmUnoyG WScrFFGkiMmHxYxyeVK3ZPgJvhK0ljiweIa+m7s7L86Oj/N+JlxKbjol1aH6lR/+ dpBCtG+z3wufXe3z1TscBb0rdUZH4/tCW8lba0bmDHjJG+m53P089PM7QTafn+HS EZ/gaKmF52E+jUupJDLDe8wiTv8vCEjlT9UNWIFP9tBJSoXZyaoLtw== =6SYE -END PGP SIGNATURE-
Re: [Dovecot] Sieve Vacation cause deliver to die
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 24 Aug 2007, kc wrote: Still having error with vacation. Compile ok, but run error! At 13. Aug I gave you some hints in order to debug the permissions of your setup. I do not see no reply on it. The script is ok, otherwise it cannot be compile. It will generate an error log instead. Aha. I hinted whether or not the compiled script used really is the compilation of the script. Didst you verified it using sieved? Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRs6B2S9SORjhbDpvAQJ0WAf+IRoF+M85LEh/sWcLQZqnfZRYdGHbcaAM xbInorNg+WQMly84vvEged/vIFLPjbCULz+sSp32DH2GVljEdGu8VpSIRVpmpHS+ ocdwWw3V8VlE1YEWQqf4wFgFBrmsfcr5DD2ksEoQzGow9yL5+SNhZ8fF0qmUnoyG WScrFFGkiMmHxYxyeVK3ZPgJvhK0ljiweIa+m7s7L86Oj/N+JlxKbjol1aH6lR/+ dpBCtG+z3wufXe3z1TscBb0rdUZH4/tCW8lba0bmDHjJG+m53P089PM7QTafn+HS EZ/gaKmF52E+jUupJDLDe8wiTv8vCEjlT9UNWIFP9tBJSoXZyaoLtw== =6SYE -END PGP SIGNATURE-
Re: [Dovecot] Sieve Vacation cause deliver to die
Still having error with vacation. Compile ok, but run error! 2007-08-15 11:28:34 deliver([EMAIL PROTECTED]): sieve_execute_bytecode(/home/mail/sieve/[EMAIL PROTECTED]/.dovecot.sievec) failed 2007-08-15 11:28:34 deliver([EMAIL PROTECTED]): sieve runtime error: Run error "kc" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I am running gentoo 2.6.20. The script is ok, otherwise it cannot be compile. It will generate an error log instead. Regards, Steve "Steffen Kaiser" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 17 Aug 2007, M1 wrote: # Sieve Filter # 由 Ingo (http://www.horde.org/ingo/) 產生 (August 15, 2007, 10:49 am) require "vacation"; # 假期通知 if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe", "list-owner", "list-post", "list-archive", "list-id"], not header :comparator "i;ascii-casemap" :is "Precedence" "list,bulk" ) { vacation :days 7 :addresses "[EMAIL PROTECTED]" :subject "test" "test vacation"; } This script works on Dovecot v1.0.3 on Linux. Did you forced a re-compile of the script already? Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRsWBCy9SORjhbDpvAQKcegf/f6om8HcDzxrqogOduZ0uhf2M311mTqND PLotOFDFHimERRoAVdf1wMMAvlWfyO/x8ocnhlwb3eR5HLQbvpBp3uftru5Ie8cz N4jYhFDoEtKXbYd7R23krC7GzcqZbkGyYNrWgeUbaSxrgrkgthamGUhtA6nKoQKN /c787cQrFtHzmirE6SZSDSylhBzvJ0eezXUPOF9rePAlrvzwVx1ixMt3KP7dreBT ag2IwnY+3cnquO+DX5ZvOQWJ0TUTx8XYoJsbhTAKXN5heyC7WEKmw+9WIvQLNgqh hEoSlw+9hwtKm/GxhnXB1F9Zg+h31EAS+/9FQxWUR9mevzL/mr0Xuw== =Py/G -END PGP SIGNATURE-
Re: [Dovecot] Sieve Vacation cause deliver to die
I am running gentoo 2.6.20. The script is ok, otherwise it cannot be compile. It will generate an error log instead. Regards, Steve "Steffen Kaiser" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 17 Aug 2007, M1 wrote: # Sieve Filter # 由 Ingo (http://www.horde.org/ingo/) 產生 (August 15, 2007, 10:49 am) require "vacation"; # 假期通知 if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe", "list-owner", "list-post", "list-archive", "list-id"], not header :comparator "i;ascii-casemap" :is "Precedence" "list,bulk" ) { vacation :days 7 :addresses "[EMAIL PROTECTED]" :subject "test" "test vacation"; } This script works on Dovecot v1.0.3 on Linux. Did you forced a re-compile of the script already? Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRsWBCy9SORjhbDpvAQKcegf/f6om8HcDzxrqogOduZ0uhf2M311mTqND PLotOFDFHimERRoAVdf1wMMAvlWfyO/x8ocnhlwb3eR5HLQbvpBp3uftru5Ie8cz N4jYhFDoEtKXbYd7R23krC7GzcqZbkGyYNrWgeUbaSxrgrkgthamGUhtA6nKoQKN /c787cQrFtHzmirE6SZSDSylhBzvJ0eezXUPOF9rePAlrvzwVx1ixMt3KP7dreBT ag2IwnY+3cnquO+DX5ZvOQWJ0TUTx8XYoJsbhTAKXN5heyC7WEKmw+9WIvQLNgqh hEoSlw+9hwtKm/GxhnXB1F9Zg+h31EAS+/9FQxWUR9mevzL/mr0Xuw== =Py/G -END PGP SIGNATURE-
Re: [Dovecot] Sieve Vacation cause deliver to die
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 17 Aug 2007, M1 wrote: # Sieve Filter # 由 Ingo (http://www.horde.org/ingo/) 產生 (August 15, 2007, 10:49 am) require "vacation"; # 假期通知 if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe", "list-owner", "list-post", "list-archive", "list-id"], not header :comparator "i;ascii-casemap" :is "Precedence" "list,bulk" ) { vacation :days 7 :addresses "[EMAIL PROTECTED]" :subject "test" "test vacation"; } This script works on Dovecot v1.0.3 on Linux. Did you forced a re-compile of the script already? Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRsWBCy9SORjhbDpvAQKcegf/f6om8HcDzxrqogOduZ0uhf2M311mTqND PLotOFDFHimERRoAVdf1wMMAvlWfyO/x8ocnhlwb3eR5HLQbvpBp3uftru5Ie8cz N4jYhFDoEtKXbYd7R23krC7GzcqZbkGyYNrWgeUbaSxrgrkgthamGUhtA6nKoQKN /c787cQrFtHzmirE6SZSDSylhBzvJ0eezXUPOF9rePAlrvzwVx1ixMt3KP7dreBT ag2IwnY+3cnquO+DX5ZvOQWJ0TUTx8XYoJsbhTAKXN5heyC7WEKmw+9WIvQLNgqh hEoSlw+9hwtKm/GxhnXB1F9Zg+h31EAS+/9FQxWUR9mevzL/mr0Xuw== =Py/G -END PGP SIGNATURE-
[Dovecot] Sieve Vacation cause deliver to die
I have compile with the vacation patch (dovecot-sieve-1.0-logging.patch) and log file shown. - 2007-08-15 11:28:34 deliver([EMAIL PROTECTED]): sieve_execute_bytecode(/home/mail/sieve/[EMAIL PROTECTED]/.dovecot.sievec) failed 2007-08-15 11:28:34 deliver([EMAIL PROTECTED]): sieve runtime error: Run error - my .dovecot.sieve # Sieve Filter # 由 Ingo (http://www.horde.org/ingo/) 產生 (August 15, 2007, 10:49 am) require "vacation"; # 假期通知 if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe", "list-owner", "list-post", "list-archive", "list-id"], not header :comparator "i;ascii-casemap" :is "Precedence" "list,bulk" ) { vacation :days 7 :addresses "[EMAIL PROTECTED]" :subject "test" "test vacation"; }
Re: [Dovecot] Sieve Vacation cause deliver to die
I have compile with the vacation patch (dovecot-sieve-1.0-logging.patch) and log file shown. - 2007-08-15 11:28:34 deliver([EMAIL PROTECTED]): sieve_execute_bytecode(/home/mail/sieve/[EMAIL PROTECTED]/.dovecot.sievec) failed 2007-08-15 11:28:34 deliver([EMAIL PROTECTED]): sieve runtime error: Run error - my .dovecot.sieve # Sieve Filter # 由 Ingo (http://www.horde.org/ingo/) 產生 (August 15, 2007, 10:49 am) require "vacation"; # 假期通知 if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe", "list-owner", "list-post", "list-archive", "list-id"], not header :comparator "i;ascii-casemap" :is "Precedence" "list,bulk" ) { vacation :days 7 :addresses "[EMAIL PROTECTED]" :subject "test" "test vacation"; }
Re: [Dovecot] Sieve Vacation cause deliver to die
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 11 Aug 2007, M1 wrote: When a user enable vacation in sieve deliver die and the mail lost. The script is fine and is working for me, but I'm using v1.0.1 currently. I had some problems with core dumps some time ago, because Dovecot deliver was unable to execute /usr/lib/sendmail the send the mail for _various_ reasons, including a permission problem and a problem because of missing Return-Path header. I solved it like so: Craft a valid message, then su user -c 'limit -c unlimited ; strace dovecot-deliver -f sender -d user < msg' Then check out the the system trace and the core dump. To make sure the Return-Path header is present in the mail, I replaced the MDA setting with a script, roughly: === START MDAscript #!/bin/bash ( echo "Command line arguments: $@" ulimit -c unlimited ulimit id pwd tee /tmp/msg.$$ | /usr/libexec/dovecot/deliver "$@" > /tmp/deliver.out.$$ 2>&1 echo $? >/tmp/exitcode.$$ ) > /tmp/out.$$ 2>&1 # Pass the output to sendmail cat /tmp/deliver.out.$$ exit $(cat /tmp/exitcode.$$) === END Sometimes deliver outputs useful stuff, despite the core dump. not header :comparator > "i;ascii-casemap" :is "Precedence" "list,bulk" ) { You are using Horde? "Precedence" "list,bulk" should be "Precedence" [ "list", "bulk" ] Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRsADGS9SORjhbDpvAQKLpAgApGfHPnQR1uama6etbS7lPNrNAubeoEqQ dMFNHboGRGEOSOQ6UBUh6PFgXd5ru6m2dXvKsMD+Krw1pgJX1hXoEuCHotaJpaWr ypu/5aaYPNFyP7K2OTpdprjei52c4m65bcxdHK3Sjd1GOB3XkZCB7R9J3KvvsYg4 Tg8jAznMHChcZdhmJxBFSEd1rf/kWrKSO3qF9PcMlVz0y5H0ADAkQXh3gN74zLEM 0HkXhpgYqucRZAYCl6RlSYve6TCqEMCSDtFiLf3Au7g/IrEeouZwJBSOGhPJNuhh le3v1vYWOtuMvM6sU5zT5E9qsIbaiifMNFm2MSrhMUxtTkaAO/Spcg== =1uSW -END PGP SIGNATURE-
[Dovecot] Sieve Vacation cause deliver to die
When a user enable vacation in sieve deliver die and the mail lost. I am using 1.0.3 Thanks --- in syslog postfix/pipe[16060]: 8E33017D4: to=<[EMAIL PROTECTED]>, relay=dovecot, delay=0.17, delays=0.13/0.01/0/0.03, dsn=5.3.0, status=bounced (Command died with signal 11: "/usr/libexec/dovecot/deliver") --- .dovecot.sieve # Sieve Filter # Generated by Ingo (http://www.horde.org/ingo/) (August 6, 2007, 9:56 am) require ["vacation", "fileinto"]; # Whitelisted Addresses if address :all :comparator "i;ascii-casemap" :is ["From", "Sender", "Resent-From"] "[EMAIL PROTECTED]" { keep; stop; } # Vacation if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe", "list-owner", "list-post", "list-archive", "list-id"], not header :comparator "i;ascii-casemap" :is "Precedence" "list,bulk" ) { vacation :days 7 :addresses "[EMAIL PROTECTED]" :subject "Autoreply : OUT OF OFFICE" "I will not be in Hong Kong from August 6-11. While I will check my mailbox from time to time, I may respond with some delay. Regards, Vivi"; } # Blacklisted Addresses if address :all :comparator "i;ascii-casemap" :is ["From", "Sender", "Resent-From"] ["[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]"] { discard; stop; } # dspam if header :comparator "i;ascii-casemap" :contains "X-DSPAM-Result" "Spam" { fileinto "INBOX.Spam"; } --- mail / # dovecot -n # 1.0.3: /etc/dovecot/dovecot.conf protocols: imap imaps pop3 pop3s ssl_cert_file: /etc/ssl/dovecot/server.pem ssl_key_file: /etc/ssl/dovecot/server.key disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login last_valid_uid: 500 first_valid_gid: 500 last_valid_gid: 500 mail_location: maildir:/home/mail/%d/%n mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota dspam mail_plugins(imap): quota imap_quota dspam mail_plugins(pop3): quota mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: plain login passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 384 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: quota: maildir trash: /etc/dovecot/dovecot-trash.conf