Mailman 从 mylist-bounce 地址发送列表邮件

Mailman 从 mylist-bounce 地址发送列表邮件

我已经用两种不同的方式配置了 mailman 和 postfix,当我向列表发送电子邮件时(例如:[电子邮件保护]),所有订阅者都会收到来自“[电子邮件保护]“。我不知道为什么”-反弹“在发件人地址中,所以我设置了一个“回复”标题,以便回复发送到列表电子邮件(而不是退回),但我想知道我做错了什么。

从有效订阅者向列表发送电子邮件,最终正确收到电子邮件,但来自 mylist-bounces@,而不是来自 mylist@:

Jan 13 09:56:09 server postfix/qmgr[17951]: C694C20A2EEE: from=<[email protected]>, size=2299, nrcpt=1 (queue active)
Jan 13 09:56:10 server postfix/smtpd[18049]: disconnect from mail-qg0-f54.google.com
Jan 13 09:56:10 server postfix/pipe[18054]: C694C20A2EEE: to=<[email protected]>, relay=mailman, delay=0.72, delays=0.52/0.02/0/0.18, dsn=2.0.0, status=sent (delivered via mailman service)
Jan 13 09:56:10 server postfix/qmgr[17951]: C694C20A2EEE: removed
Jan 13 09:56:11 server postfix/smtpd[18049]: connect from localhost[127.0.0.1]
Jan 13 09:56:11 server postfix/smtpd[18049]: 7AFC720A2EEE: client=localhost[127.0.0.1]
Jan 13 09:56:11 server postfix/cleanup[18053]: 7AFC720A2EEE: message-id=<CACUG7ke_xq6w2FM+2KCC_wyENBfM7h7o-7iAuydi4R_+9tb=Yg@mail.gmail.com>
Jan 13 09:56:11 server postfix/qmgr[17951]: 7AFC720A2EEE: from=<[email protected]>, size=3782, nrcpt=1 (queue active)
Jan 13 09:56:11 server postfix/smtpd[18049]: disconnect from localhost[127.0.0.1]
Jan 13 09:56:12 server postfix/smtp[18056]: 7AFC720A2EEE: to=<[email protected]>, relay=gmail-smtp-in.l.google.com:25, delay=0.71, delays=0.01/0.04/0.07/0.59, dsn=2.0.0, status=sent (250 2.0.0 OK 1421139372 4si40583259wjv.55 - gsmtp)
Jan 13 09:56:12 server postfix/qmgr[17951]: 7AFC720A2EEE: removed

这些是电子邮件标题:

Delivered-To: [email protected]
Received: by X.Y.Z.X with SMTP id e107csp383549qge;
        Tue, 13 Jan 2015 02:40:25 -0800 (PST)
X-Received: by A.B.C.D with SMTP id d16mr4467352wiw.77.1421145624883;
        Tue, 13 Jan 2015 02:40:24 -0800 (PST)
Return-Path: <[email protected]>
Received: from myserver.example.com (myserver.example.com)
        by mx.google.com with ESMTP id un10si40938267wjc.103.2015.01.13.02.40.24
        for <[email protected]>;
        Tue, 13 Jan 2015 02:40:24 -0800 (PST)
Received: from myserver.example.com (localhost [127.0.0.1])
    by myserver.example.com (Postfix) with ESMTP id B49BD20A3379
    for <[email protected]>; Tue, 13 Jan 2015 11:40:23 +0100 (CET)
Subject: [mylist] test
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: [email protected]
List-Id: <mylist.lists.example.com>
List-Unsubscribe: <http://lists.example.com/mailman/options/mylist>, 
 <mailto:[email protected]?subject=unsubscribe>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.example.com/mailman/listinfo/mylist>, 
 <mailto:[email protected]?subject=subscribe>
Errors-To: [email protected]
Sender: "mylist" <[email protected]>
Date: Tue, 13 Jan 2015 11:40:23 +0100 (CET)
From: [email protected]

列表配置:

root@myserver: /usr/lib/mailman/bin # ./config_list -o temp mylist

root@myserver: /usr/lib/mailman/bin # grep -vE "^#|^$" temp
real_name = 'mylist'
owner = ['[email protected]']
moderator = []
subject_prefix = '[mylist] '
anonymous_list = False
first_strip_reply_to = False
reply_goes_to_list = 1
reply_to_address = ''
umbrella_list = False
umbrella_member_suffix = '-owner'
send_reminders = True
admin_immed_notify = True
admin_notify_mchanges = False
respond_to_post_requests = True
new_member_options = 256
administrivia = True
max_message_size = 10240
admin_member_chunksize = 30
host_name = 'lists.example.com'
include_rfc2369_headers = 1
include_list_post_header = 1
include_sender_header = 1
preferred_language = 'en'
available_languages = ['en']
encode_ascii_prefixes = 0
nondigestable = True
scrub_nondigest = False
regular_exclude_lists = []
regular_exclude_ignore = True
regular_include_lists = []
digestable = True
digest_is_default = False
mime_is_default_digest = False
advertised = 1
subscribe_policy = 3
unsubscribe_policy = 1
ban_list = []
private_roster = 1
obscure_addresses = 1
default_member_moderation = False
member_moderation_action = 0
member_moderation_notice = ''
generic_nonmember_action = 1
forward_auto_discards = True
nonmember_rejection_notice = ''
require_explicit_destination = 0
acceptable_aliases = ''
max_num_recipients = 10
header_filter_rules = []
bounce_matching_headers = """
to: [email protected]
message-id: relay.comanche.denmark.eu
from: [email protected]
from: .*@uplinkpro.com"""
bounce_processing = True
bounce_score_threshold = 5.0
bounce_info_stale_after = 7
bounce_you_are_disabled_warnings = 3
bounce_you_are_disabled_warnings_interval = 7
bounce_unrecognized_goes_to_list_owner = True
bounce_notify_owner_on_disable = True
bounce_notify_owner_on_removal = True
autorespond_postings = 0
autoresponse_postings_text = ''
autorespond_admin = 0
autoresponse_admin_text = ''
autorespond_requests = 0
autoresponse_request_text = ''
autoresponse_graceperiod = 90
collapse_alternatives = True
convert_html_to_plaintext = True
filter_action = 0
topics_enabled = 0
topics_bodylines_limit = 5
topics = []

编辑:我正在删除后缀配置,因为它看起来没问题(剪切)

有人能告诉我上面的列表配置中从该发件人地址发送电子邮件有什么问题吗?

答案1

好的:我想我知道发生了什么。如果 mailman 找不到有效的 From: 标头,它会将 mylist-bounces@ 添加为 From 标头。

进行“telnet 25”测试时,没有发件人标头(仅在数据后的主题:),我得到了反弹。

从 MUA(Gmail)发送电子邮件时,它会显示“发件人”发件人标头。我可以假设没有人会尝试向带有发件人的电子邮件列表发送电子邮件,因此没有人会看到“-bounces”电子邮件地址,对吗?

非常感谢@masegaloeh 为我指出答案:)。

相关内容