[solved] Zammad with Davmail


#1

Hello, I have an exchange account that I want to use with zammad, I could not natively because my exchange server does not support pop, imap, smtp. I was able to configure Davmail to use exchange but the emails are not downloaded from the exchange server to zammad, they could support me by telling me where the error might be.

Centos 7
Zammad 2.9
Davmail

Thank you !.


#2

Hi ocerecedo,

I’ve setup the same scenario as you and actually have an identical problem. Zammad is able to download the verification email form the Exchange accout to verify the setup (and removes the verification email ) but doesn’t download any unread email from the Inbox.

Have you found any solution for your problem?

Me setup is:

  • zammad 2.9 as docker image
  • davmail 5.2.0 (latest released version)

Excerpt from the production log:

Successfull verification:

I, INFO -- : execute Channel.fetch (try_count 0)...
I, INFO -- : fetching imap (10.1.8.122/xxxx port=1143,ssl=false,starttls=false,folder=/Posteingang/test,keep_on_server=false)
I, INFO -- : Started GET "/api/v1/channels_email?_=1557245839002" for 10.1.3.253 at 2019-05-07 17:48:45 +0000
I, INFO -- : Processing by ChannelsEmailController#index as JSON
I, INFO -- :   Parameters: {"_"=>"1557245839002"}
I, INFO -- : Completed 200 OK in 55ms (Views: 5.6ms | ActiveRecord: 10.1ms)
I, INFO -- :  - message 1/1
I, INFO -- : done
I, INFO -- : fetching imap (10.1.8.122/xxxx port=1143,ssl=false,starttls=false,folder=/Posteingang/test,keep_on_server=false)
I, INFO -- : verify mode, fetch no emails #13797584534
I, INFO -- :  - verify email #13797584534 found
I, INFO -- : Completed 200 OK in 16877ms (Views: 0.4ms | ActiveRecord: 9.9ms)
I, INFO -- : Started GET "/api/v1/channels_email?_=1557245839003" for 10.1.3.253 at 2019-05-07 17:48:50 +0000
I, INFO -- : Processing by ChannelsEmailController#index as JSON
I, INFO -- :   Parameters: {"_"=>"1557245839003"}
I, INFO -- : Completed 200 OK in 61ms (Views: 6.2ms | ActiveRecord: 11.1ms)
I, INFO -- : Scheduler running...

Inbox actual contains two messages - not one as stated within the logfile

I,  INFO -- : fetching imap (10.1.8.122/xxxxx port=1143,ssl=false,starttls=false,folder=/Posteingang/test,keep_on_server=false)
I,  INFO -- :  - message 1/1
I,  INFO -- : done
I,  INFO -- : execute Channel.fetch (try_count 0)...
I,  INFO -- : fetching imap (10.1.8.122/xxxx port=1143,ssl=false,starttls=false,folder=/Posteingang/test,keep_on_server=false)
I,  INFO -- :  - message 1/1
I,  INFO -- : done

Regards

Martin


#3

Yes i have solution but i install software additional, i can help you :smiley:


#4

Thanks for the quick reply - can you guide me to the required additional steps?


#5

wait let raise my instance of zammad


#6

vi ~/.fetchmailrc

Save

to write, replace username password


permisses
chmod 600 ~/.fetchmailrc

cron service every 30 seconds
fetchmail -d 30


#7

Thank you, your solution works - and actually I’m trying to understand what’s actually went wrong and the configuration within Zammad doesn’t work with the davmail connector.