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: how to check number of retry attempts  (Read 17152 times)

msuser

  • Jr. Member
  • **
  • Karma: +0/-4
  • Posts: 29
how to check number of retry attempts
« on: June 11, 2018, 04:25:26 AM »

Hello Everyone,

suppose due to some error responses we had to keep retrying sending message.
After few retries, it may succeed or finally bounce based on retry-after and bounce-after in config file.

So how to check number of retries attempted?

This value is not logged anywhere e.g. accounting file, status file or bounce file.
we can compute with the help of timeLogged,timeQueued in accounting file and retry-after, bounce-after value at that particular time.

But is there any better way to get the number of retries attempted per message?

Thanks
Logged

Port25-Admin1

  • Administrator
  • Hero Member
  • *****
  • Karma: +49/-4
  • Posts: 2361
Re: how to check number of retry attempts
« Reply #1 on: June 11, 2018, 09:14:06 AM »

There is no absolute method of seeing it was retired X times, however, you could calculate this by creating T and TQ accounting records and then counting the amount of times the RCPT was tried in the T file and the the amount of times the queue was tried in the TQ file.
Logged
Port25-Admin1
------------------
Try the following commands:
Quote
pmta show topdomains --errors
pmta show topqueues --errors
pmta --help

When PowerMTA won't start use:
Quote
pmtad --debug
When all else fails-->support@port25.com