{"id":24,"date":"2014-11-12T19:34:00","date_gmt":"2014-11-12T19:34:00","guid":{"rendered":"http:\/\/399@jodohost.com\/\/blog\/"},"modified":"2023-01-05T16:16:01","modified_gmt":"2023-01-05T16:16:01","slug":"how-to-discard-all-the-emails-for-non-existing-mailboxes-qmail-server","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2014\/11\/12\/how-to-discard-all-the-emails-for-non-existing-mailboxes-qmail-server\/","title":{"rendered":"How to discard all the emails for non-existing mailboxes (Qmail server)"},"content":{"rendered":"<p>1. Login onto the Qmail server.<\/p>\n<p>2. Create a catchall mailbox like catchall@<domain>.com<\/p>\n<p>3. Find out the domain directory with the command below-<br \/>[root@mail ~]# ~vpopmail\/bin\/vdominfo <domain>.com<\/p>\n<p>4. Edit the .qmail-default file as below:<br \/>[root@mail ~]# vi \/home\/vpopmail\/domains\/<domain>.com\/.qmail-default<br \/>===================================================================================<br \/>Replace the line-<br \/>| \/home\/vpopmail\/bin\/vdelivermail &#8221; bounce-no-mailbox<\/p>\n<p>With this line-<br \/>| \/home\/vpopmail\/bin\/vdelivermail &#8221; delete<br \/>===================================================================================<\/p>\n<p>5. Restart the qmail services<br \/>[root@mail ~]# \/etc\/init.d\/qmaild restart<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Login onto the Qmail server. 2. Create a catchall mailbox like catchall@.com 3. Find out the domain directory with the command below-[root@mail ~]# ~vpopmail\/bin\/vdominfo .com 4. Edit the .qmail-default file as below:[root@mail ~]# vi \/home\/vpopmail\/domains\/.com\/.qmail-default===================================================================================Replace the line-| \/home\/vpopmail\/bin\/vdelivermail &#8221; bounce-no-mailbox With this line-| \/home\/vpopmail\/bin\/vdelivermail &#8221; delete=================================================================================== 5. Restart the qmail services[root@mail ~]# \/etc\/init.d\/qmaild restart [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/24"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":1,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":318,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/24\/revisions\/318"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}