<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">using <a
        href="http://wiki.freeswitch.org/wiki/Mod_voicemail#sSMTP_settings">sSMTP
      </a>which also replaces sendmail<br>
      <br>
      On 8/28/2012 10:55 AM, Michael Collins wrote:<br>
    </div>
    <blockquote
cite="mid:CAKzWOxVDyQaAYqAEniOGmCGRzoszJZH_j0c30J-omUJA8=MHkQ@mail.gmail.com"
      type="cite">What MTA are you using? I know that I've had much more
      success using Tony's sendmail replacement script.
      (src/scripts/perl/sendmail).<br>
      <br>
      -MC<br>
      <br>
      <div class="gmail_quote">On Mon, Aug 27, 2012 at 3:27 PM, Abaci <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:abaci64@gmail.com" target="_blank">abaci64@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> I'm trying to get
            FreeSWITCH to send my voicemail to my email and can't it to
            work. I have sSMTP installed and working (tested using
            voicemail.tpl) I see in the FreeSWITCH logs <b>"switch_utils.c:761

              Emailed file [/tmp/mail.13461330724a96] to [<a
                moz-do-not-send="true" href="mailto:me@mydomain.com"
                target="_blank">me@mydomain.com</a>]" </b>however in
            /var/log/maillog I see nothing and I don't get the email.
            does someone have a clue on what might be wrong here, or is
            there any debug I can enable for this?<br>
            <br>
            <u><b>in switch.conf.xml I have:</b></u><br>
            <tt>&nbsp;&nbsp;&nbsp; &lt;param name="mailer-app" value="sendmail"/&gt;<br>
              &nbsp;&nbsp;&nbsp; &lt;param name="mailer-app-args" value="-t"/&gt;<br>
            </tt><br>
            <u><b>in voicemail.conf.xml I have:</b></u><br>
            <tt>&nbsp;&nbsp;&nbsp; &lt;email&gt;<br>
              &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name="template-file"
              value="voicemail.tpl"/&gt;<br>
              &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name="notify-template-file"
              value="notify-voicemail.tpl"/&gt;<br>
              &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;!-- this is the format voicemail_time will
              have --&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="date-fmt" value="%A, %B %d %Y, %I
              %M %p"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;param name="email-from"
              value="${voicemail_account}@${voicemail_domain}"/&gt;--&gt;<br>
              &nbsp;&nbsp;&nbsp; &lt;/email&gt;</tt><br>
            <br>
            <u><b>in the directory (xml_curl) I have:</b></u><br>
            <tt>&lt;document type="freeswitch/xml"&gt;<br>
              &nbsp; &lt;section name="directory"&gt;<br>
              &nbsp;&nbsp;&nbsp; &lt;domain name="<a moz-do-not-send="true"
                href="http://mydomain.com" target="_blank">mydomain.com</a>"&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;user id="200"&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;params&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="password"
              value="cj987r5y95"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-password" value="1234"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-enabled" value="true"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-email-all-messages"
              value="true"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-mailto" value=<a
                moz-do-not-send="true" href="mailto:me@mydomain.com"
                target="_blank">"me@mydomain.com"</a>/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-mailfrom" value="Voicemail
              Server <a moz-do-not-send="true"
                href="mailto:voicemail@mydomain.com" target="_blank">&lt;voicemail@mydomain.com&gt;</a>"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-attach-file" value="true"
              /&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="dial-string" value=<a
                moz-do-not-send="true"
                href="mailto:$%7Bsofia_contact%28200@mydomain.com%29%7D"
                target="_blank">"${sofia_contact(200@mydomain.com)}"</a>/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/params&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variables&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="toll_allow"
              value="domestic,international,local"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="user_context"
              value="routing"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_name"
              value="test user"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_number"
              value="<a moz-do-not-send="true" href="tel:2125551212"
                value="+12125551212" target="_blank">2125551212</a>"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="outbound_caller_id_number"
              value="<a moz-do-not-send="true" href="tel:2125551212"
                value="+12125551212" target="_blank">2125551212</a>"/&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/variables&gt;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/user&gt;<br>
              &nbsp;&nbsp;&nbsp; &lt;/domain&gt;<br>
              &nbsp; &lt;/section&gt;<br>
              &lt;/document&gt;</tt><br>
            <br>
          </div>
          <br>
_________________________________________________________________________<br>
          Professional FreeSWITCH Consulting Services:<br>
          <a moz-do-not-send="true"
            href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
          <br>
          FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
          <a moz-do-not-send="true" href="http://www.cudatel.com"
            target="_blank">http://www.cudatel.com</a><br>
          <br>
          Official FreeSWITCH Sites<br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
            target="_blank">http://wiki.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://www.cluecon.com"
            target="_blank">http://www.cluecon.com</a><br>
          <br>
          FreeSWITCH-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Michael S Collins<br>
      Twitter: @mercutioviz<br>
      <a moz-do-not-send="true" href="http://www.FreeSWITCH.org"
        target="_blank">http://www.FreeSWITCH.org</a><br>
      <a moz-do-not-send="true" href="http://www.ClueCon.com"
        target="_blank">http://www.ClueCon.com</a><br>
      <a moz-do-not-send="true" href="http://www.OSTAG.org"
        target="_blank">http://www.OSTAG.org</a><br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>