Ticket #1762 (closed defect: fixed)

Opened 3 years ago

Last modified 10 months ago

Return-Path with backend = mail

Reported by: cristian Assigned to: somebody
Priority: normal Milestone: 1.0
Component: SGL - Emailer Severity: open
Keywords: Return-Path Cc: cristian@superemail.it

Description

"Return-Path" with backend set to "mail" doesn't work whith php5 + Postfix because Postfix overwrite the php "Return-Patt" passed. The solution is pass like fifth parameter to mail function "-r fromAddres@foo.it" and so in lib/SGL/Emailer.php at row 217 I've changed:

case 'mail':

$backend = 'mail'; break;

with:

case 'mail':

$backend = 'mail'; $aParams-r? = "-r ".$this->optionsfromEmail?; break;

....and now it's work correctly.

Attachments

Emailer.php (11.7 kB) - added by cristian on 02/09/11 01:42:13.
Add Row n.220

Change History

02/09/11 01:42:13 changed by cristian

  • attachment Emailer.php added.

Add Row n.220

01/03/13 11:02:53 changed by demian

  • status changed from new to closed.
  • resolution set to fixed.

(In [4433]) fixed Return-Path with backend = mail php5 prob, fixes #1762

01/03/13 11:03:21 changed by demian

THanks Cristian