Contents ...
udn網路城邦
main.cf ( Postfix Mail Server 設定範例 )
2008/06/09 15:15
瀏覽1,909
迴響0
推薦0
引用0

# see /usr/share/postfix/main.cf.dist for a commented, fuller
# version of this file.

# Do not change these directory settings - they are critical to Postfix
# operation.
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
setgid_group = postdrop

# appending .domain is the MUA's job.
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 = lupin
# 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 to KNOPPIX
smtpd_helo_required = yes
# inet_interfaces = all
relayhost =
mynetworks_style = subnet
mynetworks = 127.0.0.0/8, 172.18.1.1
relay_domains = $mydomain
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

發表迴響

會員登入