{"id":3587,"date":"2013-07-17T21:22:54","date_gmt":"2013-07-17T18:22:54","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=3587"},"modified":"2021-12-24T09:24:32","modified_gmt":"2021-12-24T07:24:32","slug":"exim-%d0%ba%d0%be%d0%bf%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5-%d0%bf%d0%be%d1%87%d1%82%d1%8b","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=3587","title":{"rendered":"[exim] \u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0447\u0442\u044b"},"content":{"rendered":"<p><strong><span style=\"color: #ff0000;\">\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u0447\u0442\u044b (\u0432\u0445\u043e\u0434\u044f\u0449\u0430\u044f+\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0430\u044f)<\/span><\/strong><\/p>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u0438 <strong>begin routers<\/strong> \u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0435\u0440\u0432\u044b\u043c (\u0438\u043b\u0438 \u0434\u043e <strong>dnslookup:<\/strong>)<\/p>\n<p><code>copy_mail:<br \/>\ndriver = redirect<br \/>\nunseen<br \/>\ndomains = *<br \/>\ndata = copy@domain.com<\/code><\/p>\n<p><!--more--><\/p>\n<p><strong><span style=\"color: #ff0000;\">\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u043f\u043e\u0447\u0442\u044b \u044e\u0437\u0435\u0440\u0430<\/span><\/strong><\/p>\n<p>\u0412\u0441\u044f \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0430\u044f \u043f\u043e\u0447\u0442\u0430 <strong>user@domain.com<\/strong> \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 <strong>copy@domain.com<\/strong><\/p>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u0438 <strong>begin routers<\/strong> \u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0435\u0440\u0432\u044b\u043c (\u0438\u043b\u0438 \u0434\u043e <strong>dnslookup:<\/strong>)<\/p>\n<p><code>message_out_copy_user_domain_com:<br \/>\ndriver = redirect<br \/>\nunseen<br \/>\nsenders = user@domain.com<br \/>\ndata = copy@domain.com<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0447\u0442\u0443 \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0438\u043b\u0438 \u0434\u043e\u043c\u0435\u043d\u043e\u0432, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e:<\/p>\n<p><code>senders = *@domain1.com : *@domain2.com<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c<\/span><\/strong><\/p>\n<p>\u0412\u0441\u0435 \u043f\u0438\u0441\u044c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043e\u0442<strong> user@domain.com<\/strong> \u043d\u0430 \u044f\u0449\u0438\u043a <strong>otheruser@mydomain2.com<\/strong> \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043d\u0430 \u044f\u0449\u0438\u043a <strong>copy@mydomain2.com<\/strong><\/p>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u0438 <strong>begin routers<\/strong> \u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0435\u0440\u0432\u044b\u043c (\u0438\u043b\u0438 \u0434\u043e <strong>dnslookup:<\/strong>)<\/p>\n<p><code>mailcopy:<br \/>\ndriver = redirect<br \/>\ndomains = +local_domains<br \/>\nlocal_parts = otheruser<br \/>\nsenders = user@domain.com<br \/>\ndata = copy@mydomain2.com<br \/>\nunseen<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c &#8211; 2<\/span><\/strong><\/p>\n<p>\u0412\u0441\u0435 \u043f\u0438\u0441\u044c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043d\u0430 \u0438\u043b\u0438 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u044f\u0449\u0438\u043a\u043e\u0432<strong> user1@mydomain, user2@mydomain, user3@mydomain<\/strong> \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 <strong>copy@mydomain<\/strong> \u0438 <strong>copy2@mydomain<\/strong><\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0444\u0438\u043b\u044c\u0442\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0442\u0430\u043a:<\/p>\n<p><code>system_filter = \/etc\/mail\/exim.filter<\/code><\/p>\n<p>\u0410 \u0432 \u0444\u0430\u0439\u043b <strong>\/etc\/mail\/exim.filte<\/strong>r \u043f\u0438\u0448\u0435\u043c \u0442\u0430\u043a\u043e\u0435:<\/p>\n<pre>if $recipients: contains \"user1@mydomain\" or $sender_address: contains \"user1@mydomain\" or\n    $recipients: contains \"user2@mydomain\" or $sender_address: contains \"user2@mydomain\" or\n    $recipients: contains \"user3@mydomain\" or $sender_address: contains \"user3@mydomain\"\nthen\n    unseen deliver  copy@mydomain\n    unseen deliver  copy2@mydomain\nendif<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043b\u044e\u0431\u043e\u0439 \u043f\u043e\u0447\u0442\u044b (\u0432\u0445\u043e\u0434\u044f\u0449\u0430\u044f+\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0430\u044f) \u0412 \u0441\u0435\u043a\u0446\u0438\u0438 begin routers \u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0435\u0440\u0432\u044b\u043c (\u0438\u043b\u0438 \u0434\u043e dnslookup:) copy_mail: driver = redirect unseen domains = * data = copy@domain.com<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-3587","post","type-post","status-publish","format-standard","hentry","category-mail"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3587"}],"version-history":[{"count":7,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3587\/revisions"}],"predecessor-version":[{"id":5818,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3587\/revisions\/5818"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}