LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2003, 08:14 PM   #1
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
limit some email accounts-WAN


I'm using Postfix and UW-IMAP and I'm trying to find out if it is possible to limit certain users from gaining access to their email from outside of the LAN. Some users though need to be able to get their email from the WAN so I cant just shut everything off to the outside world. Most likely all of these users will be using webmail only.

Take for instance Tom, he needs to gain access to his email when he is in Europe and at the office (most likely using webmail), while Cindy doesn't travel and has no business downloading company email onto her home computer.

Thanks
 
Old 11-17-2003, 08:50 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
My twitch reaction is to take away Cindy's home computer. She obviously can't be trusted.

Back to the topic - you could probably build this into your webmail software as part of the authentication system. If you used something like LDAP you could probably add a record regarding WAN access (yes/no) on a per-user basis. This would mean that you wouldn't have to add an extra layer (ie another auth screen before regular login)

A lot of the above depends on which auth scheme you use and which webmail server you're using.
 
Old 11-18-2003, 04:11 PM   #3
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
Webmail used would be squirrelmail. But the problem is the users would still be able to gain access though IMAP even if I could figure out a way to do this through the webmail program. Im guessing the only way to controll this would be through IMAP. Am I wrong here?

Thanks,
AD
 
Old 11-18-2003, 04:17 PM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Do you generally allow IMAP connections from outside or only via localhost (through squirrelmail)?
 
Old 11-20-2003, 09:45 AM   #5
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
Only local. Anything done Over the WAN I would like to be webmail. I guess what you are about to say is to block IMAP connections from comeing through the firewall, this should not effect webmail at all. But I still have the same problem of how to limit some users (not all users) from gaining access through their webmail account from over the WAN.

Thanks,
AD
 
Old 11-20-2003, 09:58 AM   #6
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
Im not sure if this will do it for me.
http://www.squirrelmail.org/plugin_view.php?id=106
Plugins - IP address and username restrictions
Looks like I can restrict per user and ip address. Not sure if this will work or not. I will give it a try.


Thanks
 
Old 11-22-2003, 03:04 PM   #7
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
Ok this works kind of. What I need is to specify the whole LAN IP range (192.168.36.1-192.168.36.255) and just not 1 IP address. Some of the users might need to move around to different computers on the LAN.

Thanks,
AD
 
  


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
Email client that support HTTP email accounts tumana Linux - Software 6 04-29-2005 08:26 PM
FreeS/Wan Vs. OpenS/Wan Vs. StrongS/Wan bkankur Linux - Security 1 03-01-2005 09:27 AM
email accounts crazy diamond General 2 10-13-2004 08:02 AM
how to limit email accounts size? zovres Linux - General 1 04-10-2003 09:51 PM
Email Accounts transfer hodfords Linux - General 0 10-15-2001 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:57 AM.

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