Return path from board mails is wrong

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Return path from board mails is wrong

Post by IPB_Refugee »

Hello,

according to the documentation, section 3.2.2.2. Email settings:
RETURN EMAIL ADDRESS: This is the return address that will be put on all emails as the technical contact email address. It will always populate the "Return-Path" and "Sender" addresses in all emails sent by your board.
This is not correct. I set as RETURN EMAIL ADDRESS admin@my.board's.name.com. But the return path shows:

Return-Path: <php-fpm@my.host's.name.com>

PHPBB: 3.0.7-PL1
USE SMTP SERVER FOR EMAIL: no
PHP: 5.3.2 with FPM-Patch and mysqlnd
Xcache 1.3.0
CentOS 5.5 x86_64
Postfix 2.5.10

Guess I have to experiment with option "-f admin@my.board's.name.com" of function mail() or use my SMTP server.

Kind regards
Wolfgang

EDIT: This works, as I tested with a custom script:

Code: Select all

mail($to, $subject, $message, $headers, "-f test@example.com");
Locked

Return to “[3.0.x] Support Forum”