{"id":1950,"date":"2010-12-27T19:35:00","date_gmt":"2010-12-27T19:35:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2010\/12\/27\/writing-procmail-rules-querying-return-path\/"},"modified":"2010-12-27T19:35:00","modified_gmt":"2010-12-27T19:35:00","slug":"writing-procmail-rules-querying-return-path","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2010\/12\/27\/writing-procmail-rules-querying-return-path\/","title":{"rendered":"writing procmail rules querying Return-Path"},"content":{"rendered":"<p>\t\t\t\tI prefer writing procmail rules querying <span>Return-Path<\/span> instead of <span>From<\/span>.<\/p>\n<p>The <span>Return-Path<\/span> header field gets faked rather rarely as opposed to the <span>From<\/span> header field, it&#8217;s far more often machine generated, that&#8217;s why I regard it more reliable.<\/p>\n<p>Today I found myself in a situation, where the <span>Return-Path<\/span> header field looked differently after my usual <span>fetchmail+procmail<\/span> execution chain. I didn&#8217;t recognize that from the beginning. I tried hard for a couple of hours matching the &#8220;original&#8221; <span>Return-Path<\/span>, but I did not succeed. Only after I recognized the difference and turned my interest towards the &#8220;new&#8221; <span>Return-Path<\/span>, I immediately succeeded creating another nice <span>procmail<\/span> rule for that message resp. for messages from that sender.<\/p>\n<p>I still cannot explain myself, why and how <span>Return-Path<\/span> gets changed, but now I know and respect it does.\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I prefer writing procmail rules querying Return-Path instead of From. The Return-Path header field gets faked rather rarely as opposed to the From header field, it&#8217;s far more often machine generated, that&#8217;s why I regard it more reliable. Today I found myself in a situation, where the Return-Path header field looked differently after my usual [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-1950","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-vs","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/1950","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=1950"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/1950\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=1950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=1950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=1950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}