반응형
# vi main.cf
myhostname = mail.kobic.kr
mydomain = kobic.kr
inet_interfaces = all
inet_protocols = ipv4
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 127.0.0.0/8, 192.168.xxx.0/24, 210.xxx.xxx.0/24
home_mailbox = Maildir/
header_checks = regexp:/etc/postfix/header_checks
body_checks = regexp:/etc/postfix/body_checks
smtpd_banner = $myhostname ESMTP
mydomain = kobic.kr
inet_interfaces = all
inet_protocols = ipv4
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 127.0.0.0/8, 192.168.xxx.0/24, 210.xxx.xxx.0/24
home_mailbox = Maildir/
header_checks = regexp:/etc/postfix/header_checks
body_checks = regexp:/etc/postfix/body_checks
smtpd_banner = $myhostname ESMTP
# /etc/init.d/postfix restart
포워딩 설정
$ vi .forward
$ chmod 600 .forward
반응형
최근댓글