반응형

# 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

 

# /etc/init.d/postfix restart

 

포워딩 설정

$ vi .forward

 

$ chmod 600 .forward

반응형
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기