后缀如何设置发件人姓名

Postfix how to set sender name

提问人:Fulliautomatix 提问时间:11/11/2023 最后编辑:Fulliautomatix 更新时间:11/11/2023 访问量:20

问:

我正在使用 postfix 发送电子邮件,目前正在尝试设置发件人姓名。是否有控制这一点的配置?

我尝试在sender_canonical_map中设置它,但没有用。我目前以 root 的身份从名称中获取友好。这是我的 postconf 的样子

alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
compatibility_level = 2
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = <>
mydomain = test.domain
myhostname = <>
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = [email-smtp.us-east-1.amazonaws.com]:2587
sender_canonical_maps = regexp:/etc/postfix/sender-canonical-regexp
smtp_header_checks = regexp:/etc/postfix/headers
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_fingerprint_digest = sha256
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = encrypt
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname.ironic-impala-q1p ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/smtpd_recipient_restrictions
transport_maps = hash:/etc/postfix/transport```
postfix-mta 后缀表示法

评论


答: 暂无答案