{"id":60,"date":"2008-11-06T11:29:26","date_gmt":"2008-11-06T11:29:26","guid":{"rendered":"http:\/\/blog.boogly.net\/?p=60"},"modified":"2008-11-06T11:29:26","modified_gmt":"2008-11-06T11:29:26","slug":"configuring-a-catch-all-email-address-with-postfix-on-slicehost","status":"publish","type":"post","link":"http:\/\/otherchin.com\/blog\/2008\/11\/configuring-a-catch-all-email-address-with-postfix-on-slicehost\/","title":{"rendered":"Configuring a catch-all email address with Postfix on Slicehost"},"content":{"rendered":"<p>This post walks you through how to create a catch-all email for any emails sent to your domain that don&#8217;t resolve to an actual email account. \u00a0This is handy when people type your name wrong or think that there&#8217;s a webmaster@domain.com when that account really doesn&#8217;t exist. \u00a0Most of the tutorials I found have you modify the \/etc\/postfix\/virtual file. \u00a0If you set up your slice as the <a href=\"http:\/\/articles.slicehost.com\/email\">articles<\/a> showed you, you probably don&#8217;t have this file. \u00a0Here&#8217;s how to do it:<\/p>\n<p>1. Create an email account for the email that you want all stray emails to go to. \u00a0If you already have the account created, you can ignore this step.<br \/>\n2. Run &#8220;mysql -u root -p&#8221; to go to the MySQL console. \u00a0You&#8217;ll be prompted for your root MySQL password.<br \/>\n3. Type &#8220;USE mail;&#8221; to use the mail database.<br \/>\n4. Type &#8220;INSERT into `forwards` (`source`, `destination`) VALUES (&#8216;@domain.com&#8217;, &#8216;sendhere@domain.com<a href=\"mailto:jon@skillcapture.com\">&#8216;<\/a>);&#8221; to add an entry to the table saying that all emails sent to domain.com that don&#8217;t resolve to an account get forwarded to sendhere@domain.com. \u00a0Obviously, replace the appropriate values for your site.<br \/>\n5. Quit the MySQL console with &#8220;quit;&#8221; and then reload Postfix with &#8220;sudo \/etc\/init.d\/postfix reload&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post walks you through how to create a catch-all email for any emails sent to your domain that don&#8217;t resolve to an actual email account. \u00a0This is handy when people type your name wrong or think that there&#8217;s a webmaster@domain.com when that account really doesn&#8217;t exist. \u00a0Most of the tutorials I found have you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[32,41,54,115,135],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-development","tag-catch-all","tag-configure","tag-email","tag-postfix","tag-slicehost"],"_links":{"self":[{"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":0,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"wp:attachment":[{"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/otherchin.com\/blog\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}