2013/05/31

【Linux】IPv6 Mail Server

這邊使用的Mail Server是Postfix

● Server
# yum install postfix
# yum remove sendmail
# vim /etc/postfix/main.cf
 myhostname = guider.com
 myorigin = $myhostname
 inet_interfaces = all
 inet_protocaols = all
# /etc/init.d/postfix start
# netstat -tlunp |grep :25

● Client
# vim /etc/hosts
 3ffe:1:2::1 ipv6.server
# vim /tmp/test
 testing ipv6
 EOF
# mailx -S verbose -S from=eki-1322 -S smtp=ipv6.server –s mailtest test@test.com < /tmp/test

要知道有沒有收到呢?
可以在server裡面輸入以下的指令,來看有沒有收到信件
# postqueue –p 


沒有留言:

張貼留言