バージョンの確認
Postfix
$ postconf | grep mail_version
mail_version = 3.3.2
milter_macro_v = $mail_name $mail_version
Dovecot
$ dovecot --version
2.3.4 (0ecbaf23d)
テストメールの送信
$ gnu-mail aaaa@gmail.com
Cc:
Subject: Test
May/17/2017
Cntrl + D で終了
$ mail aaa@gmail.com
Subject: Test
May/17/2017
.
# newaliases
/etc/postfix/main.cf
home_mailbox = Maildir/
$ mail -f ~/Maildir
$ nmap localhost
Starting Nmap 7.40 ( https://nmap.org ) at 2017-05-17 20:32 JST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000089s latency).
Other addresses for localhost (not scanned): ::1
rDNS record for 127.0.0.1: localhost.localdomain
Not shown: 996 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
3306/tcp open mysql
Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
Return
Jan/13/2019 AM 08:15