PowerMTA Support Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

PowerMTA 5.5r1 is out!!!!  Please contact support@port25.com for a license and download access.

Author Topic: Help needed on sub-domain in VMTA  (Read 55282 times)

msuser

  • Jr. Member
  • **
  • Karma: +0/-4
  • Posts: 29
Help needed on sub-domain in VMTA
« on: July 16, 2018, 04:52:06 PM »

Hi,

We have a couple of PowerMTA instances running on high configuration VMs. All of these servers are behind a load balancer.

We have multiple applications (end users) relaying emails through different VMTA.

Simple VMTA config that we have:

<virtual-mta hostname-mta-01>
     smtp-source-host 10.0.0.2 smtp.mydomain.com
</virtual-mta>
<virtual-mta hostname-mta-02>
     smtp-source-host 10.0.0.4 smtp.mydomain.com
</virtual-mta>

Can we keep the sub-domain (smtp.mydomain.com) same across all the PowerMTA instances ? Would this impact return-path in anyway ?

Please note all of the end users relaying through these servers set their From address/domain while feeding and don't set the return-path explicitly.
 
Any help is highly appreciated. Thanks.
Logged

Jasdev Singh

  • Port25 Support Engineer
  • Jr. Member
  • **
  • Karma: +6/-10
  • Posts: 93
Re: Help needed on sub-domain in VMTA
« Reply #1 on: July 16, 2018, 05:26:15 PM »

PowerMTA would not have a problem having the hostnames similar but you have valid questions on the return path. When a domain wants to bounce back to you, it is going to do a DNS lookup on your domain - having the same hostnames without a load balancer may not be best practice. TL;DR - Keep hostnames unique, have incoming/bounces fronted by a load balancer.
Logged

msuser

  • Jr. Member
  • **
  • Karma: +0/-4
  • Posts: 29
Re: Help needed on sub-domain in VMTA
« Reply #2 on: July 17, 2018, 01:33:48 PM »

Thanks Jsingh for the response. Is there a way to set the return-path at the PMTA for all outgoing emails ? We would want to keep the return-path with the different domain from the From domain to be able to receive the remote bounces and process them through PMTA.

Thank you for the help.
Logged

ReyM

  • Full Member
  • ***
  • Karma: +25/-6
  • Posts: 440
Re: Help needed on sub-domain in VMTA
« Reply #3 on: July 17, 2018, 01:36:17 PM »

your return path is set by your SMTP-From
Logged

msuser

  • Jr. Member
  • **
  • Karma: +0/-4
  • Posts: 29
Re: Help needed on sub-domain in VMTA
« Reply #4 on: July 18, 2018, 03:45:44 AM »

Thanks Reym. I understand that return-path is set to SMTP from. What I am looking for is a way to set the return-path at PMTA irrespective of FROM address coming from feeding application.

It's not very clear on the forum if it's possible to set return-path for all outgoing email through PMTA so asynchronous bounces come to a particular domain/address.
Logged

ReyM

  • Full Member
  • ***
  • Karma: +25/-6
  • Posts: 440
Re: Help needed on sub-domain in VMTA
« Reply #5 on: July 18, 2018, 10:08:55 AM »

I don't think that is an option. The SMTP from will be whatever your set in your vmta smtp-source-host ... In theory you could add your own return path header to the messages but I've never heard of that working well.
Logged

CaLViN

  • Hero Member
  • *****
  • Karma: +43/-2
  • Posts: 1233
  • Hasan Kurtoglu
    • PowerMTA Administration Service
Re: Help needed on sub-domain in VMTA
« Reply #6 on: July 18, 2018, 02:37:20 PM »

Not an option and doesnt seem logical.
You should handle this on your feeder side.
Logged

Professional PowerMTA Administrator - Deliverability Expert

Contact me for Consultancy needs!