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: Allow async bounces from external sources  (Read 15180 times)

hlesta

  • Jr. Member
  • **
  • Karma: +1/-3
  • Posts: 30
Allow async bounces from external sources
« on: January 04, 2018, 11:05:42 AM »

Hello there I hope you are very well!

I want  to know how I can get inbound async bounces emails from external sources in PMTA. I give you the bounce-processor configuration below

Code: [Select]
<bounce-processor>
deliver-unmatched-email yes         # default: no         
deliver-matched-email yes           # default: no         
<address-list>         
domain bounce.mydomain.com
address /@bounce.mydomain.com/ # regex
</address-list>
</bounce-processor>


<domain bounce.mydomain.com>
route [1.2.3.4]:25
</domain>


Mx from this domain:

Code: [Select]
bounce.mydomain.com -> anotherdomain.com
When I send email returns the following message

Code: [Select]
MX record about bounce.mydomain.com exists.
Connection succeeded to anotherdomain.com SMTP.
521 anotherdomain.com does not accept mail from you (verify-email.org)

the same thing when I do a telnet.

Could you please give me any hint? I have rebooted the pmta server to refresh the whole configuration.

Thank you!

Logged

ReyM

  • Full Member
  • ***
  • Karma: +25/-6
  • Posts: 440
Re: Allow async bounces from external sources
« Reply #1 on: January 04, 2018, 11:10:06 AM »

The SMTP Server in your route statement... [1.2.3.4]:25 needs to be configured to accept mail for the domain in question, other wise relaying will be denied.

If you have your bounce processor set up - you should be able to get all bounce messages that PMTA see's and can/can't deal with via deliver-matched/unmatched. You need the delivery email address in there as well I believe. Read section 3.2.17... you need

forward-unmatched-to email@address.com
forward-errors-to email@address.com

then you shouldn't need to deal with the other server at all.
Logged

Jasdev Singh

  • Port25 Support Engineer
  • Jr. Member
  • **
  • Karma: +6/-10
  • Posts: 93
Re: Allow async bounces from external sources
« Reply #2 on: January 04, 2018, 11:13:06 AM »

You would need to have "relay-domain bounce.mydomain.com" to work in conjunction with the processor.
Logged

hlesta

  • Jr. Member
  • **
  • Karma: +1/-3
  • Posts: 30
Re: Allow async bounces from external sources
« Reply #3 on: January 04, 2018, 02:01:16 PM »

Hello,

Thanks fot your help.

I chek in this pmta config the following

Code: [Select]
<source 0/0>                 # matches all
    log-connections no
    log-commands    no       # WARNING: verbose!
    log-data        no       # WARNING: even more verbose!
    smtp-service no
    process-x-job yes
    hide-message-source yes
</source>

Is it the reason that doesn't allow me to get the inbound emails?

Thank you!
Logged

ReyM

  • Full Member
  • ***
  • Karma: +25/-6
  • Posts: 440
Re: Allow async bounces from external sources
« Reply #4 on: January 04, 2018, 03:04:10 PM »

smtp-service = no
Logged

hlesta

  • Jr. Member
  • **
  • Karma: +1/-3
  • Posts: 30
Re: Allow async bounces from external sources
« Reply #5 on: January 04, 2018, 03:10:20 PM »

smtp-service = no

Hello Rey!

Exactly, is not possible talk with pmta server from outside.

Could you please affirm it? The only way is rewritting this parameter to yes? Could we process Feedback loops in the future using this configuration?

Thank you!
Logged

ReyM

  • Full Member
  • ***
  • Karma: +25/-6
  • Posts: 440
Re: Allow async bounces from external sources
« Reply #6 on: January 04, 2018, 03:12:02 PM »

source 0/0 is for all sources... if you have your feedbackloop domain on its own source, then you can set that smtp-service to yes... but at the end of the day if smtp-service is no, then PMTA will not be listening for SMTP traffic on that source.
Logged

hlesta

  • Jr. Member
  • **
  • Karma: +1/-3
  • Posts: 30
Re: Allow async bounces from external sources
« Reply #7 on: January 05, 2018, 11:29:02 AM »

Hi Rey,

Thanks, Have a nice day!
Logged