In linux operating system,the send mail queue can be cleared by the following ways,
Method 1 : Deleting manually
delete /var/spool/mail/*.* files in this dir –> delete /var/mqueue/*.* files all mail will be deleted.
using mailq command, confirm whether all the mails are deleted or not from the queue
Method 2 : From command
using simple command sendmail -v -q in root prompt.
it will delete all pending mails from the queue. you can also confirm by running mailq command on command promt
If you are interested in clearing a mail queue for a particular domain or user mail,
use this command
sendmail -qS -v test.com
– deletes all mail from *@test.com
sendmail -qR -v hotmail.com
– deletes all mail from recepient of hotmail
If you want to the find the files or folders under a specific location or directory...
February 20, 20231) Login into your domain control panel, 2) search the Domain For which one you want...
February 20, 2023Often you will move or copy the files from different location.This can be done using ssh...
February 20, 20231.Log into the root via ssh, 2.open your favourite editor and edit vi /etc/nameserverips file...
February 20, 2023IF YOU FACE THE FOLLOWING ERROR MESSAGE WE NEED TO Re Build the apache configuration...
February 20, 2023In order to upgrade cPane;/WHM version from command line you need to execute the below mentioned command...
February 20, 2023© 2023, Free Hosting Tutorials All Rights Reserved
Hosting Powered by Square Brothers