sudo apt-get install postfix 安装过程中选择Internet Site 输入邮件地址使用的域名 安装后就可以使用了 这里不做用户设置 所有邮件都会收在/var/mail/root中