LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 10-26-2009, 04:22 AM   #1
ravis007
LQ Newbie
 
Registered: Sep 2009
Posts: 22

Rep: Reputation: 15
I want to restrict users for using POP3 or IMAP in Linux


Hi,
I am using CentOS 5.
I want to restrict users for using POP3 or IMAP.
It means I want to give some users only POP3 access, i.e. they can configure their account as pop3 only not imap.
In the same way, if I give some users only IMAP access, then they are not allowed to setup their mail account for POP3.
This happens in Exchange, but I want to make this in Linux.
what kind of configuration is needed to do this.
Can you please tell me the steps to get this.
Thank you in advance ...........
 
Old 10-26-2009, 07:15 AM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,113
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
Hi.

You have to give us the names of the software you are using first. For Example, I am using Dovecot and Virtualmin GPL control panel. Then we will se if anything can be done.
 
Old 10-26-2009, 08:22 AM   #3
ravis007
LQ Newbie
 
Registered: Sep 2009
Posts: 22

Original Poster
Rep: Reputation: 15
Hi,
Thanks for your reply.
Yes, I am using centOS 5 and dovecot.
So can you please tell me, what will be the configuration needed to do this.
Or any guide for this.
Thanks in advance.......
 
Old 10-27-2009, 05:10 AM   #4
ravis007
LQ Newbie
 
Registered: Sep 2009
Posts: 22

Original Poster
Rep: Reputation: 15
I think this will happen with the PAM configuration.

But I don't have any idea to make it work.

I have made pop file in /etc/pam.d directory which contains :

auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/pop_users onerr=fail

And also created /etc/pop_users file which contains user "ravi".

So now if I am going to configure this users POP3 account in outlook express, it works fine, it does not give any error like "permission denied" or "user is denied for POP3 access", etc

I expect like this.

Please suggest me if anything wrong above and guide me with the proper configuration scenario.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restrict the users in linux nthillaiarasu Linux - Distributions 2 12-18-2007 06:52 AM
courier imap can't auth. imap and pop3 adrianmak Linux - Software 1 12-11-2005 04:22 PM
Newbie Question - IMAP/POP3 Linux ajaye1971 Linux - Networking 2 09-06-2005 08:07 PM
central home mail server (fetching pop3 / delivering via IMAP) with linux ? thorax Linux - Networking 2 09-03-2004 08:57 AM
Redhat Linux 6.2 – Email Delivered to Server but POP3 and IMAP Mailboxes show empty. RCorbet Linux - Software 0 04-14-2003 09:26 AM


All times are GMT -5. The time now is 05:58 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration