We have a need for setting the mailFrom when sending via a specific smart host for specific domains. If the mailFrom doesn’t match the account the host will reject. I have found how to set it manually in the filters files via some older German instructions but SMTP sender uses the original mailFrom address. Also, setting mailFrom in the script file breaks the web UI. The web UI for the rules is partly the reason I would like to use Axigen. Is there a way to do this with SMTP sender sending the corrected mailFrom and without breaking the UI functionality?
From your message we understand that you are relaying messages via their service using an authenticated session but they are rejecting any message if the envelope mail from address is different from the account used for authentication.
I’m asking this because if this is correct there seems to be a contradiction with the role a smart host should play. Are there any public documentation you could point us so we could understand better these restrictions?
On the other side, if they impose that the domain part of the mail from address should be from a specific list of accepted domains than this another thing.
Could you please let us know who exactly is operating that smart host service?
Could you share the exact reject code and explanation you get from their side and saved in the SMTP-OUT logs (when using protocol communication log level)?