Twenty-six, linux mail server

1. Install:

   yum install -y sendmail

  Because the installation is minimal, there is no need to install the package

   yum  install -y  mailx

2. Log: / var / log / maillog

3. Start: /etc/init.d/sendmail start

4. mail in two ways:

 mail -s "title" e-mail address <file

echo  "正文"   |  mail  -s  "oldboy"   [email protected]

The process may be unified to the mail server backup (backup after each server sends the server, from the server to the backup server backup OK each typeface)

6.linux end, there are two mail service: mail mutt

Guess you like

Origin www.cnblogs.com/dangjingwei/p/10995707.html