Debian、Ubuntu终端下邮件配置方法

exim4+mailutils

dpkg-reconfigure exim4-config

Select default options, except:

mail sent by smarthost; received via SMTP or fetchmail
mail.mydomain.inc


To test mail agent, need to install a frontend (MUA - mail) to
exim4:

apt-get install mailutils
mail [email protected]
(press enter for Cc:, type in subject, press enter)
(type in body of message, then enter)
. (type in single period, then enter, to end composing and email is queued)
mailq (to see if mail is sent or still in queue)

相关推荐