<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Thank you!  I appreciate the extra effort. <br><br><div><div style="margin: 0px 0px 8px;"><p ws="true" style="margin: 0px;"><span style="background-color: rgba(255, 255, 255, 0);"><strong data-type="var" data-name="name">Danita Zanre</strong><em data-type="var" data-name="title"></em><em data-type="var" data-name="company">, Move Out of the Office</em></span></p><p ws="true" style="margin: 0px;"><span style="background-color: rgba(255, 255, 255, 0);">I love my job, and you can too!<br>Tel: <a href="tel:(720)%20319-7530" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0">(720) 319-7530</a> - Caledonia Network Consulting<br></span></p><p ws="true" style="margin: 0px;"><span data-type="var" data-name="email" style="text-decoration: underline; background-color: rgba(255, 255, 255, 0);"><span data-type="var" data-name="phone">Tel: <a href="tel:(720)%20319-8240" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1/1">(720) 319-8240</a> - Move Out of the Office</span> <br></span></p><p ws="true" style="margin: 0px;"><span style="background-color: rgba(255, 255, 255, 0);"><span data-type="var" data-name="email" style="text-decoration: underline;"><a class="moz-txt-link-abbreviated" href="mailto:danita@caledonia.net">danita@caledonia.net</a> </span><span data-type="var" data-name="website">| <span style="text-decoration: underline;"><a class="moz-txt-link-abbreviated" href="http://www.moveoutoftheoffice.com/">www.moveoutoftheoffice.com</a></span></span></span></p></div><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);"><a href="http://www.facebook.com/moveoutoftheoffice"><img moz-do-not-send="true" alt="Facebook" src="https://s3.amazonaws.com/images.wisestamp.com/facebook.png" border="0" height="16" width="16" style="padding: 0px 0px 5px; vertical-align: middle;"></a> <a href="http://www.twitter.com/danitaz"><img moz-do-not-send="true" alt="Twitter" src="https://s3.amazonaws.com/images.wisestamp.com/twitter.png" border="0" height="16" width="16" style="padding: 0px 0px 5px; vertical-align: middle;"></a> <a href="http://www.linkedin.com/in/danitazanre"><img moz-do-not-send="true" alt="LinkedIn" src="https://s3.amazonaws.com/images.wisestamp.com/linkedin.png" border="0" height="16" width="16" style="padding: 0px 0px 5px; vertical-align: middle;"></a></span></font></div></div><div><br>On Jan 3, 2017, at 6:15 PM, Mark Sapiro <<a href="mailto:mark@msapiro.net">mark@msapiro.net</a>> wrote:<br><br></div><blockquote type="cite"><div><span>On 01/02/2017 05:05 PM, Mark Sapiro wrote:</span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>On second thought, the above sendmail command is probably not a good</span><br></blockquote><blockquote type="cite"><span>idea. The issue is that -t will send the message to all To: and Cc:</span><br></blockquote><blockquote type="cite"><span>recipients in the message headers. This can include addresses which are</span><br></blockquote><blockquote type="cite"><span>in other domains and which probably already received the message and may</span><br></blockquote><blockquote type="cite"><span>not even include the intended recipient of the quarantined message</span><br></blockquote><blockquote type="cite"><span>(e.g., a Bcc:).</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>It is better to do</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>sendmail -i <a href="mailto:user@example.com">user@example.com</a> < quarantined_message_file</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>where <a href="mailto:user@example.com">user@example.com</a> is the intended local recipient. Note that if the</span><br></blockquote><blockquote type="cite"><span>MTA is Postfix, the quarantined message will have a topmost Received:</span><br></blockquote><blockquote type="cite"><span>header of the form</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Received: from some server ...</span><br></blockquote><blockquote type="cite"><span>    by your server ...</span><br></blockquote><blockquote type="cite"><span>    for <<a href="mailto:user@example.com">user@example.com</a>> ...</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>that will expose the recipient address.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><span></span><br><span>On third thought, there will be issues with even the above because</span><br><span>Postfix will have put a Delivered-To: header in the message so</span><br><span>re-injecting it will result in it being rejected for a mail loop.</span><br><span></span><br><span>I wrote a little Python 3 script to address this. It is attached. You</span><br><span>can run it with the path to the saved message as the argument and it</span><br><span>will read and parse the message, look for " for <<a href="mailto:user@example.com">user@example.com</a>>;" in</span><br><span>the Received: headers, delete any Delivered-To: headers and pipe the</span><br><span>message to sendmail for <a href="mailto:user@example.com">user@example.com</a>.</span><br><span></span><br><span>If necessary, it could be fairly easily converted to Python 2.</span><br><span></span><br><span>-- </span><br><span>Mark Sapiro <<a href="mailto:mark@msapiro.net">mark@msapiro.net</a>>        The highway is for gamblers,</span><br><span>San Francisco Bay Area, California    better use your sense - B. Dylan</span><br><span></span><br><span></span><br><span></span><br><span>-- </span><br><span>This message has been scanned for viruses and</span><br><span>dangerous content by Iris MailScanner, and is</span><br><span>believed to be clean.</span><br><span></span><br></div></blockquote><blockquote type="cite"><div><resend.py.txt></div></blockquote><blockquote type="cite"><div><Part.002></div></blockquote></body></html>