Hi Vadim, thank you for your support. I am not using Docker, but run Enteprise directly on centos 8
I installed a local mail server, on the same server, and I can send and receive a noreply test mail to my personnal mail using this command :
su noreply
echo "test email4" | sendmail patrice.xxxx@xxxx.com
Then I retry, after a restart in app search | invite user, but no mail is received.
For that configuration I used as proposed by documentation :
email.account:
enabled: true
smtp:
auth: plain # Can be plain, login, or CRAM-MD5.
starttls.enable: false # Whether emails are sent encapsulated in TLS, or not.
host: 127.0.0.1
port: 25
user: noreply@XXX.com #I also tried without @xxx.com
password: xxxxxx #the password for my noreply user
email_defaults:
from: noreply@xxxx.com
and here are the standards logs when I click on resend :
[2021-03-24T21:02:29.878+00:00][868197][2476][app-server][INFO]: [fc3456b4-e5d5-47cc-93fa-7b59165b5c5e] Started POST "/as/invitations/rZ4uLdkPP5KprzPXiPUqRQ/resend" for XX.XX.XX.XX at 2021-03-24 21:02:29 +0000
[2021-03-24T21:02:29.944+00:00][868197][2476][action_controller][INFO]: [fc3456b4-e5d5-47cc-93fa-7b59165b5c5e] Processing by LocoMoco::Dashboard::InvitationsController#resend as JSON
[2021-03-24T21:02:29.945+00:00][868197][2476][action_controller][INFO]: [fc3456b4-e5d5-47cc-93fa-7b59165b5c5e] Parameters: {"code"=>"[FILTERED]"}
[2021-03-24T21:02:30.007+00:00][868197][2476][worker][INFO]: [fc3456b4-e5d5-47cc-93fa-7b59165b5c5e] [ActiveJob] Enqueueing a job into the '.ent-search-esqueues-me_queue_v1_mailer' index. {"job_type"=>"ActiveJob::QueueAdapters::EsqueuesMeAdapter::JobWrapper", "payload"=>{"args"=>[{"job_class"=>"Work::TogoMailer", "job_id"=>"8a6f3688-a3a3-484a-a400-3594b7a3f0dc", "queue_name"=>"mailer", "arguments"=>["LocoMoco::Dashboard::InvitationMailer", "invitation", "deliver_now", ["rZ4uLdkPP5KprzPXiPUqRQ"]], "locale"=>:en, "executions"=>1}]}, "status"=>"pending", "created_at"=>1616619750007, "perform_at"=>1616619750006, "attempts"=>0}
[2021-03-24T21:02:30.035+00:00][868197][2476][active_job][INFO]: [fc3456b4-e5d5-47cc-93fa-7b59165b5c5e] [ActiveJob] Enqueued Work::TogoMailer job (8a6f3688-a3a3-484a-a400-3594b7a3f0dc) on `mailer`
[2021-03-24T21:02:30.041+00:00][868197][2476][active_job][INFO]: [fc3456b4-e5d5-47cc-93fa-7b59165b5c5e] [ActiveJob] Enqueued Work::TogoMailer (Job ID: 8a6f3688-a3a3-484a-a400-3594b7a3f0dc) to EsqueuesMe(mailer) with arguments: "LocoMoco::Dashboard::InvitationMailer", "invitation", "deliver_now", ["rZ4uLdkPP5KprzPXiPUqRQ"]
[2021-03-24T21:02:30.081+00:00][868197][2476][action_controller][INFO]: [fc3456b4-e5d5-47cc-93fa-7b59165b5c5e] Completed 200 OK in 135ms (Views: 1.4ms)
[2021-03-24T21:02:31.181+00:00][868197][2300][active_job][INFO]: [ActiveJob] [Work::TogoMailer] [8a6f3688-a3a3-484a-a400-3594b7a3f0dc] Performing Work::TogoMailer from EsqueuesMe(mailer) with arguments: "LocoMoco::Dashboard::InvitationMailer", "invitation", "deliver_now", ["rZ4uLdkPP5KprzPXiPUqRQ"]
[2021-03-24T21:02:31.364+00:00][868197][2300][action_view][INFO]: [ActiveJob] [Work::TogoMailer] [8a6f3688-a3a3-484a-a400-3594b7a3f0dc] Rendered loco_moco/app/views/loco_moco/dashboard/invitation_mailer/invitation.html.erb within layouts/frito_pie_mailer (9.5ms)
[2021-03-24T21:02:31.385+00:00][868197][2300][action_view][INFO]: [ActiveJob] [Work::TogoMailer] [8a6f3688-a3a3-484a-a400-3594b7a3f0dc] Rendered loco_moco/app/views/loco_moco/dashboard/invitation_mailer/invitation.text.erb (8.1ms)
[2021-03-24T21:02:31.546+00:00][868197][2300][app-server][INFO]: [ActiveJob] [Work::TogoMailer] [8a6f3688-a3a3-484a-a400-3594b7a3f0dc]
Sent mail to patrice.xxxx@xxxx.com (119.4ms)
[2021-03-24T21:02:31.548+00:00][868197][2300][active_job][INFO]: [ActiveJob] [Work::TogoMailer] [8a6f3688-a3a3-484a-a400-3594b7a3f0dc] Completed Work::TogoMailer job (8a6f3688-a3a3-484a-a400-3594b7a3f0dc) on `mailer`
[2021-03-24T21:02:31.552+00:00][868197][2300][active_job][INFO]: [ActiveJob] [Work::TogoMailer] [8a6f3688-a3a3-484a-a400-3594b7a3f0dc] Performed Work::TogoMailer from EsqueuesMe(mailer) in 367.31ms
But no mail received, and I test with several mails operator, and I checked spam, others, folders, etc...
Thanks a lot !