https://100tb.com/community/knowledgebase/display/HOW/Configuring+SMTP+Relay+Server

Key points of trouble–

Make sure the hostname on each server and relay is different and had correct DNS records.

Make sure that you have added a valid SPF records for every domain
as described in our article.