【问题标题】:How to allow on postfix/iredmail to set arbitrary from header?如何允许在 postfix/iredmail 上设置任意标题?
【发布时间】:2016-12-13 00:08:17
【问题描述】:

我已经用 iRedMail 设置了邮件服务器。它应该充当 Web 应用程序的 SMTP 服务器。 Postfix 仅限 localhost 使用。

假设我创建了一个帐户web@example.com

我需要的是允许设置任意 from 标头,例如bar@example.com,甚至是baz@my-second-domain.com

目前这是拒绝:

postfix/smtpd[7386]: NOQUEUE: reject: RCPT from ***[127.0.0.1]: 550 5.1.0 <notlviv@pb.org.ua>: Sender address rejected: User unknown in virtual mailbox table; from=<notlviv@pb.org.ua> to=<some@email.com> proto=ESMTP helo=<[127.0.0.1]>

这怎么可能允许?

【问题讨论】:

    标签: email postfix iredmail


    【解决方案1】:

    好的,想通了:

    smtpd_reject_unlisted_sender = yes # set to no
    # Sender restrictions
    smtpd_sender_restrictions =
        reject_unknown_sender_domain
        reject_non_fqdn_sender
        reject_unlisted_sender # comment this 
    

    【讨论】:

      猜你喜欢
      • 2018-02-02
      • 2017-01-21
      • 1970-01-01
      • 2014-04-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-12-31
      相关资源
      最近更新 更多