<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Microsoft Theme 2.00" content="Ice 011">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h5
        {mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h6
        {mso-style-priority:9;
        mso-style-link:"Heading 6 Char";
        margin-top:2.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#1F86FF;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#005DC9;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:bold;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading5Char
        {mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading6Char
        {mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:#44546A;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#44546A;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:315455184;
        mso-list-type:hybrid;
        mso-list-template-ids:-1372530966 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" background="cid:image002.gif@01CF60D2.0B03C9B0" lang="EN-US" link="#1F86FF" vlink="#005DC9">
<img src="cid:image002.gif@01CF60D2.0B03C9B0" v:src="cid:image002.gif@01CF60D2.0B03C9B0" v:shapes="_x0000_Mail" width="0" height="0" class="shape" style="display:none;width:0;height:0"><!--[if gte mso 9]><xml>
<v:background id="_x0000_s1025" o:bwmode="white" o:targetscreensize="1024,768">
<v:fill src="cid:image002.gif@01CF60D2.0B03C9B0" o:title="background_ice" type="frame" />
</v:background></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#44546A">You may disregard.&nbsp; I got it working.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">Only remaining issue is the wiki says &#8220;vm-mailto&#8221; can have multiple addresses using a comma separated list.&nbsp; Mine will only work with single email addresses.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">Any ideas? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:windowtext"> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b>On Behalf Of </b>Sean Devoy<br>
<b>Sent:</b> Friday, April 25, 2014 8:37 PM<br>
<b>To:</b> FreeSWITCH-users@lists.freeswitch.org<br>
<b>Subject:</b> [Freeswitch-users] voicemail to email question<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="color:#44546A">Hi All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">I have just in the last 2 days succeeded in getting FS to use SENDMAIL and send me my voicemails.&nbsp; However, I do mean ME and almost nobody else.&nbsp; It appears that my Microsoft Office 365 mailbox has NO restrictions
 on emails it will accept.&nbsp; Almost any spoofing is FINE.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">I think my underlying problem is the network and sendmail setup on my server. (FYI: I am windows guy so this is pretty arcane stuff to me).&nbsp; The email headers of the message I have received look BAD since the
 system name is &#8220;bizfocused.local&#8221; and the IP address reported is 127.0.0.1.&nbsp; Here is an excerpt:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">Received: from BY2PR01MB251.prod.exchangelabs.com (10.242.233.20) by<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">[SNIP]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">Received: from bizfocused.local (66.241.102.41) by<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">[SNIP]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">Received: (from root@localhost)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; by bizfocused.local (8.13.8/8.13.8/Submit) id s3Q0JHkO012279;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">From: root &lt;<a href="mailto:root@bizfocused.local">root@bizfocused.local</a>&gt;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">To: Undisclosed recipients:;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">Return-Path:
<a href="mailto:root@bizfocused.local">root@bizfocused.local</a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#44546A">Received-SPF: None (: bizfocused.local does not designate permitted sender hosts)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">So it would seem I have 4 options:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-bottom:12.0pt;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="color:#44546A"><span style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span style="color:#44546A">Properly configure eth0 and sendmail and add an SPF record to match.<br>
While this is the &#8220;proper&#8221; option, it will likely take several hours of googling and trials.<br>
It may in fact be that this is very simple and I am just not aware &#8211; I hope someone jumps in on this.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-bottom:12.0pt;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="color:#44546A"><span style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span style="color:#44546A">Maybe configure SENDMAIL to use my actual mail server?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-bottom:12.0pt;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="color:#44546A"><span style="mso-list:Ignore">3.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span style="color:#44546A">Create a shell script to translate the voicemail to wav and submit a curl job to my server for emailing.<br>
Creating the WAV file is the only unknown for me here.&nbsp; I have another script already curl&#8217;ing to my server which emails it out clean as a whistle.&nbsp; Anyone help with the tmp file to WAV file conversion?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="color:#44546A"><span style="mso-list:Ignore">4.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><![endif]><span style="color:#44546A">Configure some other mail client and Freeswitch for this task.&nbsp; (BOO HISS)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">So feel free to jump in with ideas.&nbsp; And as always THANK YOU.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">sean<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>