[질문]아시아눅스 sendmail+cyrusimap 아웃룩에서 메일 받기 안되는 문제

RedCat의 이미지

안녕하세요.
아시아눅스를 설치를 했는데요.
콘솔상에서 mail 명령으로는 외부에서 발송된 메일을 확인 가능합니다.
그런데 아웃룩에서 메일 받기 하면 메일이 없는것 처럼 되는군요.

처음엔
ERR [SYS/PERM] Unable to locate maildrop: Mailbox does not exit
라는 메세지로 인해
검색을 해보니
http://kldp.org/node/71621

http://hirameki.blogspot.com/2005/11/fedora-core-3-sendmail-cyrus-imapd.html
의 페이지를 통해 해결은 했습니다.

그런데 콘솔에서 mail 명력어로 확인이 되는 메일들이
아웃룩에서 확인이 안됩니다.
혹시 메일박스의 경로상의 문제인지 의심되지만 제 실력으로는 확인이 불가하구요..ㅠㅠ

아시아눅스 사용경험있으신분이나 해결방안을 아시는 분께서는
답변 부탁드립니다.

참고로 아시아눅스의 개발정보를 적어 놓겠습니다.

http://www.haansoftlinux.com/product/server/server2006_dev.php?searchCondition=bySubject&searchValue=imap#
-------------------------------------------------------------

2 설정파일

/etc/cyrus.conf

/etc/imapd.conf

3. RPM 패키지
cyrus-imapd-2.2.12-3.RHEL4.1

cyrus-imapd-devel-2.2.12-3.RHEL4.1

cyrus-imapd-murder-2.2.12-3.RHEL4.1

cyrus-imapd-nntp-2.2.12-3.RHEL4.1

cyrus-imapd-utils-2.2.12-3.RHEL4.1

perl-Cyrus-2.2.12-3.RHEL4.1

4. RPM패키지 configure 설정

%configure \

--prefix=/usr \

--exec-prefix=/usr \

--bindir=/usr/bin \

--sbindir=/usr/sbin \

--sysconfdir=/etc \

--datadir=/usr/share \

--includedir=/usr/include \

--libdir=/usr/lib(64) \

--libexecdir=/usr/libexec \

--localstatedir=/var \

--sharedstatedir=/usr/com \

--mandir=/usr/share/man \

--infodir=/usr/share/info \

--enable-netscapehack \

--enable-listext \

--enable-murder \

--enable-nntp \

--without-snmp \

--with-perl=/usr/bin/perl \

--with-cyrus-prefix=/usr/lib(64)/cyrus-imapd \

--with-service-path=/usr/lib(64)/cyrus-imapd \

--with-auth=unix \

--with-bdb-incdir=/usr/include/db4 \

--with-extraident=Invoca-RPM-2.2.12-3.RHEL4.1 \

--with-syslogfacility=MAIL

5. 기타

서비스를 가동하면 기본암호체크 메소드가 saslauthd 로 설정되어있습니다.

그러므로 saslauthd 데몬도 같이 시작해야 합니다.

/etc/rc.d/init.d/saslauthd start

hirameki의 이미지

제 블로그를 참조하셨다면, 메일 박스가 따로 존재한다는것을 발견하셨을것 같은데...
실제로 POP으로 접속하면 unix의 메일박스가 아닌 별도 메일 박스로 처리됩니다.
현재는 unix의 메일 박스로 메일이 가는것 같군요.

발췌하자면 아래 부분입니다.

>
> You also need to instruct sendmail that email is no longer to be stored
> in /var/spool/mail directory. Go to /etc/mail directory, and edit
> sendmail.mc file. Remove (or comment) this two lines:
>
> FEATURE(`local_procmail')
> MAILER(procmail)
>
> And add this three lines:
>
> define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')
> define(`confLOCAL_MAILER',`cyrusv2')
> MAILER(cyrusv2)
>
> Rebuild sendmail.cf (type "m4 sendmail.mc > sendmail.cf"), restart
> sendmail, and off you go.

--> 내게는 이부분이 중요했다. cyrus-imapd는 일반적인 유저 디렉토리상의 mbox가 아닌 별도의 mailbox를 사용하므로 이부분을 바꿔주지않으면 cyrus-imapd로는 메일을 받아볼수가 없다. (mail명령으로는 메일수신을 확인할수 있지만...)

위 영문부분에 씌인것처럼
> FEATURE(`local_procmail')
> MAILER(procmail)

를 지우고(또는 주석처리하고), 아래 3줄의 설정을 추가합니다.
> define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')
> define(`confLOCAL_MAILER',`cyrusv2')
> MAILER(cyrusv2)

그리고 나서 아래 명령을 내려 설정파일을 재작성(리빌드)합니다.
m4 sendmail.mc > sendmail.cf

도움이 되셨기를 바랍니다. 새해 복 많이 받으세요.

--

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
Hirameki --X-
Mail : hirafilter-comunity@yahoo.co.kr
그외 비밀..
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL

--

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
Hirameki --X-
Mail : hirameki_krjp@yahoo.co.jp
God is not customer center. Do it yourself
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL

hirameki의 이미지

현재 아웃룩(POP)은 cyrusimapd의 메일박스를 참조하고있고,
실제 메일은 unix의 mbox로 전달되고 있습니다.
메일배달 설정을 바꿔주지 않으면 안되겠지요. 그럼/^^

--

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
Hirameki --X-
Mail : hirafilter-comunity@yahoo.co.kr
그외 비밀..
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL

--

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
Hirameki --X-
Mail : hirameki_krjp@yahoo.co.jp
God is not customer center. Do it yourself
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL

댓글 달기

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