电子邮件问题——“代表 Blackhole”

电子邮件问题——“代表 Blackhole”

我遇到了一个奇怪的电子邮件问题,但一直找不到任何答案。我有一个使用 postfix 设置的 Ubuntu 服务器,它使用 mailgun 发送电子邮件。我没有使用 mailgun API,只是在 postfix 配置中将其设置为中继主机。

然而,客户收到了一封来自以下地址的电子邮件(真实域名已被取出):

From: [email protected]
[mailto:[email protected]] On Behalf Of Blackhole
Sent: Friday, July 11, 2014 2:01 PM

让我解释一下这两个域名。他们最初希望发件人地址为“site.org”,尽管服务器只托管“serverwebsite.org”。我的问题是客户不希望“代表 Blackhole”显示为发件人名称,这可以理解,但不知道为什么会这样。

有什么想法会导致它显示这个吗?自从这封电子邮件发出后,我无法重现该问题,我将发件人地址更改为 @serverwebsite 地址 - 我对电子邮件了解不够,不知道这是否可以修复名称。

如果这有帮助,这是我的 postfix main.cf 配置。我有用户名、密码、dns 设置和所有这些。

    biff = no
    append_dot_mydomain = no
    smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_tls_CApath= /etc/ssl/certs
    smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
    smtpd_use_tls=yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = static:email:password
    smtp_sasl_security_options = noanonymous
    smtp_use_tls = yes
    myorigin = /etc/mailname
    smtpd_banner = $myhostname ESMTP $mail_name
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases                                                                                                                         
    mydestination = localhost
    relayhost = [smtp.mailgun.org]:587
    mynetworks = 127.0.0.0/8
    inet_interfaces = all
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_protocols = all
    home_mailbox = Maildir/
    mailbox_command =
    smtp_tls_security_level = may
    smtpd_tls_security_level = may
    smtp_tls_note_starttls_offer = yes
    smtp_tls_loglevel = 1

谢谢!

编辑:输出后配置-n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command = 
mailbox_size_limit = 0
mydestination = localhost
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost = [smtp.mailgun.org]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:[email protected]:password
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
smtp_tls_loglevel = 1
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_tls_CApath = /etc/ssl/certs
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes

相关内容