Clean Old Accounts From Exim / CPanel
Nov 8, 2007We are having trouble with disk space on some of our shared hosting servers and we are wondering if anyone have a script to clean e-mails from exim not checked in the last 60 days ?
View 1 RepliesWe are having trouble with disk space on some of our shared hosting servers and we are wondering if anyone have a script to clean e-mails from exim not checked in the last 60 days ?
View 1 Replieshow to move all existing e-mail accounts including passwords, current e-mails on the server etc from one server to another (both running Exim)? No control panel.
View 1 Replies View RelatedHow do you go about figuring out what to remove?
Example(groups):
Installed Groups:
Administration Tools
Base
Development Tools
Dial-up Networking Support
Editors
Input Methods
Legacy Fonts
Mail Server
MySQL Database
Network Servers
Printing Support
System Tools
Text-based Internet
Web Server
I'm sure its safe to remove printing, dial up, fonts, editors?, and web server(installed nginx).
but when I list individual RPMs i have over a few 100 to go through. anyone know of a few documents to help my research go faster?
I have some problems with /tmp:
When /tmp is more 20-50% clean out /tmp directory :
rm -f /tmp/sess_*
rm -f /tmp/*.wrk
it cleans tmp folder, but size folder still big and 50% . I fix it :
Run the following commands :
/bin/umount -l /tmp
/bin/umount -l /var/tmp
/bin/rm -fv /usr/tmpDSK
/scripts/securetmp
and it's OK.
The partitions remount only helps to fix it. Is it problem the file system ext3 ? Is there a wey yet to fix /tmp ?
FC6
cPanel
tmpfs ext3=2 Gb.
In APF I can download deny_hosts.rules and delete all the IP there but how about iptalbes?
I tried to find the file that store the IP but I couldn't find it.
I flushed the iptalbes but when I restart it all the ip come back.
Code:
iptables --flush
and I also tried
Code:
[url]
Where is the ip stored at iptalbes?
my whm Trojan scanner found 23 possible Trojans.
how can i clean my server?
I think it's due time to clean up one of my server's. It's very time consuming to sit and try to go through the daily and weekly backup folders or the reseller center of WHM and compare accounts so that I know which backups stay and which backups go.
Whats the best way to clean up all those old backups? Would it be possible to just delete everything in them and then do something like copy the /home/ folder which has all active accounts over into the backup? Or just let the daily backup do it's thing?
What is the best way to clean a hacked site?
All of the pages have iframe injection and my only backup was made after the attack.
I have hundreds of pages, do I have to edit them all manually?
I've got Centos 4 and I'm wondering what's the best way to cleanup my /boot partition?
Tried to do a yum update tonight and it included kernel, amongst other updates that belonged there so it stopped. I've googled around for commands to run and whatnot, but no go... or I just can't find it... if I had to clean it up I have an idea already about what to do, but I want to ask for advice first to see if there's an easier way.
so, how do people here clean up that partition?
By default,when domain is created by default it redirect all unrouted mail to default mail.And since i didnt notice that on time,now there is 100k mails.How do i delete that instantly?
View 7 Replies View Relatedone of my customers, he gets a lot of spam emails. So i tell him to enable SpamAssassin.
He also tell me if i can clean the his users inboxs (20000+ emails). Not to delete all as they have emails that they need.
The 20000+ emails are before he enable SpamAssassin.
I need something to scans emails inboxs and move the spams to another folder.
Is possible to scan emails folders with spamassassin
Is there a command to clean up my Memory in Linux?
I use Plesk 8, Linux
When i execute "free -m" command it shows me:
total used free shared buffers cached
Mem: 1006 959 47 0 136 567
-/+ buffers/cache: 254 752
Swap: 4095 0 4095
Version:
Command: free -V
Result: procps version 3.2.3
I'm just curious, when getting IPs with a VPS or Dedicated server, is there any steps to take to make sure the IPs were used by a previous customer to spam or in other way get them blacklisted by Yahoo, AOL, Gmail, etc.?
View 6 Replies View Relatedhow I can install GCC on a clean slackware 10.2 server. It doesnt have any cc compiler, so am not able to compile gcc. Are there any binaries of c compilers for slackware?
View 9 Replies View RelatedHow do i format a secondary drive in Ubuntu? I want to get the drive ready for RAID so it must be clean.
View 2 Replies View RelatedHow do i can perform
- Clean up unwanted files from /tmp
- Check and clean the mail queue
- Check /proc for hidden or unwanted processes
I will be thanking the person who can give in details how to perform each point in vps server and what's the steps or commands i should follow .
I recently purchased a dedicated server from a company I found on these forums. I have been very happy with the company, but the 2 IP's I have with the server are blacklisted in many places. I have been systematically trying to clean the address, but am starting to think that it may be a losing battle.
My ISP has offered
I have assigned to your account the following ip:
ip:216.144.227.125
sm:255.255.255.240
You can bind Exim to a secondary IP using the steps below:
a. Login to the server as root using SSH and open the file /etc/exim.conf in
your favorite Unix text editor.
b. Locate the section of the file that contains the following:
remote_smtp:
driver = smtp
c. Replace this section with the following modified version:
remote_smtp:
driver = smtp
interface = 216.144.227.125
d. Restart Exim
I don't know anything about this. Can someone please tell me if this is the best route. I don't want this to create any other issues for my email, like causing reverse DNS issues. If this will totally solve my problem, fine. If not, shouldn't I demand to have clean IP's assigned to my server, especially since the service is advertised as such?
my IP's 72.11.145.112 72.11.145.113
Transfer accounts to new server - unlimited quota in all accounts.
I trying
Code:
quotaoff -av
quotaon -av
/scripts/updatenow
/scripts/initquotas
/scripts/fixquotas
Code:
[root@serwer /]# /scripts/updatenow
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Running updatenow manually may cause /scripts to become
out of sync with the cPanel installation. This can cause
a variety of problems.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Code:
[root@serwer /]# /scripts/initquotas
Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds!
Broadcast message from root (Tue Jul 17 19:47:41 2007):
Warning! The system is about to perform quota maintenance. All users will be
logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may
inadvertantly disable your account.
jailshell: no process killed
Quotas are now on
Code:
[root@serwer /]# /scripts/fixquotas
Installing Default Quota Databases......Done
Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds!
Broadcast message from root (Tue Jul 17 19:49:17 2007):
Warning! The system is about to perform quota maintenance. All users will be
logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may
inadvertantly disable your account.
No filesystems with quota detected.
Resetting quota for adamkaro to 1024 M
No filesystems with quota detected.
Resetting quota for adammore to 1024 M
No filesystems with quota detected.
Resetting quota for adamna to 1536 M
No filesystems with quota detected.
Resetting quota for adasmp3 to 1024 M
We are setting up 5 instances of Windows 2003 server on all the same server hardware. I want to spend the time setting up 1 instance, so installing windows updates, drivers, settings, configuration, then have the ability to mirror/image that perfect setup 4 other times.
View 2 Replies View Relatedhow to enable clean url (mod_rewrite) with Plesk and Website with Drupal 7 ?
View 1 Replies View RelatedMy server is a debian 7 64 bits with plesk 12 last update.
A customer installed drupal 7.4 from plesk panel successful. However from Drupal/Configuration admin panel can not enable "Clean url". Clean test url failed too:
"The clean URL test failed"
.htaccess was ok .
I tried set domain vhost.con with (https://www.drupal.org/getting-started/clean-urls#enabling-7):
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^ index.php [L]
</IfModule>
But it not worked (IApache have module rewrite loaded.)
I think maybe issue y for nginx. But I don't know how set this -> [URL] .... in nginx.conf of domain in plesk.
How to set clean url of Drupal in Plesk 12?
I have noticed that a customer's emails are banned by certain RBL/antispam filters even though they are sent using SMTP-Authentication through a non-banned SMTP server.
It seems that its ISP IP is blacklisted..... Is this normal?
I have a fully working clean installation of Plesk 12 + updates (CentOS 6.5 x64). Previous installation was a test and was working just fine with the license file.Today I did a clean install. When I tried to restore my original key file (Parallels Plesk Panel 10.x/11.x and Later 100 Domains w/1 yr SUS) I get the following error:
Code:
ERROR: bad arguments (key_upload.php:76)
As result I'm not able to create domains and start using the server/panel.
How do you get Exim to rewrite/remove
Received: from ip.isp.com ([123.123.123.123])
by mx.myhost.net with esmtpa (Exim 4.69)
I'm trying to avoid the error
Received-SPF: softfail (google.com: domain of transitioning me@myhost.net does not designate 123.123.123.123 as permitted sender) client-ip=123.123.123.123;
Basically, any email thats sent through myhost.net should look like it was sent directly.
i have a dedicated server. Centos 5.3 /Cpanel
2 reseller accounts on it: acc1 and acc2.
acc1 has ns1.domain.tld and ns2.domain.tl nameservers set up
acc2 has ns3.domain.tld and ns4.domain.tl nameservers set up
now i want to move an account (customer.tld) from acc2 to acc1 without downtime.
how can i do this provided i can not have customer.tld both on acc1 and acc2 on the same server?
here's what i did:
1. changed customer.tld nameservers to have ns1.domain.tld, ns2.domain.tld, ns3.domain.tld, ns4.domain.tld then waited for 48 hours for the changes to propagate
2. changed the customer.tld owner in WHM from acc2 to acc1
3. changed the cpanel package from acc2_package ti acc1_package
4. changed the IP in WHM for the account from ns3 IP to ns1 IP
5. changed the DNS entries in WHM ns3 changed to ns1 on all instances found there
but i still have a downtime period now. everything looks fine in httpd.conf thou
When you move accounts from one WHM/CPANEL on one VPS to anoter CPANEL with another VPS, will it transfer the whole thing including MySQL as well?
View 3 Replies View RelatedOn my cpanel server, the main account catch-all is full of crap emails. So many that when I try to log into it with horde/squirrel it just times out. How can I clear the mailbox out? I tried connecting too it from outlook express and it connects but doesnt download any of the emails. This is the main email account that cpanel automatically creates for the account.
View 6 Replies View RelatedMy server is having a big problem now.
It started with very high server load
After that I went to the datacenter to reboot the server, it then told me they were few errors 'touch' some files in /var/ giving message "System file read only" etc..
Then i rebooted the server again and again not knowing what to do and it logged me into single mode user and scan for me.
Right now. I believe my hard disk had crashed or my system file is just a big mess error. I couldn't get the server to online.
Right now. I am planning to mount my sdb2 (secondary hard drive) and tar (backup) EVERY ACCOUNTS (including email + sql) into my secondary drive
What command should I use to do that?
What is the most easy way to move my accounts to my new VPS? Both have cPanel.
View 6 Replies View RelatedI am moving my accounts soon from my VPS which I have root access to and was wondering if anyone could tell me what I need to do, to the DNS.
As last time I did this I had to edit the DNS Zone, by editting one of the following: refresh , retry , expire , minimum ttl but can not remember which one or to what.
Then I changed the IP address to the new server.