Results 1 to 9 of 9

Thread: Get mail by POP3, serve by IMAP, solutions?

  1. #1
    Join Date
    Aug 2005
    Beans
    117

    Get mail by POP3, serve by IMAP, solutions?

    I'm just wondering if a solution to this already exists somewhere and I just don't know about it. I expect it does.

    I want to retrieve emails from my POP3 servers to my home server. But from there, I want to be able to access them via IMAP from my other computers, i.e. desktop, laptop, phone. And then of course I want to be able to send emails from said devices via IMAP to my home server which POP3's them out to my mail servers.

    Basically, I have a few POP3 accounts with various hosts and I want to conveniently interact with them from lots of devices using my preferred software (i.e. Mutt, or Thunderbird on my Windows boxes). My home server is Ubuntu Server if that's relevant.

    Any easy way to do this?

    Many thanks,

    H.

  2. #2
    Join Date
    Jul 2006
    Location
    Here
    Beans
    9,689

    Re: Get mail by POP3, serve by IMAP, solutions?

    i use gmail to pop all my mail, so i only have to check gmail.
    gmail also has imap.
    Attached Images Attached Images

  3. #3
    Join Date
    Oct 2010
    Beans
    203
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Get mail by POP3, serve by IMAP, solutions?

    Is there an option to get them via IMAP from your ISP or however provides the email? To me this would seem a better idea, I do this and then access there servers from all devices and also store copies on all devices to save downloading them every time.

  4. #4
    Join Date
    Aug 2005
    Beans
    117

    Re: Get mail by POP3, serve by IMAP, solutions?

    Thanks for both replies. I'm definitely fixed on what I want to do: Create a home IMAP server and import my mails via POP3 to it. There are a lot of reasons why I want to do this. They range from needing to GPG sign some of my emails, liking using my own email clients, back up procedures to privacy concerns (i.e. not letting Google near them). There is an option to get them via IMAP from a couple of the mail providers I use, but this needs to be a long-term solution and I'll probably exceed the limits on my mail accounts.

  5. #5
    Join Date
    Mar 2010
    Location
    Woonsocket, RI USA
    Beans
    3,195

    Re: Get mail by POP3, serve by IMAP, solutions?

    Look into Fetchmail, which retrieves mail via POP, IMAP, or various other protocols for injection into a local mail queue. You can then run whatever IMAP server you like to deliver the mail on your local network. Personally, I use Dovecot, but there are lots of other options.

    For sending mail, neither POP nor IMAP is the correct protocol; you must use SMTP for that. IIRC, Postfix is the default SMTP server for Ubuntu, but I might not be remembering correctly. Others, such as sendmail, qmail, and Exim, are available and will work as well. You'll probably need an SMTP server running to accept the output from Fetchmail, too, so using one for your outgoing mail won't add much to the complexity of the setup.

  6. #6
    psusi is offline Ubuntu addict and loving it
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Beans
    3,980
    Distro
    Ubuntu Development Release

    Re: Get mail by POP3, serve by IMAP, solutions?

    I've also been using fetchmail/dovecot/dovecot-postfix for years and have been quite happy.

  7. #7
    Join Date
    Aug 2005
    Beans
    117

    Re: Get mail by POP3, serve by IMAP, solutions?

    Thanks for all the replies. srs5694 and psusi in particular, your suggestions got me started on the right trail. From there, I discovered this enormously helpful How To which pretty much details everything I'm after.

    https://help.ubuntu.com/community/POP3Aggregator

    I've now set up Dovecot on my home server which provides me with an IMAP service. And I'm using GetMail to grab my emails by POP3 and populate the mail files that Dovecot serves to my client devices.

    It's actually taking me longer to convert and import my Thunderbird mbox files to MailDir on the new server, than it has been to set all this up. This is going to be really useful. Thanks all,

    Harmony.

  8. #8
    Join Date
    Apr 2013
    Beans
    1

    Re: Get mail by POP3, serve by IMAP, solutions?

    H4rm0ny, I am recently looking for the same thing, setting up my own fetch, imap, then convert and import my thunderbird mails, just like yours. Do you have an outline of what you did to bring this setup up and running? Also, do you have to setup DNS for your home server to use a imap client or did you use web client?

    Just a question on the side, why the choice of GetMail instead of fetchmail?
    Last edited by oube; April 17th, 2013 at 08:56 PM.

  9. #9
    Join Date
    Feb 2007
    Beans
    23,070
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Get mail by POP3, serve by IMAP, solutions?

    From the Ubuntu Forums Code of Conduct.
    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    Thread closed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •