I have found out that the problem was caused by a unicode "place-holder" 
that was setup for the trigger that sends notifications to clients and 
agents.
As soon as i have disabled the trigger the email fetching came back to life!


On Saturday, February 10, 2018 at 8:01:37 PM UTC+2, Amir Inbar wrote:
>
> After a lot of playing around and testing different email servers (like 
> CPANEL an others) and different server names (like outlook.office365.com, 
> imap.office365.com etc'), i have noticed that office 365 accounts return 
> an error when Zammad tries to fetch email messages.
> We are using Hebrew language so it might be an encoding issue... the 
> problem is that there is no further lead with the error message itself.
>
> Here is the log from Production.log :
>
> I, [2018-02-10T19:45:28.368236 #11116]  INFO -- : Started job thread for 
>> 'Check Channels' (Channel.fetch)...
>> I, [2018-02-10T19:45:28.385932 #11116]  INFO -- : execute Channel.fetch 
>> (try_count 0)...
>> I, [2018-02-10T19:45:28.389045 #11116]  INFO -- : fetching imap (
>> outlook.office365.com/supp...@srvit.co.il 
>> port=993,ssl=true,folder=INBOX,keep_on_server=false)
>> I, [2018-02-10T19:45:30.243541 #11116]  INFO -- :  - message 1/1
>> I, [2018-02-10T19:45:31.241363 #11116]  INFO -- : 
>> set_attributes_by_x_headers header x-zammad-ticket-customer_id found. 
>> Assign customer_id=604
>> I, [2018-02-10T19:45:31.306587 #11116]  INFO -- : 
>> set_attributes_by_x_headers header x-zammad-article-preferences found. 
>> Assign preferences={"send-auto-response"=>true, "is-auto-response"=>false}
>> E, [2018-02-10T19:45:31.601890 #11116] ERROR -- : execute Channel.fetch 
>> (try_count 0) exited with a non standard-error #<SyntaxError: (erb):3: 
>> unknown regexp options - dv
>> (erb):3: syntax error, unexpected '<'
>> _erbout.concat "</span></div></span></div></div>"; _erbout.f
>>                               ^
>> (erb):3: unknown regexp options - dv
>> (erb):3: syntax error, unexpected '<'
>> t "</span></div></span></div></div>"; _erbout.force_encoding
>>                               ^
>> (erb):3: unterminated regexp meets end of file>
>> I, [2018-02-10T19:45:31.649714 #11116]  INFO -- : Scheduler stopped.
>
>

-- 
Open Source as Download https://zammad.org || Easy to use as SaaS 
https://zammad.com
--- 
You received this message because you are subscribed to the Google Groups 
"zammad-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zammad-users+unsubscr...@googlegroups.com.
To post to this group, send email to zammad-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/zammad-users/fbfac13a-0b5e-4bd4-a015-185864f4fbc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to