Port25 Support Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

BREAKING NEWS: PowerMTA 5.0 beta is out!!!!  Please contact support@port25.com for a license and download access.

Author Topic: orig column in accounting file is being overwritten by mail from in rewrite list  (Read 214 times)

msuser

  • Jr. Member
  • **
  • Karma: +0/-0
  • Posts: 29

Hello Everyone,

We have set return path as below using rewrite-list directive.

<rewrite-list rewritelist>
                mail-from *@*  bounce@bounce.xyz.com
</rewrite-list>


It is working as expected as we can see smpt.mailfrom as bounce.xyz.com in mail header.

But, in accounting file we are getting same value(bounce@bounce.xyz.com) as ORIGINATOR (orig,) column instead of header from address.
So is there any way to get header from address as orig column with rewrite list?

Will “custom-dsn-from-header” tag be helpful here? In user guide only one possible value is given i.e. MAIL FROM.
What other values would be possible for same tag?


Thanks
Logged

Port25-Admin1

  • Administrator
  • Hero Member
  • *****
  • Karma: +42/-6
  • Posts: 2325

MAIL FROM is different than the from header.  You need to add header_from as an <acct-file> field if you want the from header in the CSV 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