사이트 내 전체검색
sendmail의 에러 ( sm-client )
로빈아빠
https://cmd.kr/server/45 URL이 복사되었습니다.

본문

레드헛 9.0 기준입니다.


# sendmail restart

 sendmail를 종료하고 있습니다:                              [확인]
 sm-client을 종료하고 있습니다:                            [실패]
 sendmail (을)를 시작합니다:                                [확인]
 sm-client을 시작하고 있습니다: No local mailer defined
 QueueDirectory (Q) option must be set
                                                            [실패]
 
 다음과 같은 에러 메시지가 출력되었습니다.

 sendmail.cf의 옵션에서  QueueDirectory 부분을 보니깐 정상적인 경로로 되어있다.
 
# queue directory
O QueueDirectory=/var/spool/mqueue



해결법 :


submit.cf 파일은 /etc/mail 폴더에 있습니다.

혹시 submit.cf 파일크기가 0 일때..

/usr/share/sendmail-cf/cf/submit.cf 에 파일이 있으므로 /etc/mail 로 파일을 복사해서 넣으세요


sendmail 8.12.7 부터는 sm-client 라는 새로운 기능이 생겨 로컬 메일을 담당하게 된다.
sm-client 에 대한 설정은 submit.cf 에서 룰이 정의가 됩니다.

위 내용은 sm-client 에 대한 내용이므로, submit.cf 에서 확인을 해 보셔야 합니다.

sm-client 의 queue directory 는 submit.cf 에

# queue directory
O QueueDirectory=/var/spool/clientmqueue

와 같이 설정이 되어 있어야 하며, clientmqueue 디렉토리는 submit.cf
에서

# what user id do we assume for the majority of the processing?
O RunAsUser=mail

로 설정이 되어 있는 user 와 group 으로 소유권을 가지고 있어야 합니다.

출처 : http://qdata.co.kr/bo/bbs/board.php?bo_table=ltip&wr_id=293&page=2

댓글목록

등록된 댓글이 없습니다.

1,139 (2/23P)

Search

Copyright © Cmd 명령어 18.117.72.230