我想配置我的電子郵件服務器運行Ubuntu的aws實例。認爲開始與後綴。我已經配置後綴非常好,我可以從我的AWS實例發送電子郵件到我的Gmail帳戶,但我有一些問題:顯示電子郵件在mutt在Ubuntu的後綴
我已經安裝了傻子檢查發回給我的電子郵件服務器的電子郵件從我的Gmail帳戶或從任何帳戶,當我開始mutt 說「/ home/ubuntu /郵件不是一個郵箱。」谷歌搜索告訴這個 錯誤被刪除一次後綴rcvs第一封電子郵件。但我已發送 回覆(也單獨電子郵件)到[email protected](後綴用戶) ,它並沒有反彈(送貨報告是好的在gmail 帳戶),這意味着電子郵件一定是rcvd由我的postfix user.I很困惑爲什麼mutt無法顯示用戶收到的電子郵件。以下爲〜/ .muttrc中:
set mbox_type=Maildir set realname=ubuntu set from [email protected] set use_from = yes set envelope_from = "yes" set sendmail="/usr/bin/Postfix" set spoolfile="~/Mail" set folder="~/Mail" set mask=".*" # set mask="!^\.[^.]" set record="+.Sent" set mbox="~/Mail" set postponed="+.Drafts"
等/後綴/ main.cf:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no readme_directory = no smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt smtpd_tls_key_file = /etc/ssl/private/smtpd.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database= btree:${data_directory}/smtp_scache smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = mydomain.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = mydomain.com mydestination = mydomain.com, etc etc localhost relayhost= mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 51200000 recipient_delimiter = + inet_interfaces = all inet_protocols = all home_mailbox = ~/Mail virtual_alias_maps = hash:/etc/postfix/virtual mailbox_command = smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients= yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtp_tls_security_level = may smtpd_tls_security_level = may smtpd_tls_auth_only = no smtp_tls_note_starttls_offer = yes smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom
- 第二個問題是電子郵件在我發送與Ubuntu發送者。