上次灌了台mail server在使用MS的outlook2003收郵件非常的棒,後來又灌了webmail,當user登入webmail時地址卻出現007@mailserver.abc.com.tw之類的字樣,我需要的是007@abc.com.tw.
我主機(/etc/postfix/main.cf)設置如下:
root@mailserver:/etc/postfix# vi main.cf
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 = MAIL-SERVER (UNIX*)
biff = no
# Uncomment the next line to generate delayed mail warnings
#delay_warning_time = 4h
#myhostname = mailserver.abc.com.tw
# myhostname = abc.xyz.org.tw
mydomain = abc.com.tw
myorigin = $mydomain
#myorigin = $myhostname
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
# mydestination = $myhostname, $mydomain
-------------------------------------------------
小弟是windows轉過來的新手,請給位大大賜教.