手册:$wgUserEmailUseReplyTo
Appearance
电子邮件设置: $wgUserEmailUseReplyTo | |
---|---|
Set to true to put the sending user's email in a Reply-To header instead of From. |
|
引进版本: | 1.12.0 (r30014) |
移除版本: | 仍在使用 |
允许的值: | (布尔值) |
默认值: | true (1.29+)false (1.12-1.28)[1] |
其他设置: 按首字母排序 | 按功能排序 |
详情
If $wgUserEmailUseReplyTo
is set to true
, user-to-user emails will contain the email address of the sending user in a Reply-To: header only, instead of directly in the From: line.
Emails will appear to come from $wgPasswordSender
, but replies will be sent to the email address of the user sending the user-to-user email.
It may be clean-looking and convenient to place the sending user's email address in the From: line. But there are several reasons why setting of 'false' may not be desired. They are:
- Putting the sending user's email address in the From: line doesn't as clearly differentiate user-to-user email (an email sent via the wiki) from directly sent messages (emails sent from an email client).
- Another concern is that some mailers (like sSMTP) will use the From: address as the SMTP envelope sender (the generator of the email message).
这种行为可能导致电子邮件因 SPF 违规而受到惩罚(因为维基服务器未被授权代表其他域发送消息),例如anyuser@example.com
未被授权在example.org
域发送邮件。
- MediaWiki installations on a shared server may fail to send user-to-user email due to spam prevention by disabling open mail relaying.
Setting to
true
may create a privacy issue, as bounces containing the recipient's email address may get returned to the server's sending user email address.