配置sendmail时,修改sendmail.mc,如果将配置语句没有顶格写,容易出现问题,如下:
[root@localhost mail]# service sendmail restart
Shutting down sendmail:                                    [  OK  ]
Shutting down sm-client:                                   [  OK  ]
Starting sendmail: 554 5.0.0 /etc/mail/sendmail.cf: line 39: unknown configuration line ”

                                                           [FAILED]
Starting sm-client:                                        [  OK  ]

  如果出现以上错误,只要将sendmail.mc中的配置语句顶格写,后重新执行m4 sendmail.mc > sendmail.cf后,执行service sendmail restart 执行 newaliases生成新的别名记录文件,就不会出现以上错误了!