outbound SMTP gateway Domains Brandon
    outbound SMTP gateway Domains Synametrics Support
        outbound SMTP gateway Domains Brandon
            outbound SMTP gateway Domains Synametrics Support
                outbound SMTP gateway Domains Brandon
                    outbound SMTP gateway Domains Synametrics Support
                        outbound SMTP gateway Domains Anonymous

From: Brandon
Date: 6/17/19 11:31 AM
Topic: outbound SMTP gateway Domains
Type: General Discussions
Post a follow up

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.

 

 

 

 

Top

From: Synametrics Support
Date: 6/17/19 12:09 PM
Topic: outbound SMTP gateway Domains
Type: General Discussions
Post a follow up

Brandon,

I am not sure if I understand your question correctly. Therefore, let me know if my answer below does not make sense.

If your end goal is to sign DKIM for outbound, put your domain (the one that will be used as the sender) as local domain in Xeams. Then, add your SendMail server's IP address in relay. This way messages coming from your SendMail will be sent out. Once this is done, Xeams should sign outbound messages with a DKIM signature and will do an MX lookup to figure out the destination server.

You cannot put the recipient's email as a local domain. An alert will be generated if the sender's domain is NOT local and you're trying to relay through Xeams.

Also, I'd recommend you run Xeams in Firewall mode. This way the alerts will be sent to your SendMail server rather than Xeams trying to send it to the local repository.

To summarize, here is what you need to do:

  • Run Xeams in Firewall Mode
  • Specify yourdomain.com as a local domain and specify sendmail's IP address in the Forward To field.
  • Create DKIM keys for yourdomain.com and put them in your DNS server
  • Add sendmail's IP address among the IPs allowed to relay
  • Configure the smart host in sendmail to forward its outbound messages through Xeams.

 

Top

From: Brandon
Date: 6/17/19 1:49 PM
Topic: outbound SMTP gateway Domains
Type: General Discussions
Post a follow up

The problem would be the amount of domains i relay for.

i have 200+ and i dont want to have to manage the send to for each one.

i just want it to deliver to the mx record.

some go through a barracuda.

some go directly to the host.

some go to google,etc....

i would just like to be able to use the mxrecord to know where to deliver to

i was hoping that there was a mode more for the outbound proxy.

 

Top

From: Synametrics Support
Date: 6/17/19 2:19 PM
Topic: outbound SMTP gateway Domains
Type: General Discussions
Post a follow up

Brandon,

The only reason for adding local domain is to satisfy the "Alerter" module within Xeams. Therefore, if you disable the Alerts, you don't have to enter local domains. Go to Server Configuration and click Manage Alerts. Then, uncheck Outbound Forgery Alert.

 

Top

From: Brandon
Date: 6/17/19 2:39 PM
Topic: outbound SMTP gateway Domains
Type: General Discussions
Post a follow up

I would really like that feature though.

that is one reason i am trying to move to a outbound smtp gateway is to have one interface to help control outbound spam.

it is a pain getting blacklisted.

i have users passwords get compromised regularly and this is a feature that i was looking forward to.

 

can i put in a feature request to be able to put like MX in the forwarded to field and it looks up the MX record.

this would allow us to control a few if needed but would work like normal for the rest.

 

 

 

Top

From: Synametrics Support
Date: 6/17/19 2:54 PM
Topic: outbound SMTP gateway Domains
Type: General Discussions
Post a follow up

Brandon,

I am confused. Why do you want to put a foreign domain (Recipient's domain) in the local list? You should ONLY do MX look ups for foreign domains. No SMTP server will do an MX lookup on local domains.

Consider the following example:

  • You compose an email where the sender is brandon@yourcompany.com and the recipient is aClient@gmail.com
  • You should ONLY add yourcompany.com as a local domain.
  • When an email comes in from your sendmail, Xeams will automatically do an MX lookup for gmail.com . There is no need for doing an MX lookup for yourcompany.com - that's the sender. MX lookup is only required for the recipient's domain

 

Top

From: Anonymous
Date: 6/17/19 3:15 PM
Topic: outbound SMTP gateway Domains
Type: General Discussions
Post a follow up

they are local domains though.

i am talking about sending out for my large number of domains that are on a few different email servers.

if i use xeams in normal mode it will try and deliver locally for any domains in the list.

so if a user on server1 sends a message to a domain on server2 xeams will try and deliver it locally.

if i use xeams in firewall mode i have to specify where each domain will be delivered to (works but becomes very hard to manage when we are talking about a large number of domains that i might not control dns for, so when my client updates there mx record i would like xeams to follow, vs having to manually make the change.)

and the only reason i would like to add my domains to the local domains file is so i can be notified when we are sending out email for not one of our domains(aka spam)

i dont use the file to check if i can relay i have just trusted the ip's of my mail servers.

sorry if this is confusing.

 

 

 

 

Top