LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 08-31-2010, 10:47 AM   #1
coss_cat
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu
Posts: 42

Rep: Reputation: 0
I want to have my laptop as mail server in order to read my mail remotely


Hello to all of you,

I am 100% Ubuntu user now, no more Windoze. I am cured ...

Anyway this topic is about using my mail folder remotely (if i expressed it correctly). Let me describe it properly.

I use Thunderbird 3 on my Ubuntu Karmic (v9.10) and of course to download my mail I connect with a password and user name to a remote mail server on the web. Thunderbird stores this mail into a folder xxxxxx.default. The problem is that there are many times when my wife uses the computer that I work on (a laptop) and I am obliged to switch to my desktop PC running Ubuntu 9.04.
Is there a possibility to use Thunderbird here and link it to my remote folder that is on the laptop? ;something like having the laptop as mail server, but without the need to download the whole directory, but just to view my mail as I was working on the laptop. (i heard companies have something like intranet, where there is a server and all computers act as clients, working directly with the content on the server ... so no software on them). And to extend this ... could it be possible to do this not only in my LAN at home, but more on the internet? It would be very nice to have everything well stored at home (I would buy a SSD for this).

Any ideas largely appreciated

Kind regards,

Costin
 
Old 08-31-2010, 11:27 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Lots of ways to do what you'd like.
Easiest is just to use ssh with X-forwarding turned on, so your mail program runs on your laptop, but displays on your desktop.

1] Install openssh-client on both computers and openssh-server on the laptop at least.
2] Connect to your laptop, by typing this on your desktop PC
Code:
ssh -X cosscat@LAN-IP.OF.LAP.TOP
# eg
ssh -X cosscat@192.168.0.3
You can use the name of your laptop instead of its IP address if you have it listed in /etc/hosts
3] Start thunderbird on your laptop PC
Code:
thunderbird
The thunderbird window will open on your desktop PC.

That's it.

If you want to do this over the internet you'll have to:
- Understand the security risks of opening up a service (ssh) to the big bad world.
- Know your internet IP address
- Open port 22 on your modem/router/firewall and point it at the LAN IP of your laptop
- It would be wise to set up key-based authentication (and disable password authentication) for ssh, and check sshd_config very carefully to make sure you are as fully protected as you can be.

Last edited by tredegar; 08-31-2010 at 11:29 AM. Reason: clarity
 
1 members found this post helpful.
Old 09-01-2010, 06:01 AM   #3
coss_cat
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 0
Thank you!!!

Wow... it works out of the shelf!!!
Thank you tredegar!
 
Old 09-04-2010, 03:00 AM   #4
coss_cat
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 0
Over Internet?

But what about having the same features over Internet, not just LAN?

Thank you
 
Old 09-04-2010, 03:07 AM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
It probably would be a lot easier to use IMAP instead of POP when you will be reading e-mail from different computers. The e-mail remains on the server. If it is an e-mail you will want to save when you get home, simply don't delete it on the server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
E-Mail Read Receipt E-Mail Delivery Status E-Mail tracking number. ytd Linux - Software 3 02-14-2009 05:02 AM
read mail from /var/mail/user with thunderbird cccc Debian 4 09-11-2006 08:53 AM
HOWTO read mail from a file remotely plisken Linux - General 2 06-26-2006 06:14 PM
Mutt and IMAP new mail/mark read mail checks(plzzz help) rmanocha Linux - Software 0 09-15-2004 03:05 PM
Exists a mail-client for Fedora, that can read local mail file without deleting? mxn Linux - Software 1 07-10-2004 01:53 PM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration