{"id":1107,"date":"2021-08-12T10:39:38","date_gmt":"2021-08-12T01:39:38","guid":{"rendered":"https:\/\/www.asfit.net\/blog\/kan\/?p=1107"},"modified":"2021-08-12T10:39:38","modified_gmt":"2021-08-12T01:39:38","slug":"dovecot-sieve-%e5%b0%8e%e5%85%a5","status":"publish","type":"post","link":"https:\/\/www.asfit.net\/blog\/kan\/?p=1107","title":{"rendered":"dovecot.sieve \u5c0e\u5165"},"content":{"rendered":"\n<p>&#8212; main.cf.20210809\t2021-02-01 10:31:14.735013440 +0900<\/p>\n\n\n\n<p>+++ main.cf\t2021-08-09 20:35:21.398639344 +0900<\/p>\n\n\n\n<p>@@ -473,6 +473,8 @@<\/p>\n\n\n\n<p>&nbsp;#<\/p>\n\n\n\n<p>&nbsp;#mailbox_command = \/usr\/bin\/procmail<\/p>\n\n\n\n<p>&nbsp;#mailbox_command = \/usr\/bin\/procmail -a &#8220;$EXTENSION&#8221;<\/p>\n\n\n\n<p>+#mailbox_command = \/usr\/lib\/dovecot\/dovecot-lda -f &#8220;$SENDER&#8221; -a &#8220;$RECIPIENT&#8221;<\/p>\n\n\n\n<p>+mailbox_command = \/usr\/lib\/dovecot\/deliver -f &#8220;$SENDER&#8221; -a &#8220;$RECIPIENT&#8221;<\/p>\n\n\n\n<p>&nbsp;# The mailbox_transport specifies the optional transport in master.cf<\/p>\n\n\n\n<p>\u00a0# to use after processing aliases and .forward files. This parameter<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>vi  .dovecot.sieve<\/p>\n\n\n\n<p>require &#8220;fileinto&#8221;;<\/p>\n\n\n\n<p>if header :contains [&#8220;X-Mailer&#8221;] &#8220;Microsoft Outlook&#8221; {<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; fileinto &#8220;SPAM&#8221;;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; stop;<\/p>\n\n\n\n<p>}<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212; main.cf.20210809 2021-02-01 10:31:14.735013440 +0900 +++ main.cf 2021-08-09 20:35:21.398639344 +0900 @&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"gallery","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1107","post","type-post","status-publish","format-gallery","hentry","category-1","post_format-post-format-gallery"],"_links":{"self":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts\/1107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1107"}],"version-history":[{"count":1,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts\/1107\/revisions"}],"predecessor-version":[{"id":1108,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts\/1107\/revisions\/1108"}],"wp:attachment":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}