I am new to Mail-in-a-box, I have started using it for a while, I have decided to relay my smtp to use sendgrid one, to be able to send email to services like outlook.
I have followed the configurations to letters, adding all sasl configs and restart postfix services, for several times as having been described in the page:
If I keep
smtpd_sasl_type=dovecot I will receive 550 error telling that postfix did not even authenticate using sasl and went direclty in trying to send email.
On the otherhand, if I remove sasl_type I will get 535 authentication error with localhost.
Do anyone have an idea what is going, and why SASL authentication is not forced by postfix when relaying smtp to sendgrid?
I also have changed 578 to 2525 and got the same result, my service provider is Digital ocean.