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

익명 사용자의 이미지

[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라고하셨는데..
이것도 무슨말인지??
정말 죄송한데..다시한번 갈켜주세영~~^^*

감사합니다^^

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.