밑에 에러메세지좀 봐주세요~(샌드메일)

익명 사용자의 이미지

[root@orac /root]# /etc/rc.d/init.d/sendmail restart
Shutting down sendmail [ OK ]
Starting sendmail makemap error opening type hash
map /etc/mail/virtusertable Executable files not allowed
makemap error opening type hash map /etc/mail/access Executable
files not allowed
makemap error opening type hash map /etc/mail/domaintable
Executable files not allowed
makemap error opening type hash map /etc/mail/mailertable
Executable files not allowed

[root@orac mail]# makemap hash /etc/mail/access.db
< /etc/mail/access
makemap error opening type hash map /etc/mail/access.db Executable
files not allowed

메일이 안되여~~~~~`````

이런 에러메세지가 뜨는데..
어떤이유일까요??
지금이것때문에 다른걸 하지못하고있습니다 ㅠ.ㅠ
도와주세요~~

익명 사용자의 이미지

설정 파일들에서 실행 옵션을 빼주시구요.

makemap 은

makemap access < access 로 하는 거랍니다

그리구, debian 같은 경우는 make 를 통해서 각각 설정파일들의
group 과 퍼미션을 맞추어주는데, 다른 배포판이라면 잘 모르겠네요

그럼.

헬프! wrote..
[root@orac /root]# /etc/rc.d/init.d/sendmail restart
Shutting down sendmail [ OK ]
Starting sendmail makemap error opening type hash
map /etc/mail/virtusertable Executable files not allowed
makemap error opening type hash map /etc/mail/access Executable
files not allowed
makemap error opening type hash map /etc/mail/domaintable
Executable files not allowed
makemap error opening type hash map /etc/mail/mailertable
Executable files not allowed

[root@orac mail]# makemap hash /etc/mail/access.db
< /etc/mail/access
makemap error opening type hash map /etc/mail/access.db Executable
files not allowed


메일이 안되여~~~~~`````

이런 에러메세지가 뜨는데..
어떤이유일까요??
지금이것때문에 다른걸 하지못하고있습니다 ㅠ.ㅠ
도와주세요~~

익명 사용자의 이미지

실행 옵션이 아니라 실행 퍼미션입니다만.

익명 사용자의 이미지

답변정말 감사합니다 ~~^^;

제가 워낙초보라 이고생을 합니다~~ㅠ.ㅠ

그런데 위에
설정파일들에서 실행퍼미션을 빼달라 그랬는데 무슨말인지 모르겠습니다..

그리고 makemap access < access라고하셨는데..
이것도 무슨말인지??
정말 죄송한데..다시한번 갈켜주세영~~^^*

감사합니다^^

익명 사용자의 이미지

실행 퍼미션 빼는 법은요.

chmod ugo-x 파일이름 정도가 되겠네요

자세한 것은 man chmod 나 책이나 기타 문서 참고하시구요.

위에 직접 실행하신 명령중에

makemap hash access.db < access 가 있던데

.db 를 붙이면 안된다는 얘기였습니다

hash 빼먹은 건 제 실수구요.

access 는 relay 를 설정하는 파일이구요,

makemap hash 는 sendmail 에서 그 data 를 쓸수 있게

버클리 db 형식으로 바꿔주는 명령이구요.

그럼...

헬프! wrote..
답변정말 감사합니다 ~~^^;

제가 워낙초보라 이고생을 합니다~~ㅠ.ㅠ

그런데 위에
설정파일들에서 실행퍼미션을 빼달라 그랬는데 무슨말인지 모르겠습니 다..

그리고 makemap access < access라고하셨는데..
이것도 무슨말인지??
정말 죄송한데..다시한번 갈켜주세영~~^^*

감사합니다^^