{"id":5350,"date":"2020-01-29T22:59:49","date_gmt":"2020-01-29T17:29:49","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=5350"},"modified":"2020-01-30T12:56:22","modified_gmt":"2020-01-30T07:26:22","slug":"how-to-remove-the-entire-mail-queue-in-manual-way","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-remove-the-entire-mail-queue-in-manual-way\/","title":{"rendered":"HOW TO REMOVE THE ENTIRE MAIL QUEUE IN MANUAL WAY"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">HOW TO REMOVE THE ENTIRE MAIL QUEUE IN MANUAL WAY<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">DATE: 29\/01\/2019<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">Execution steps to remove the entire mail queue in a manual way.<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The manual way to remove the entire queue is as follows<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img fetchpriority=\"high\" decoding=\"async\" width=\"432\" height=\"392\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/01\/Exim-mail-queue.png\" alt=\"\" data-id=\"5376\" data-full-url=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/01\/Exim-mail-queue.png\" data-link=\"https:\/\/pheonixsolutions.com\/blog\/?attachment_id=5376\" class=\"wp-image-5376\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/01\/Exim-mail-queue.png 432w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/01\/Exim-mail-queue-300x272.png 300w\" sizes=\"(max-width: 432px) 100vw, 432px\" \/><figcaption class=\"blocks-gallery-item__caption\">Exim mail queue<\/figcaption><\/figure><\/li><\/ul><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 1: Change directory to spool<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Execute the following command line in your terminal<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># cd \/var\/spool<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2: Move the folder of Exim<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Execute the following command line in your terminal<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># mv exim exim.old<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step 3: Make directories for input, msglog and db<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Execute the following command line in your terminal<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># mkdir -p exim\/input<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># mkdir -p exim\/msglog<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># mkdir -p exim\/db<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step 4:  Provide Ownership as &#8216;mail&#8217;<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Execute the following command line in your terminal<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># chown -R mail:mail exim<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Step 5: Restart EXIM <\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">see the below commands to start the Exim server in Linux.<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For&nbsp;<code>SysVinit<\/code>&nbsp;Systems<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># service exim start<br>or<br># \/etc\/init.d\/exim start<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For&nbsp;<code>systemd<\/code>&nbsp;Systems<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl start exim<br>or<br># systemctl start exim.service<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, you have successfully removed the mail queue in your system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for using&nbsp;<a href=\"https:\/\/pheonixsolutions.com\/\">pheonix solutions<\/a>.<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HOW TO REMOVE THE ENTIRE MAIL QUEUE IN MANUAL WAY DATE: 29\/01\/2019 Execution steps to remove the entire mail queue [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019],"tags":[747,746],"class_list":["post-5350","post","type-post","status-publish","format-standard","hentry","category-cloud-aws","tag-manually-remove-mail-queue","tag-remove-mail-queue","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1oi","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5350"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5350\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}