Replying to a message from: Brandon

I was looking to use xeams as a outbound smtp gateway.

i would like it to handle dkim for a few of my older mail servers that dont support it.

only issue i am running into is the local domains file.

i would like something like sendmails relay-domains and local-host-names

if i put my domains in the local domains field in xeams it tries to deliver them locally. when i would like it to deliver to the mx record.

now as this is a outbound mail server it should only see mail that is leaving our mail server but with multiple servers they need to deliver between each other.

now if i dont have any domains in the file it will work(deliver to the mxrecord) but generate a alert that we might be spamming(i would like to get these alerts)

i am looking for basically the hybrid mode but where i dont have to specify the destination in the local domains. it will deliver directly and store no mail locally.

the main place i am seeing this is when xeams generates alerts it trys to send them to support@mydomain.com and because mydomain.com is in the local domains it trys to deliver it locally and that account does not exist. the bounce seams to make it back to the correct email server.