LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-26-2006, 10:57 AM   #1
foolsh
Member
 
Registered: Apr 2005
Location: IL
Distribution: kubuntu
Posts: 56

Rep: Reputation: 15
Q: ThunderBird as root for functioning Webmail Extention to access web based email


Heres the rub

I enjoy the Thunderbird email application it's aptitude as an email client coupled with the use of Extensions makes for an impressive experience.

I found this set of extensions while digg'n around a while ago,
http://webmail.mozdev.org/
,allowing the use of web based email hosts to be checked with Thunderbird
however unless Thunderbird is run as root it cannot access the localhost. This throw up and error message warning that it can not connect to localhost and about receiving "bad vibes", kinda funny.

the extensions are configured to access the localhost. As in,
http://webmail.mozdev.org/serversettings.html
,this is unfortunate for obvious reasons.

Does anyone now how to set permissions for Thunderbird to access just to the "localhost or localhostorts" so I don't give any email I check system wide privileges?
 
Old 12-27-2006, 05:54 PM   #2
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
actually, you can change the configuration of the plugins [ extentions ] to allow non root use of them, making thunderbird able to check webmail accounts without the root access.

if that doesn't work, then I wouldn't use thunderbird to check webmail, root account being online is a severe security risk and not something to even concider for checking webmail or browsing the internet.
 
Old 12-30-2006, 11:52 AM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Jaqui is right. It's a bad idea to use root online at all. Many say it's even bad to start X as root.

"bad vibes" is sort of a generic error that just means the webmail extensions are not configured properly or there is a problem connecting to the webmail server (yahoo, google, etc). Make sure you installed them in the correct order, webmail first then client(s), restarting Thunderbird after each. Then make sure your server settings are correct for the localhost and port number, then make sure any firewall is not blocking that port number. I recently discovered that, with Yahoo, there is an extra precaution regarding their new Beta version of webmail.

The forum linked to from the home page is full of information about causes for this error and solutions.
 
Old 12-30-2006, 01:04 PM   #4
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
I couldn't find an option to allow non-root access, but I found that setting the ports to higher ones worked for me. This is probably because Linux has built in restrictions on ports 1024 and below.

 
Old 12-31-2006, 10:32 AM   #5
foolsh
Member
 
Registered: Apr 2005
Location: IL
Distribution: kubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
Unhappy

I don't see any thing in the settings for root access either.
setting the ports higher then 1024 doesn't work for me. My firewall rules allow all out going traffic. It gives me the error "cannot connect to localhost: connection refused"

this has me stumped

Yes I know all to well the power of root that I am unworthy to behold.

I have hosed my system on a few occasions when I was first introduced to linux.
 
Old 12-31-2006, 06:21 PM   #6
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
Are you behind a router / hardware firewall?

If so, maybe you could disable your software firewall temporarily. If that does it, then you'll know that your firewall configuration is to blame.

Seems to me that when Thunderbird requests a connection to localhost, it would be seen as an incoming connection by the firewall.
 
Old 01-08-2007, 04:07 AM   #7
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Just a thought

I've seen the "Bad Vibes" and "Connection Refused" errors before. They were related to the server not being properly configured.

The extensions page lists the supported webmail servers. That's a bit of a misnomer, as the servers (MSN and Yahoo, for certain) require you have a premium account. They do not support e-mail client software with freebee accounts.

If you have a premium account, you must edit your account info and change you mail type to "POP".

Hope this helps!

Bill
 
Old 01-13-2007, 11:25 AM   #8
foolsh
Member
 
Registered: Apr 2005
Location: IL
Distribution: kubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
I don't think its the server configuration bill, cause as root I can access my email accounts, just not as user.
I have disabled my firewall to see but its not the case, and I even
set allowances for 127.0.0.1 and localhost (same thing I know) but still "connection refused"
I'm not behind a router either, I'm on the router box.

I think I'll just use something like the gotyahoo python script on a cron job to forward my email, every hour or so, to my isp's pop account for now.

Thanks for the help everyone I'll put this on the things to figure out later list
 
  


Reply



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
Thunderbird Webmail Extention Taigrr General 0 03-17-2006 03:38 PM
Recieve web-based email in CLI? PhoenixofMT Linux - Software 1 10-21-2004 03:22 PM
which web-based email interace kubicon Linux - Networking 2 02-01-2004 11:57 PM
Linux and Web Based Email rioch Linux - General 3 10-01-2003 09:52 PM
web based email thesnaggle Linux - Newbie 4 09-26-2003 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:11 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
Open Source Consulting | Domain Registration