How To Delete All Mails On Server Older Than X Years

Apr 6, 2008

Is there a script for whm that deletes all mails older than XX years for all accounts on the server?

View 1 Replies


ADVERTISEMENT

How To Find And Delete Images 1 Year Older?

Nov 4, 2009

I run a photo image hosting. how do I find and delete photos that are 1 year older?

Can this be done by GUI?

Command?

Is there a tool for this?

View 9 Replies View Related

Delete Mails In Exim

Dec 30, 2007

I read this post:
[url]

I should delete older than 5 days emails, how can I do it? (on cpanel and exim)

View 5 Replies View Related

How Can I Delete All The Rabbish Mails

Mar 9, 2007

one of my domainname has got too many crap emails. i want to delete all emails under that domain name..
emails like

Quote:

ur/1147413032.H680181P13997.myserver.***.com:2,
/home/***/mail/cur/1146844476.092499.mbox:2,
/home/***/mail/cur/1156427256.H96385P5958.myserver.***.com:2,
/home/***/mail/cur/1155811341

im on cpanel + centos how can i delete on ssh or whatever...

View 1 Replies View Related

Can I Delete Some Of My Mails Thro' SSH

Sep 10, 2007

I have suddenly found myself in a really terrible situation ... I have just noticed that I am not receiving mails for sometime, and I tested that I can't send any mail as well ...

On some further search, I found that that is probably because of the huge number of emails present in my account .. I never cared before as I had set unlimited space in the set up, means, it could theoritically use all my server spaces.

Now, with 20600 mails (of course 99% of them are probably spams) I am totally hanged, and I tried to delete, and found that I can't even delete my mails.

The solution is probably to delete mails using SSH, to delete a few thousands starting from the last (earliest) or even better, to delete those marked as {Definitely Spam}.

View 2 Replies View Related

Delete Certain Mails Form Exim Queue

Jan 26, 2008

can I delete certain emails from mail queue manager in SSH?

for example we have many emails for trying to send to email@email.com and I would like delete this emails.

View 11 Replies View Related

How Do I Setup Billing Cycle For 2 Years And 3 Years Using Auto Pilot

Sep 23, 2009

I see it only gives me the option for monthly, quartly, semi-annually, and annually, what if i want the billing cycle to be 2 years and 3 years?

View 6 Replies View Related

Deleting Files Older Than 30 Days

Jan 31, 2008

On a Red Hat server, how can I delete files in a specific directory that are older than 30 days?

View 7 Replies View Related

[Powervps] Older VPSs Are Better Then Newest

Aug 7, 2007

what's going inside my provider Powervps/Defender hosting, they are offering now 25% OFF of new customers + triply bandwidth.

Curent customers are not allowod to get this offer, until they order a new VPS and cancel the older.

I'm asking, because i feel, it's samething, why they don't go upgarading the account throughly with keeping IPs and data..? why do old customers need to cancel the old VPS then they go get a new VPS..?

are Old VPSs powerfully then the newest..? any informations...?

View 6 Replies View Related

Cron/ssh To Remove Folders Older Than X Days

Feb 27, 2009

I'm trying to write a cron/ssh to remove recursive folders in a "data" folder that is older than X days.

I've been able to remove files, but not folders.

This is the code I have so far, but if someone can point out how to remove folders older than X days, that'd be great ........

View 4 Replies View Related

Deleting Spam Older Than X Days Need A Simpler Solution

Jan 21, 2009

I have a Bash script that deletes Spam from all users .Spam mailboxes that is older than X number of days

Currently I just list the paths to each mailbox i.e.

/var/vmail/Domain1.com/Mailbox1/.Spam/* -type f -mtime +5 -exec rm {} ;
/var/vmail/Domain1.com/Mailbox2/.Spam/* -type f -mtime +5 -exec rm {} ;
/var/vmail/Domain2.com/Mailbox1/.Spam/* -type f -mtime +5 -exec rm {} ;
/var/vmail/Domain2.com/Mailbox2/.Spam/* -type f -mtime +5 -exec rm {} ;

This is becoming unmanageable as the number of mailboxes grows I have to add each to my script

I tried putting wildcards in i.e.

/var/vmail/*/*/.Spam but this does not work

Is there a way to do this? Maybe running some kind of command to create an array of paths then looping through them?

View 5 Replies View Related

Cron Job That Deletes Backup Files Older Than 5 Days

May 31, 2009

This is on a RHEL 4 Box.

I want to create a cron job that deletes backup files that are older than 5 days. I have created a shell script (/usr/local/src/runjob.sh) that runs successfully from the SSH command line:

Code:
#pwd
/usr/local/src
#./runjob.sh
Here is the script:

Code:
#!/bin/sh
#

#
find /usr/local/apache/sites/*/BACKUPS/ -maxdepth 1 -atime +5 -iname 'test*.txt' -exec rm {} ;
Script has 777 permissions and is owned by root.

I have the following entry in crontab:

Code:
10 12 * * * /bin/sh /usr/local/src/runjob.sh >/dev/null 2>&1

As shown in the cron log, the job does run, but it does not delete the files. And there are files older than 5 days in the directory that meet the find criteria.

View 12 Replies View Related

Plesk 11.x / Windows :: Install Older WordPress Version?

Nov 4, 2013

how to install older version of WordPress - version 3.7 has just come out and it is the only version I can install via the Plesk panel but unfortunately half of the themes out there only support up to 3.6

View 6 Replies View Related

Delete Everything On Server Before Cancelling

Mar 21, 2008

I am currently transferring from a VPS to a dedicated server.

After you have made the transition, do you delete everything on your previous server? Or can I expect that everything be deleted anyway when my subscription runs out?

I bring this up because there sometimes is sensitive data stored there (ie. databases with personal info) and I'm wondering how much I should delete. Obviously I'll get rid of the DBs, but what about essential stuff like the operating system?

View 5 Replies View Related

How Do I Delete All Data Off Linux Server

Dec 16, 2008

Just finished migrating server providers and our old servers are being canceled soon. Does anyone know how to delete all log data or any other cached files for security reasons? Is there a command in SSH that can wipe it clean? Without damaging anything of course.

Servers are:
Linux
WebHostManager

View 12 Replies View Related

Can't Delete Files From CPanel Server

May 11, 2007

I've been using CPanel for a few years now and I've encountered an error that I have no clue how to fix it. Basically the files have been with me for the last two or three years and I've changed them from server to server. I'd say these files have been through about four or five servers. The funny thing is I can't delete any of these files. The files are in a folder under public_html and I can't delete the folder or any of the files or folders inside of that folder. I've tried through FTP and through CPanel.

The FTP error I get (I'm using WS_FTP Pro) is:

# transferred 4277 bytes in 0.063 seconds, 534.625 Kbps ( 66.828 Kbps), transfer succeeded.
226-Options: -a -l
226 58

The CPanel error I get (through File Manager) is:

[a fatal error or timeout occurred while processing this directive]

and under the trash can in File Manager:

Unable to change directory to /home/mydirectory/.trash! You do not seem to have access permissions! (System Error: Permission denied)

I even CHMODed all of the files to 777. I don't know how to get rid of these old files, how do I do it? I also have root to the server if that helps.

View 3 Replies View Related

Delete Access And Error Logs On Server

Jun 28, 2008

After a full year of operation, I think I need to delete some log files. What types of files can I safely delete (and is deletion the best option, i.e. will the files be regenerated from zero length?)

For example, my server's error_log file is 193 Mb and my access_log file is 14 Mb. Can I "rm" them both?

Are there any other such files I can safely delete that occupy space on the server?

View 6 Replies View Related

I Can't Send Any Mails From My Server

May 13, 2007

i want to know why i can't send any mails from my server

here is the log in exim when i sent this messages

Code:
2007-05-13 16:28:12 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1HnLbw-0000J0-DH +++ 1HnLbw-0000J0-DH not completed +++ 2007-05-13 16:28:12 1HnLbw-0000J0-DH <= <> R=1HnLbw-0000Iy-6x U=mailnull P=local S=1785 T="Mail delivery failed: returning message to sender" 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checksa_deliver}{$domain}{$local_part}{$received_protocol}}" for virtual_sa_user router: Undefined subroutine &main::checksa_deliver called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{check_deliver_spam}{$domain}{$local_part}}" for virtual_user_spam router: Undefined subroutine &main::check_deliver_spam called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{check_deliver}{$domain}{$local_part}}" for virtual_user router: Undefined subroutine &main::check_deliver called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checkusersa}{$local_part}{$received_protocol}}" for sa_localuser router: Undefined subroutine &main::checkusersa called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{hasfilterfile}{$local_part}}" for central_user_filter router: Undefined subroutine &main::hasfilterfile called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checkspam}}" for lookuphost router: Undefined subroutine &main::checkspam called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH failed to expand condition "${perl{checkspam}}" for literal router: Undefined subroutine &main::checkspam called. 2007-05-13 16:28:12 1HnLbw-0000J0-DH ** assassin01010@hotmail.com R=fail_remote_domains: unrouteable mail domain "hotmail.com" 2007-05-13 16:28:12 1HnLbw-0000J0-DH Frozen (delivery error message) 2007-05-13 16:37:31 1HnLbw-0000J0-DH Unfrozen by forced delivery 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{checksa_deliver}{$domain}{$local_part}{$received_protocol}}" for virtual_sa_user router: Undefined subroutine &main::checksa_deliver called. 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{check_deliver_spam}{$domain}{$local_part}}" for virtual_user_spam router: Undefined subroutine &main::check_deliver_spam called. 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called. 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{check_deliver}{$domain}{$local_part}}" for virtual_user router: Undefined subroutine &main::check_deliver called. 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:37:31 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:37:32 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:37:32 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:37:32 1HnLbw-0000J0-DH failed to expand condition "${perl{checkusersa}{$local_part}{$received_protocol}}" for sa_localuser router: Undefined subroutine &main::checkusersa called. 2007-05-13 16:37:32 1HnLbw-0000J0-DH failed to expand condition "${perl{hasfilterfile}{$local_part}}" for central_user_filter router: Undefined subroutine &main::hasfilterfile called. 2007-05-13 16:37:32 1HnLbw-0000J0-DH failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called. 2007-05-13 16:37:32 1HnLbw-0000J0-DH failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called. 2007-05-13 16:37:32 1HnLbw-0000J0-DH failed to expand condition "${perl{checkspam}}" for lookuphost router: Undefined subroutine &main::checkspam called. 2007-05-13 16:37:32 1HnLbw-0000J0-DH failed to expand condition "${perl{checkspam}}" for literal router: Undefined subroutine &main::checkspam called. 2007-05-13 16:37:32 1HnLbw-0000J0-DH ** assassin01010@hotmail.com R=fail_remote_domains: unrouteable mail domain "hotmail.com" 2007-05-13 16:37:32 1HnLbw-0000J0-DH Frozen (delivery error message)

My server is apavhe 1.3.37 and OS is FC5/Cpanel

View 7 Replies View Related

Plesk 11.x / Windows :: Delete Inactive MSSQL Remote Server

May 13, 2014

I have an account which used a remote MSSQL server which I have since deactivated, but before deactivating I forgot to remove the DB and Server from plesk.

So now I can't remove the remote MSSQL server from plesk as there is a DB associated with it, and I can't remove the DB because it obviously can't find the remote server! I'm now stuck in a loop!

How I can force remove the DB/User from plesk and then the remote server ? I'm now receiving errors whilst backing up the account, so needs to be done.

View 1 Replies View Related

Smtp Server In IIS, Mails Going To DROP Folder

May 12, 2008

I have created virtual SMTP server in IIS6 and while send e-mail from the same server using SMTP IP address, the e-mail do not reach recipient, all sent e-mails goes directlly to DROP folder and stay it that folder.

I have checked event viewer, no error, also used telnet to create and send e-mail, no error.

View 0 Replies View Related

After Use Remote Mail Server , Old Box Got Queued Up By Mails

Oct 24, 2007

We change mail server, so the old box is now dedicated for web hosting, but since web site and cp system still sending emails out, it seems that unix php cannot support remote smtp by setting php.ini, after we changed mail server, our email queue from 100 goes up to 1500 in a day with our outgoing emails. I have to deliver them manually one by one it seems, but still some of them cannot being deleveried.

New mail server has setup with ptr to mail.ourdomain.com. Can anyone got idea about it?

View 6 Replies View Related

How Do You Delete The Script / Important Database Data If You No Longer Rent A Server

Apr 24, 2009

I would like to know how to delete the script/important database data on a server in case of no longer rent it.

I will cancel a server in the coming month, but there are some critical password hardcode in my script. I am afraid it's not safe if only use a command liked "rm"

However, it's seem that it's not possible for me to format the HDD or run a fill zero software.

View 11 Replies View Related

Plesk 11.x / Windows :: Mail - Automatically Delete Downloaded Emails On Server?

May 15, 2013

Ho can I configure that in the mail accounts the mails are deleted after downloading with outlook?

View 2 Replies View Related

Pop3 To Receive The Mail,but Mails Still On Server, Like Gmail

Jul 9, 2009

i find gmail has a advantage,

when i use outlook to receive mails from it,

my mails are still on the server,

for general,when we use pop3 to receive the mails,

all the mails will be killed from server,

how can i save the mails on the server like gmail does?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved