Open Luap99 opened 4 years ago
I have the same issue, but the reason seems a bit different. I have confirmed settings in DB match admin all point to my server at 587 Using the web interface to open a ticket seems to trigger emails as expected, but pulling IMAP mail does not.
All IMAP mail fetching causes the below in the production.log
Starting at the end of a generated massage...
0eJ5ts46uSR63jmuipa2zqQsYJCdGnqpets5Ceq2I+cxbmq2u7kdeN5tJ+7h
zdRoZT3WR5D3stbpODkT1Zvtjv4zyHuddvOkjV2pRrPVbnd7vV7FJw6W/+y2
263mn2u8E9d/AcgnzBH5DA7YAAAAAElFTkSuQmCC
----==_mimepart_62b49282dedee_1b1f2afcb551365099993--
I, [2022-06-23T16:19:15.333045 #6943] INFO -- : [ActiveJob] [ActionMailer::DeliveryJob] [df117652-38d4-45e7-81c0-c55a808da8bc] Performed ActionMailer::DeliveryJob from SuckerPunch(mailers) in 565.4ms
E, [2022-06-23T16:19:15.333393 #6943] ERROR -- : Sucker Punch job error for class: 'ActiveJob::QueueAdapters::SuckerPunchAdapter::JobWrapper' args: [{"job_class"=>"ActionMailer::DeliveryJob", "job_id"=>"df117652-38d4-45e7-81c0-c55a808da8bc", "queue_name"=>"mailers", "arguments"=>["NotificationMailer", "new_private", "deliver_now", 26], "locale"=>:en}]
Errno::EADDRNOTAVAIL Cannot assign requested address - connect(2) for "localhost" port 25
Every time a new ticket is created via e-mail the notification and the welcome user e-mail fails to send. When the Ticket is submitted via web interface this works fine. The same happens if an agent replies to an e-mail the user e-email will also fail to deliver.If you're responding through the web interface the e-mail is send the user as expected.
I am using the imap provider to receive e-mails.
I got the following error message in the production.log file: