Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st April 2009, 10:21
ignasigarcia ignasigarcia is offline
Member
 
Join Date: May 2006
Posts: 39
Thanks: 5
Thanked 1 Time in 1 Post
Default Email Account: Disable IMAP only for remote access

Hi there. I'd like to have IMAP access disabled for some users thorugh ISPC3 control panel. However, we have squirrelmail installed in the same server for webmail access. Is there a way to allow universal access to the IMAP server in localhost and disable IMAP access when login remotely (i.e. from thunderbird, outlook)? If the answer is no, is there any workaround for accomplishing this?

Thanks in advance

Ignacio
Reply With Quote
Sponsored Links
  #2  
Old 21st April 2009, 13:49
tebokkel tebokkel is offline
Member
 
Join Date: Feb 2007
Location: The Netherlands
Posts: 96
Thanks: 0
Thanked 9 Times in 9 Posts
Default

The term "firewall" comes to mind..

Otherwise, set the binding IP-address from your IMAP-server to localhost or 127.0.0.1.

For Courier-IMAP that is, change/put:
ADDRESS=127.0.0.1

in your /etc/courier/imapd (and/or imapd-ssl).

Make sure your squirrelmail is connecting to 127.0.0.1, not to your external IP.

Why on earth you would want to limit users in this way, I wouldn't know.

Paul
Reply With Quote
  #3  
Old 21st April 2009, 16:17
ignasigarcia ignasigarcia is offline
Member
 
Join Date: May 2006
Posts: 39
Thanks: 5
Thanked 1 Time in 1 Post
Default

yes, that would work if I did not want any user to access through IMAP remotely. What I was talking about is not giving SOME users remote IMAP access, but still access with POP3 and WebMail.

Ignacio
Reply With Quote
  #4  
Old 21st April 2009, 16:41
tebokkel tebokkel is offline
Member
 
Join Date: Feb 2007
Location: The Netherlands
Posts: 96
Thanks: 0
Thanked 9 Times in 9 Posts
Default

Then you'll need PAM, I think. For example adding a file-module to the imapd PAM-stack/service, see
http://linux.die.net/man/8/pam_listfile

However, since you're probably using ISPC 3, which I haven't tried yet, it's very likely that the PAM-config for Courier authdaemon has changed from authpam to authmysql, so you need to daisychain the authdaemon modules (which is documented to be possible). In any case you'll still need to administer "something", "somewhere" for either your imap-users or your non-imap users.

Paul
Reply With Quote
The Following User Says Thank You to tebokkel For This Useful Post:
ignasigarcia (22nd April 2009)
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
remote user fails in creating email account since version 2.2.23 gauthier General 2 19th April 2008 19:16
new email account creates duplicate entries on virtusertable lyndros Installation/Configuration 2 25th January 2008 00:01
Courier IMAP Relay access denied sending unclecameron HOWTO-Related Questions 1 21st July 2007 19:00
New email accounts missing default imap folders james@thereidsonline.com Installation/Configuration 15 19th April 2007 13:48
Email access - all logins failed Taliesin Installation/Configuration 3 24th August 2006 01:57


All times are GMT +2. The time now is 20:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.