並且可以遠端寄信
但是寄信到外面的domain發生問題,錯誤訊息是(thunderbird0.:
Reciepient address reject: Relay Access Deny
請問我該如何修改設定檔?
- 代碼: 選擇全部
append_dot_mydomain = no
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# Uncomment the next line to generate delayed mail warnings
#delay_warning_time = 4h
myhostname = test.edu.tw
mydomain = test.edu.tw
# myhostname = abc.xyz.org.tw
# mydomain = xyz.org.tw
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $myhostname, localhost.localdomain, localhost
# mydestination = abc.xyz.org.tw
# mydestination = $myhostname, www.$myhostname
# mydestination = /etc/postfix/local-host-names
# mydestination = 要搭配 DNS MX
disable_vrfy_command = yes
smtpd_banner = Welcome
smtpd_helo_required = yes
inet_interfaces = all
relayhost =
mynetworks_style = subnet
mynetworks = 143.116.248.0/24,127.0.0.0/8,hash:/var/lib/pop-before-smtp/hosts
relay_domains = $mydomain,test.edu.tw
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
header_checks = regexp:/etc/postfix/header_checks
body_checks = regexp:/etc/postfix/body_checks
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,reject_non_fqdn_recipient,check_client_access hash:/var/lib/pop-before-smtp/hosts,check_relay_domains
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sasl_security_options = noanonymous
#home_mailbox = Maildir/
我快被罵死了,請各位大大救救我