During my testing with OMV (version 5) I discovered a behaviour that I really didn't like: majority of emails are sent with the sender root, only in rare occasions the email address is used.
This can cause two issues:
- OMV emails might go into spam. Also receiving emails from root it not nice.
- Some provides simply do not support this configuration. One of them is Zoho Mail, which I use. When I configured this provider, I was not getting emails from OMV and logs were throwing errors about " Relaying disallowed error", a message received from the SMTP Server.
That's what my provider says:
Relaying disallowed error
When the email address (or login credentials) you have provided in the application does not match the email address (or credentials) of your account's outgoing server, you will see a 'Relaying Disallowed' error when you attempt to send an email. The SMTP client will not be able to send the email because of the email address mismatch.
This can happen when an email address is used as default in a coded program or when you have misspelled the email address while configuring your email inbox. You will receive emails without any issues. To resolve the 'Relaying Disallowed' error, you need to correct the email address provided.
However there is no such option in OMV. I believe it should be added to the GUI, should be a basic change. Should I submit a product request?
I have found an easy fix for this issue.
Connect to your server in SSH and edit the following file /etc/postfix/smtp_header_checks with the following:
Save the file and restart postfix: service postfix restart
From now on emails will be sent if your provider enforces/verifies the email address, and they will definitely appear better to your eyes.