sendmail 의 relay설정 하는 법을 알고 싶습니다.

kihoori의 이미지

도메인이 한 10개 정도 있는데요
이 도메인마다 전에 릴레이 설정해놓았던것이 있었습니다.

다음이 그 화일 목록인데요

         1104 May  1 04:16 access
      12288 May  1 04:16 access.db
            0 May  1 04:16 domaintable
       12288 May  1 04:16 domaintable.db
      5573 May  1 04:16 helpfile
          604 May  1 04:16 local-host-names
         0 May  1 04:16 mailertable
      12288 May  1 04:16 mailertable.db

      57305 Aug 28  2002 sendmail.cf
        2479 May  1 04:16 sendmail.mc
       628 May 16 15:28 statistics
      38899 Aug 28  2002 submit.cf
      837 Aug 28  2002 submit.mc
         127 May  1 04:16 trusted-users
       1518 May  1 04:16 virtusertable
       12288 May  1 04:20 virtusertable.db 

이 화일들을 전 서버에서 가지고 와서 그냥 덮은다음에
service sendmail restart를 하였습니다.

그런데 버전이 틀려서 그런것인지 위의 전혀 먹히질 않네요
보내는건 보낸다 쳐도 받는것이 전혀 안됩니다.

메일을 보내면 릴레이가 허용되지 않았다는데요

릴레이 설정하는 화일이 잘못된것 같습니다..

지금 릴레이 설정은 local-host-names,access에 있습니다.(도메인들이 적혀 있는 화일이죠)

참고로 말씀 드리면 저 설정들은 잘 작동되던것이거든요..

참고로 이번 버전을 말씀 드리면 sendmail 8.12.5wow버전입니다(바로 와우리눅스 파란 r2에 있던것이죠..)

머 다른 메일 데몬으로 바꾸란던가 하는 말씀은 말아 주세요.. 지금 시간이 없는 일이라서요.. ( 메일로 먹고 사는 회사가 많아서요..)

속시원히 릴레이 설정을 하려면 어디를 만져야 하는지 알려주시기 바랍니다..
(영문 메뉴얼 봐바야 어디를 찾아 봐야 할지 .. 봐도 뭐가뭔지 하나도 모르겠네요..ㅜ.ㅜ)

급한데로 설명이 잘되어 있는 링크라도 알려주시길 바랍니다.

skdream의 이미지

그 파일들 당연히 전부 root소유로 되어있겠죠? ^^
제가 요 몇일 메일서버를 새로 만들어서 기존 자료 이동하면서..
실수로 소유자가 변경되서 고생하기도 했거든요.. 릴레이는 아니지만...

makemap hash access < access 와 같이 한번씩 makemap을 돌려줘보세요.. (틀릴지도 몰라요.. ㅡㅡ;)

kihoori의 이미지


The original message was received at Fri, 16 May 2003 22:08:40 +0900 
from [211.32.117.27] 

----- The following addresses had permanent fatal errors ----- 
<help@도메인> 

----- Transcript of session follows ----- 
<help@도메인>... Deferred: Connection refused by mail.도메인. 
Message could not be delivered for 1 hour 
Message will be deleted from queue 

Reporting-MTA: dns; smail-106.hanmail.net
Arrival-Date: Fri, 16 May 2003 22:08:40 +0900

Final-Recipient: RFC822; help@도메인 
Action: failed 
Status: 4.4.7 
Remote-MTA: DNS; mail.도메인 
Last-Attempt-Date: Fri, 16 May 2003 23:10:01 +0900 

이런 메세지가 나온다면 어느쪽을 봐야 하는지요.. 우선은 도메인이 문제인건가..ㅜ.ㅜ

pynoos의 이미지

위 오류메시지는 메일서버가 떠있지 않아서

한 시간 뒤에 다시 전송하겠다는 메시지군요.

--------------------

그 메일 서버 로컬에 저장되는 도메인이 10개라는 것인가요?
아니면 그 메일 서버가 허브로 작동하여 다른 10개의 메일서버에
전달하는 것인가요..?

후자라면 mailertable에 넣어 주고 sendmail.cf 에

Kmailertable hash /etc/mail/mailertable

요게 들어 가야할 것 같군요.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.