#1  
Old 22nd August 2010, 07:11
atjensen11 atjensen11 is offline
Senior Member
 
Join Date: Dec 2007
Posts: 199
Thanks: 9
Thanked 6 Times in 6 Posts
Default Suspending Accounts

What is the best way to suspend email and website accounts through ISPConfig?

I have unchecked the "active" box for the email domain. However, it appears that users can still login to the webmail client which is an IMAP client. I have verified that no new emails are delivered to the domain with the "active" box unchecked.

For the websites, I created an htaccess file with a redirect to a parked page stating the domain is suspended.

What are others doing to obtain the same functionality?
Reply With Quote
Sponsored Links
  #2  
Old 22nd August 2010, 09:41
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Quote:
I have unchecked the "active" box for the email domain.
Thats the correct way.

Quote:
However, it appears that users can still login to the webmail client which is an IMAP client. I have verified that no new emails are delivered to the domain with the "active" box unchecked.
If you want to disable imap access too, then check the "enable imap" and "enable pop3" checkboxes in the mailbox settings.

Quote:
For the websites, I created an htaccess file with a redirect to a parked page stating the domain is suspended.
As alternative you can just disable the "active" checkbox there too. All visitors will then be redirected to the default vhost of the server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th January 2013, 07:16
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 118
Thanks: 0
Thanked 10 Times in 6 Posts
Default

Till, I used the API command sites_web_domain_set_status and set it to "inactive". I can also see that in the ISP control panel the site has an X button before it to indicate NOT active.

However, despite all that the domains' websites still open just fine as though is still active. Could this be a bug or am I missing out something?

Thanks, Joseph
Reply With Quote
  #4  
Old 21st January 2013, 09:58
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
 
Default

When a x is displayed, then the api worked. Maybe there is another issue that prevents that changes are written to disk. there is article in the ispconfig FAQ about debugging issues when the serversh script can not write changes to disk.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
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
Can I configure ISPConfig 2 with email accounts that are managed by the MySQL DB thaibinhtt Installation/Configuration 1 13th April 2009 12:59
Loading several mail accounts gabriel Installation/Configuration 4 4th October 2006 02:56
transfering accounts from sendmail adeptt Installation/Configuration 1 1st October 2006 12:55
Non /etc/passwd email accounts ezgoen General 1 3rd July 2006 09:52
how stop spammers from reading local accounts? rdells Server Operation 5 19th March 2006 00:53


All times are GMT +2. The time now is 08:41.


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