Displaying 2 results from an estimated 2 matches for "pythonioencoding".
2018 Mar 28
2
[sieve][pigeonhole] Can't catch stdout for pipe script after upgrade Dovecot 2.2 -> 2.3
Hi.
I use custom script:
> require [ "vnd.dovecot.pipe", "variables" ];
>
> if address :is :all "from" "snip at snap"
> {
> ? pipe "sieve_to_owncloud";
> }
sieve_to_owncloud:
> DATE=`date +%Y-%m-%d_%H-%M-%S`
> PYTHONIOENCODING=utf8 python /opt/sieve-pipe/python-imap-to-owncloud.py \
> ? --owncloud-host https://<snip-snap> \
> ? --owncloud-user user \
> ? --owncloud-password secret \
> ? --owncloud-path /path/to/here &>/tmp/sieve_logger_py_${DATE}
On dovecot 2.2 after script execution I will get...
2018 Mar 28
0
[sieve][pigeonhole] Can't catch stdout for pipe script after upgrade Dovecot 2.2 -> 2.3
...quire [ "vnd.dovecot.pipe", "variables" ];
>>
>> if address :is :all "from" "snip at snap"
>> {
>> ? pipe "sieve_to_owncloud";
>> }
>
>
> sieve_to_owncloud:
>
>> DATE=`date +%Y-%m-%d_%H-%M-%S`
>> PYTHONIOENCODING=utf8 python /opt/sieve-pipe/python-imap-to-owncloud.py \
>> ? --owncloud-host https://<snip-snap> \
>> ? --owncloud-user user \
>> ? --owncloud-password secret \
>> ? --owncloud-path /path/to/here &>/tmp/sieve_logger_py_${DATE}
>
>
> On dovecot 2.2 afte...