Hello,
migrated von the mailserver from centos to alpine linux. Most parts are run well.
dovecot 2.2.31 sieve: 0.4.19
But i fight with on behavior.
I have an sieve script which pipes a few fields to an external script which send this data to an telegram-bot.
the part of the sieve-script.
if header :matches "Subject" "*" { set "subject" "${1}"; } if header :matches "from" "*" { set "from" "${1}"; } if header :matches "to" "*" { set "to" "${1}"; }
foreverypart { if header :mime :type :is "Content-Type" "text" { extracttext :first 30 "msgcontent"; break; } }
pipe :copy :try "notify.sh" [ "", "(${from})#${to}#${subject}", "\"${msgcontent}\"" ];
What i get now is an error about looks like encoding of the linefeeds.
default: line 107: error: specified :args item `"test 4??"' is invalid.
Here is sent a mail which contains in subject "test 4".
or default: line 107: error: specified :args item `"?? ?? ??? ??? Oracle Magazine "' is invalid.
Here is sent a mail which contains in subject "test 4".
On centos this was never an problem. With alpine-linux this process is complete broken.
Any hints, where to look and maybee fix thie behavior? Mybe its ab problem with the libmusl which used in alpine.
Regards Ingo