In app settings I try a test with the new settings and get Error 550
Steps To Reproduce
I have mail setup working with a personal account - Mailbox.org
I changed the setup in both the environment variables and the app settings to Mailfence.
nb. Mailfence has my custom domain for the business.
In app settings I try a test with the new settings and get Error 550
A 550 error implies the email credentials may be are ok but the email couldnât be delivered. I suggest trying to email an invoice to a different email address.
Thanks for the reply Hillel!
I am not sure I understand though.
At first I changed the environment variables for InvoiceNinja in the Caprover/docker settings from the working Mailbox.org settings to my Mailfence.com settings.
In this pic you can see the Mailbox.org working settings. When I change the host, username and password to Mailfence I get a 550 error when clicking âSend test emailâ.
Ok. If I leave Setting- Email Settings blank will I be able to send a test email?
Hmm, actually when it was blank before I was not able to use the export data function. ??
Now with the fields blank I get
400: Bad Request ⢠Expected response code "250/251/252" but got code "554", with message "554 5.7.1 <mail.*mysite*.academy[89.40.1.227]:54090>: Client host rejected: Access denied".
Does this indicate with âmail.mysite.academyâ that is looking to my website rather than the email provider??
Huh. How do you select the âdefaultâ mail option Hillel? I cannot see such an option.
nb Now getting:
400: Bad Request ⢠Connection could not be established with host "ssl://smtp.mailfence.com:465": stream_socket_client(): Unable to connect to ssl://smtp.mailfence.com:465 (Operation timed out)
Ok, I will investigate what that is.
That said, I am assuming that would be to check smtp.mailfence.com:465
I just sent an email successfully from the Kmail client with those settings.
I assume the Kmail client is running on your computer, not the server? If youâre seeing âOperation timed outâ youâll want to check that you can connect from the server.
I would suggest your lack of server response is possibly a black listing.
Too many failed logins gets you banned for a time. It stops brute forcing.
Try it again using telnet tomorrow. Or try in an hour first.
If you can use a mail client on the server setup email using that to work out settings, especially check if it needs tls or start tls or if your password needs to be encrypted.
I have now changed my domain hoster from Mailfence to Migadu.
I am still having issues.
400: Expected response code â250â but got code â553â, with message â553 5.7.1 user@mailbox.org: Sender address rejected: not owned by user user@mydomain.academyâ.
user@mailbox.org was an address that did work in sending. Is it stuck in the settings somehow??
I have both the environmental variables set to my domain and the Advanced Settings - Email Settings set to my domain email! Where is user@mailbox.org coming from and how to have my domain email user@mydomain.academy work?
Do you have your custom domain configured within mailbox.org correctly? I use a custom domain with them as my email provider and do not have any issues. But, if you do not have the domain verification setup correctly, you will get errors.
I think a failed upgrade borked the email settings locking in mailbox.
I have spun up a new instance and set it up with my domain email registered with Migadu now. Mailbox.org was working correct with me@mailbox.org. I do not use them as the client for my domain email. I only had mailbox in the app settings as previously my domain email would not work as I could not get the ssl to work with it on a self -hosted email server.
All fine now on the new instance - apart from attaching pdfâs.