{"id":10963,"date":"2022-11-20T14:02:45","date_gmt":"2022-11-20T19:02:45","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=10963"},"modified":"2022-11-20T14:02:45","modified_gmt":"2022-11-20T19:02:45","slug":"replying-to-a-sender-specific-email-address","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=10963","title":{"rendered":"Replying to a Sender Specific Email Address"},"content":{"rendered":"<p>Sebastian Schulze has an <a href=\"https:\/\/bascht.com\/tech\/2022\/11\/09\/letting-mu4e-reply-from-a-catchall-address\/\">interesting post<\/a> on handling email <code>To<\/code> and <code>From<\/code> addresses. His procedure when supplying an Email address to, say, a Website such as <code>some-site.com<\/code> is to specify <code>some-site.com@his-domain.com<\/code> where <code>his-domain.com<\/code> is his domain. That allows him to apply appropriate filters and discover the source of spam.<\/p>\n<p>In order for this to work, he needs two things:<\/p>\n<ol class=\"org-ol\">\n<li>His email provider must pass all email to him regardless of the user name.<\/li>\n<li>He has to set the <code>From<\/code> address on any replies to <code>some-site.com@his-domain.com<\/code>.<\/li>\n<\/ol>\n<p>The first item is generally doable if you have control of your domain, especially if you run your own email server. The second is a lot harder with almost every email client. Fortunately Schulze uses <code>mu4e<\/code> so it\u2019s relatively easy with a bit of Elisp.<\/p>\n<p>Actually, <code>mu4e<\/code> can almost handle this out-of-the-box. You can specify your email addresses and <code>mu4e<\/code> will respond with the appropriate <code>From<\/code> address. Schulze\u2019s situation is a little more complicated. You could do it with vanilla <code>mu4e<\/code> but you\u2019d have to constantly housekeep your <code>mu4e<\/code> configuration. Schulze\u2019s solution takes care of everything automatically.<\/p>\n<p>The Elisp required is minimal so it\u2019s an easy solution providing you have your own domain and are using <code>mu4e<\/code>. My own\u2014not as good\u2014solution is to add specific \u201cpossibly spam\u201d addresses to my mail server and use that for sites that are possible sources of spam. Schulze\u2019s solution is clearly superior and worth emulating if you can.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sebastian Schulze has an interesting post on handling email To and From addresses. His procedure when supplying an Email address to, say, a Website such as some-site.com is to specify some-site.com@his-domain.com where his-domain.com is his domain. That allows him to &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=10963\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-10963","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10963"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10963\/revisions"}],"predecessor-version":[{"id":10964,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10963\/revisions\/10964"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}