Hi everyone,
So I have tried to configure my incoming_mail.yml to my gmail inbox. It doesn't seem to be grabbing any messages that are sent in. I'm wanting to use it so that users can respond directly to emails sent out from their own email accounts without logging into canvas (self-hosted). The outbound is working and the response ends up in the gmail inbox but canvas doesn't seem to be grabbing it.
Also I can't find any errors. In the Site Admin, Jobs inside canvas it shows the recurring job that checks the mail and shows no errors. Here is the output from my delay jobs log:
', 'canvas_queue', '2019-03-05 00:36:00', '2019-03-05 00:35:01.268344', '2019-03-05 00:35:01.268344', 'periodic: IncomingMailProcessor::IncomingMessageProcessor#process', 1, 'periodic: IncomingMailProcessor::IncomingMessageProcessor#process', 1) RETURNING "id" [0m [production:1 master]
[canvas:21661 764254] [1m [36mSQL (0.6ms) [0m [1m [35mCOMMIT [0m [production:1 master]
[canvas:21661 764254] [1m [36mSQL (0.1ms) [0m [1m [35mBEGIN [0m [production:1 master]
[canvas:21661 764254] [1m [36mSQL SQL (0.5ms) [0m [1m [31mDELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 764254 [0m [production:1 master]
[canvas:21661 764254] [1m [36mSQL (0.5ms) [0m [1m [35mCOMMIT [0m [production:1 master]
[canvas:21661 764254] Completed periodic: IncomingMailProcessor::IncomingMessageProcessor#process 8ms
[canvas:21661 764254] [STAT] 763672 763808 136 0.009999999999999898 0.0
It shows the job completed. Interesting to note, on this log above I provided the configuration an incorrect password on purpose just to see if I could get an error to flag but still nothing. Any ideas on where else to look for an error? Here is my gmail incoming_mail.yml config:
development:
# defaults will not read incoming mail from any source
#test:
# directory:
# folder: "/tmp/maildir"
production:
run_periodically: true
pop3:
port: 995
ssl: true
password: "password"
Any help would be greatly appreciated!