LINUX

sendmail 관련

OJR 2012. 9. 12. 23:14

 

yum install sendmail 로 설치했음.

 

 

$ service sendmail start

로 실행했는데 아래와 같이 에러뜨며 실패했을때.

 

554.5.0.0 QueueDirectory(Q) optin must be Set     

에러 일때

=>
/etc/mail/sendmail.cf 파일에서
# queue directory
0 QueueDirectory=/var/spool/mqueue

 


554 5.0.0 No local mailer defined

에러 일때

=>
/etc/mail/sendmail.mc 에 DAEMON_OPTIONS('Port=smtp, Addr=0.0.0.0, Name=MTA')