{"id":1082,"date":"2021-07-29T13:15:38","date_gmt":"2021-07-29T13:15:38","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=1082"},"modified":"2021-07-31T11:57:42","modified_gmt":"2021-07-31T11:57:42","slug":"1082","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/1082\/","title":{"rendered":"How to Copy outgoing emails from server to another email"},"content":{"rendered":"<p>How to copy the outgoing messages from the server to a different email address ?<\/p>\n<p>If you would like to copy all the emails sent to anything@yourdomain.com to your testing@gmail.com email address then you can do so by using the following steps<\/p>\n<p>1)\u00a0 By using <a href=\"https:\/\/ownwebservers.com\/web-hosting\/\">cPnael hosting<\/a> account, allow the System Filter File in Exim.<\/p>\n<p>Main &gt;&gt; Service Configuration &gt;&gt; Exim Configuration Editor<\/p>\n<p>System Filter File = \/etc\/cpanel_exim_system_filter<\/p>\n<p>OR You can also use:<\/p>\n<p>vi \/etc\/exim.conf<\/p>\n<p>system_filter=\/etc\/cpanel_exim_system_filter<\/p>\n<p>2) vi\/etc\/cpanel_exim_system_filter<\/p>\n<p>Then add the following code at the bottom of the file<\/p>\n<p>if $ header_from:contains \u201c@yourdomain.com\u201d<\/p>\n<p>then<\/p>\n<p>unseen deliver\u201dtesting@gmail.com\u201d<\/p>\n<p>endif<\/p>\n<p>Save the file<\/p>\n<p>3) Then restart the exim service<\/p>\n<p>\/etc\/init.d\/exim restart<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to copy the outgoing messages from the server to a different email address ? If you would like to copy all the emails sent to anything@yourdomain.com to your testing@gmail.com email address then you can do so by using the following steps 1)\u00a0 By using cPnael hosting account, allow the System Filter File in Exim. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,23],"tags":[],"class_list":["post-1082","post","type-post","status-publish","format-standard","hentry","category-email","category-tutorials"],"_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=1082"}],"version-history":[{"count":5,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1082\/revisions"}],"predecessor-version":[{"id":1129,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1082\/revisions\/1129"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=1082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=1082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=1082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}