Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Apr 13, 2008 7:39 am 
Offline
Junior Member

Joined: Mon Oct 29, 2007 10:12 am
Posts: 33
Hi,

I would like to setup an IMAP facility on my Ubuntu 6.06 VPS. The idea is that I will download e-mails from several different external POP3 accounts to the VPS, and then access them from anywhere in the world using an IMAP-capable e-mail client. I assume this is feasible, but I'm not sure how to configure the system to do it. I have more than one user, with more than one e-mail account each.

I have installed and partly configured Dovecot, but don't really know what to do next. It looks like I will need some type of POP3 server to get the e-mails from the internet accounts into one or more local mailboxes, then point Dovecot at the mailbox(es)?

I do not want/need to configure the server to handle local domain traffic as I already use Postfix for outgoing mail from my domain, and incoming mail goes to the various internet accounts.

Perhaps someone could recommend a relatively easy & secure (or maybe better?) way of doing this - maybe point to a guide or tutorial detailing this type of setup. I know there are many Dovecot tutorials out there, but nothing integrated enough for me to follow to get the setup I have described. Thanks.


Top
   
 Post subject:
PostPosted: Sun Apr 13, 2008 8:36 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Use getmail to load the remote mail into local mail accounts. Configure Dovecot and you're done.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Mon Apr 14, 2008 4:39 am 
Offline
Junior Member

Joined: Fri Jun 02, 2006 10:02 am
Posts: 26
Heres an excellent guide for setting up a mail server with ubuntu:

http://www.howtoforge.com/virtual-users ... buntu-6.06

You could then add getmail or something similar to bring in mail from other accounts.


Top
   
PostPosted: Mon Apr 14, 2008 6:57 am 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
jti wrote:
I do not want/need to configure the server to handle local domain traffic as I already use Postfix for outgoing mail from my domain, and incoming mail goes to the various internet accounts.


Top
   
 Post subject:
PostPosted: Tue Apr 15, 2008 6:13 pm 
Offline
Junior Member

Joined: Fri Jun 02, 2006 10:02 am
Posts: 26
my bad


Top
   
 Post subject:
PostPosted: Wed Apr 16, 2008 7:05 am 
Offline
Junior Member

Joined: Mon Oct 29, 2007 10:12 am
Posts: 33
Quote:
Use getmail to load the remote mail into local mail accounts. Configure Dovecot and you're done.


I've had quick look at getmail, and it seems a little complicated to configure, and is one more package to install & configure. Is there any advantage using getmail over configuring Dovecot to do the POP3 functions instead? Thanks.


Top
   
 Post subject:
PostPosted: Wed Apr 16, 2008 7:19 am 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
Dovecot is a mail server. It is not a mail client.

Getmail is a mail client. It is not a mail server.


Top
   
 Post subject:
PostPosted: Wed Apr 16, 2008 8:12 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
mwalling wrote:
Dovecot is a mail server. It is not a mail client.

Getmail is a mail client. It is not a mail server.


And you need one of each (i.e. a client and a server) for what you want to do.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Wed Apr 16, 2008 8:34 am 
Offline
Junior Member

Joined: Mon Oct 29, 2007 10:12 am
Posts: 33
Quote:
And you need one of each (i.e. a client and a server) for what you want to do.


OK, thanks. Before getting my hands dirty, just to confirm the configuration I am looking for is along the following lines:

Getmail needs to do the job currently performed by my users e-mail clients, except that instead of downloading messages from the internet POP3 accounts to their PC-based email client, it downloads messages into the various mailboxes on my server. Then the e-mail clients poll the IMAP (Dovecot) server instead of their POP3 accounts, and Dovecot goes to the respective local mailboxes to retrieve the messages. Is that about right? It sounds complicated to setup, but presumably it's possible to acheive with help from the various tutorials around?

One problem might be that most users don't actually have accounts on the server that will host Dovecot & getmail, and so will not have local mailboxes.


Top
   
 Post subject:
PostPosted: Wed Apr 16, 2008 8:45 am 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
jti wrote:
Getmail needs to do the job currently performed by my users e-mail clients, except that instead of downloading messages from the internet POP3 accounts to their PC-based email client, it downloads messages into the various mailboxes on my server. Then the e-mail clients poll the IMAP (Dovecot) server instead of their POP3 accounts, and Dovecot goes to the respective local mailboxes to retrieve the messages. Is that about right? It sounds complicated to setup, but presumably it's possible to acheive with help from the various tutorials around?


On my old ISP (HughesNet: High Lag, Low Bandwidth, Customer Support that makes dealing with Walmart look fun) I used that set up to pull my mail local for myself and my wife, but I had local accounts. I'm sure with a little work it could deliver to virtual accounts.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group