Knowledge Base Home  l  Web Hosting  l  Softwares  l  WHM  l 

spamming through exim, Exim is down , /var drive is full
Category : Web Hosting

When ever  any junk mails in mail que due to spamming under  exim with whm. Due to heavy  mails in /var drive was full .

 

To resolve We can login to SSH and clear all mails by using following commands.

 

 

 

exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash

 

Again following command can be used

 

 

/etc/init.d/exim stop;

sleep 10;

killall -9 exim eximd

sleep 5;

 

#clean out the mail queue

find /var/spool/exim -mindepth 2 -type f -exec rm -rf {} \;

 

#clean out the mail db files

find /var/spool/exim/db -type f -exec rm -rf {} \;

 

#reset the eximstats database tables

echo “truncate table sends;” | mysql eximstats

echo “truncate table defers;” | mysql eximstats

echo “truncate table failures;” | mysql eximstats

echo “truncate table smtp;” | mysql eximstats

 

/etc/init.d/exim restart

 

 

After executing above commands everything was perfect.

 

By

Server Support - Adsin Technologies


Growing Business Circle™
Click here for more ....
      
     Category
 
Web Hosting  l   Softwares  l   WHM  l  
  Most Recent Articles

» Send the mail using the SMTP authentication through php

» This message is to inform you that the account xxxxxx has user id 0 (root privs)

» Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\INETPUB\VHOSTS

» call-time-pass-by-reference error after updating the php to php 5.4

» spamming through exim, Exim is down , /var drive is full

      Popular Articles

» Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\INETPUB\VHOSTS

» call-time-pass-by-reference error after updating the php to php 5.4

» spamming through exim, Exim is down , /var drive is full

» Free back up software for windows (Windows 2003 server, Windows Xp)

» How to create new email id under the HELM control panel – AdsinMedia Hosting

» How to configure the mail id in microsoft outlook express

» How to delete the mail from outgoing folder of Microsoft outlook

» SMTP error Codes

» How can I use the new server while I change the DNS server of a domain.

» Spamd spamassassin shutting down automatically



Copyright © 2014 Adsin Technologies. All rights reserved. Powered by business adsleaf