Cron Job To Delete Mail Queue
Nov 17, 2008How can I set a command that it will delete all bounce and frozen emails every 12 hours?
How can I set a command that it will delete all bounce and frozen emails every 12 hours?
how to setup hourly cronjob to kill exim mail queues on the cpanel server?
I know this question may sounds a little tedious as I have tried to find an answer to this but still have no clue yet.
can it be done? because a dumb customer sent an email with like 500 recipients... and its stucked on the queue. So i wanna delete it... but when i go to Mail queue manager (i use WHM) i got this:
Message 1KRTsr-0006tc-F6 is locked
So what can i do? should i just sit and wait until its "unlocked"?
can i kill any process? i already tried restarting exim... but its still there... and btw the size of that message is of about 500 mb >.<
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.
I have been seeing so many exim mail queue on server. I would like to clear for every one hour throuh crontab entry. So that I have used following script to run.
file path : /root/eximQueue.sh
Script:
#!bin/bash
exim -bpu |awk '{print $3}'|xargs exim -Mrm
crontab entry:
0 * * * * /bin/bash /root/eximQueue.sh
but the crontab is running every 1 hour but no mails cleared. Please guide to work this.
how can i set up a cron that will run monthly and will delete the ips blocked by csf and those logged in iptables? its like every month i want to start clean with iptables
View 2 Replies View RelatedI want to setup a crontab to delete a file every 24 hours, I am not the best in crontab so was wondering if one of you could please give me the command I should use?
View 7 Replies View RelatedI wonder if is it possible to clean Queue for specific client on my box. For example: "if queue for specific email is too long clear it".
Got sendmail, spamassasin, spamdyke, plesk
onboard.
Getting alot of these on one domain, two email accounts (quota nearly 0 used out of 50MB)
2007-02-08 19:26:17 1HFKWm-0008Rw-0a => emily@sendingdomain.com <Emily@sendingdomain.com> F=<matthew@receivingdomain.com> P=<matthew@receivingdomain.com> R=lookuphost T=remote_smtp S=17049 H=smtp.sendingdomain.com [198.203.146.90]:25 X=TLSv1:AES256-SHA:256 CV=no DN="/emailAddress=postmaster@sendingdomain.com/C=US/ST=TEXAS/L=HOUSTON/O=CORPORATE SERVICES/OU=CORPORATE SERVICES/CN=USHOUXCF01.sendingdomain.COM" C="250 +OK message queued for delivery." QT=1s DT=1s
I notice that in my WHM Mail Queue Manager I get a few emails pointing to something that looks like this:
Quote:
Everyone looks like this,
1FnPkc-0000rR-VQ 516 22h Delete Deliver Now
root@host.mydomain.com
and also some emails going to root about backup etc.
I don't have any email addresses set in the "Change System Mail Preferences" options, I left it blank. Should I set a valid email address or is there any way to stop these emails being sent in the first place?
I get an alert that The exim delivery queue size currently has 3000 emails in it waiting to be processed.
View 5 Replies View RelatedRecently, I keep getting an email from my dedicated server company (godaddy, plesk 8.2 windows) that I've reached my daily limit of 1000 emails when I only send like 20-40 a day max.
So I want to take a look at whats going on, what emails have been sent/received and are still in queue?
Can can I access my mail queue using Plesk? And then how can I delete them?
where to check mail-queue in cPanel ??
my friend has an vps and he has some trouble sending mail to 1 particular host such as hotmail, all the remaining hosts the mails are sent, but only to tht particular mail host the mails are not sent regularly, some times they recv it some times they don't
checked webmail, couldn't see any failed/bounced mail mail msg, so not sure why this is happening, so I want to check the mail-queue for him to check the status of tht particular host, if I could try to sort them out directly with the mail server for him.
I had this spam problem on my server. Some perl scripts uploaded to /tmp folder were generating lots of spam email. We stopped sendmail, cleaned the server from all the bugs and erased all the messages in /var/spool/mqueue. Yet when I start sendmail again I begin receiving lots of autoresponders and returned emails. Where are those incoming mails located? In which queue?
View 3 Replies View RelatedMy VPS load high because of much mails in mail queue. And when I mails it gone to normal. Is there any script which delete mails in queue in every hour or any other solution for this?
View 4 Replies View Related