Configure SMTP for relay that drops if the "FROM" address is blank

SMTP relay may drop requests event if the sender is whitelisted if the "FROM" field is blank.


To prevent this the SMTP configuration can be updated to use a "FROM" address , this overrides the UI requirement for an authenticated user.


Use the CLI to update just the “mail-user” parameter


elfs-cli system update --id 1 --mail-server-address=smtp.gmail.com --mail-server-port=25 --mail-user="colin.hutcheson@elastifile.com"


Use CLI to create and test SMTP notification


elfs-cli notification_target create --severity info --system-id 1 --notification-type email --target-address colin.hutcheson@elastifile.com


elfs-cli notification_target test_notification --severity warn --system-id 1 --notification-type email --target-address colin.hutcheson@elastifile.com


C
Colin is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.