待辦事項 #9174

バウンスメールが戻らない
啟用日期: 2006-10-13 21:50 最後更新: 2006-10-13 21:50

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

バウンスメールが戻らない
apache のユーザ宛に返送されている。
Return-Path が設定されていないのが原因のようだ。

下記のハックを有効にすると、戻るようになる。

class/mail/xoopsmultimailer.php
------
function XoopsMultiMailer(){

$this->Sender = $xoopsConfig['adminmail']; //TODO: This
line is added in OTX by Marijuana. We must verify.
------

Return-Path は下記で設定される。
Sender が設定されていないときは、 From で代用されるはず
だが、
それでは 返送されないようだ。

class/mail/phpmailer/class.phpmailer.php
-----
function CreateHeader() {

if($this->Sender == "")
$result .= $this->HeaderLine("Return-Path",
trim($this->From));
else
$result .= $this->HeaderLine("Return-Path",
trim($this->Sender));
-----

Ticket History (0/0 Histories)

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入