It seems that something is wrong with the header that FreePBX is sending to my email provider.
I’ve got the following error everytime I receive a voicemail and FreePBX sends it to my email provider
Feb 16 17:27:19 host=smtp.yandex.com tls=on auth=on email@example.com firstname.lastname@example.org email@example.com smtpstatus=550 smtpmsg=‘550 5.7.0 Sender or From header address rejected: not owned by authorized user 1613514439-d7aL2QcNAA-RIJmYoII’ errormsg=‘the server did not accept the mail’ exitcode=EX_UNAVAILABLE
I’m using msmtp and other emails are working great. I believe it has something to do with the header FreePBX is using. Do you know where can I find this header in order to modify it? I looked in the asterisk or freepbx logs but couldn’t find anything. Any ideas?