Some time you may need to disable a domain's email service only, e.g. you have some non-payment issue with a client and you want to secretly disable email only without suspending the account/site or for some purpose you want to let the site running and just to disable emails. I have ...
Some time you want to clear/delete/flush all messages in current sendmail queue. You may follow the instructions below for the purpose.
You will probably need to execute the following commands either as root or using the sudo command (depends on settings of your server). In some cases you may need to type the path to sendmail i.e. /usr/sbin/sendmail.
For security reasons your web host may have changed the default SMTP port 25 to some other port number. For such cases when you configure your mail client like outlook, eudora etc you will need to set SMTP port too, Following are the instructions for the different mail clients;