호스팅 mailbox를 POP3로 Binary Backup 방법 ?

guy123의 이미지

안녕하세요?

외부의 메일호스팅(웹 메일 기반) 서비스를 받고 있다고,
자체 서버(웹+메일)를 준비하여 운영하게 되었습니다.

문제는 기존의 사용한 메일호스팅의 메일을 Backup 받아서
신규 자체 운영 서버에 옮겨야 합니다.

현재 외부 메일호스팅 업체는 어떠한 이유에서인지 모르겠지만,
기술적 핑계를 대면서 메일 계정별 mailbox 파일을 전달할 수 없다고
하고 있습니다. (imap 기반의 Web mail 서비스이므로, 서버에
남아 있습니다. POP3로 항시라도 땡겨올 수 있으니까요!)

따라서, 궁여지책으로 혹시 POP3(또는 다른 형태의 프로토콜) 기반으로
각 계정의 mailbox를 가져 올 수 있을까요? 각 계정별 ID와 암호를 아니까...
이렇게 Binary 형태로 가져온다면, 쉽게 자체 운영 서버에 옮길 수 있습니다.
(복사하여 적당한 권한설정으로.....)

이렇게 할 수 있는 유틸리티로 있을 것 같은데, 통 못 찾겠습니다.

혹시 좋은 아이디어 있으시면 부탁드립니다.

감사합니다.

다콘의 이미지

guy123의 이미지

답변 감사합니다. 확인 결과 메일 호스팅 서버에 143포트가 열려있지 않더군요.
다른 포트를 사용하거나, imap을 지원하지 않는 듯 합니다.
혹시 pop3 sync 이런 것은 보신적이 없으신지... ^^

bushi의 이미지

호스팅 서버가 메일전용 가상계정을 사용하고 있고,
관리자는 물론이고 개발당사자라 하더라도 고객의 메일을 볼 수 없도록 갖가지 조치가 취해져있는... 제대로 된 서비스라면,
고객지원팀은 물론이고 개발팀에게조차도 기술적으로 상당히 귀찮고 더러운 일이 될 수도 있습니다.

[bushi@rose doc]$ yum info fetchmail
Loaded plugins: fastestmirror, presto, refresh-packagekit
Available Packages
Name        : fetchmail
Arch        : i686
Version     : 6.3.17
Release     : 1.fc12
Size        : 500 k
Repo        : updates
Summary     : A remote mail retrieval and forwarding utility
URL         : <a href="http://fetchmail.berlios.de/
License" rel="nofollow">http://fetchmail.berlios.de/
License</a>     : GPL+ and Public Domain
Description : Fetchmail은 SLIP 이나 PPP와 같은  TCP/IP 링크 상에서 사용할 수
            : 있는 원격 메일 검색과 전송 유틸리티입니다. Fetchmail은 인터넷에서
            : 사용되는 모든 원격 메일 프로토콜을 지원합니다. (POP2, POP3, RPOP,
            : APOP, KPOP, 모든 IMAP, ESMTP ETRN, IPv6, IPSEC) 또한 Fetchmail은
            : 가장 인기있는 메일 클라이언트인 SMTP를 통하여 메일을 전송합니다.
            : 
            : SLIP 또는 PPP 연결 상에서 메일을 검색하시려면 fetchmail을
            : 설치하십시오.
            : 
            : 
 
[bushi@rose doc]$ 

[bushi@rose doc]$ yum info getmail
Loaded plugins: fastestmirror, presto, refresh-packagekit
Available Packages
Name        : getmail
Arch        : noarch
Version     : 4.20.0
Release     : 1.fc12
Size        : 178 k
Repo        : updates
Summary     : POP3, IMAP4 and SDPS mail retriever with Maildir delivery
URL         : <a href="http://pyropus.ca/software/getmail/
License" rel="nofollow">http://pyropus.ca/software/getmail/
License</a>     : GPLv2
Description : getmail is a secure, flexible, reliable and easy-to-use
            : mail retriever for POP3, IMAP4 and SDPS.
            : It delivers mail into a Maildir or mbox file.
            : It is designed to replace other mail retrievers such as fetchmail.
            : Getmail is written entirely in python.
[bushi@rose doc]$

땡겨온 후에 서버에 있는 원본을 지우는 옵션이 있으니 주의해서 사용하세요.

개인적인 목적엔 fetchmail 이 더 좋지만,
dump 혹은 mirror 목적이라면 getmail 이 더 유리하겠습니다.

OTL

guy123의 이미지

안녕하세요? 답변 감사드립니다.

상세하게 잘 설명해주셔서, 잘 될 것 같습니다.
2개 중에 1개는 잘 되겠죠? ^^;

댓글 달기

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