The dilemma is we also need solution that is compat with windows, bsd, mac etc.<br><br>That is sort of interesting that the pipe is breaking, it would be nice to figure out why since not everybody<br>seems to have it.<br><br>
I am still wondering if it&#39;s a stack size running out issue in the child thread from system.<br>Are you running FS as root or as a non-privileged user, i&#39;m wondering because maybe if its a regular user, its not able to increase the stack size up to 8megs <br>
<br>maybe you can push in strace into the command so it will show why it breaks.<br><br><br><br><div class="gmail_quote">On Thu, Mar 18, 2010 at 1:10 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">





<div bgcolor="#ffffff">
<div><font size="2">Also no need to uninstall sendmail, just install ssmtp and 
that&#39;s it !</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;" dir="ltr"><div class="im">
  <div style="font: 10pt arial;">----- Original Message ----- </div>
  <div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b> 
  <a title="infos@madovsky.org" href="mailto:infos@madovsky.org" target="_blank">Madovsky</a> 
  </div>
  <div style="font: 10pt arial;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a> 
  </div>
  </div><div><div></div><div class="h5"><div style="font: 10pt arial;"><b>Sent:</b> Thursday, March 18, 2010 1:59 
  PM</div>
  <div style="font: 10pt arial;"><b>Subject:</b> Re: [Freeswitch-users] voicemail 
  options [temporarly solved]</div>
  <div><br></div>
  <div><font size="2">Hi Anthony,</font></div>
  <div><font size="2"></font> </div>
  <div><font size="2">after 5 days of tests to resolve the hell of sendmail 
  segmentation fault,</font></div>
  <div><font size="2">my conclusion is there is definitely a problem with the 
  combination of cat, pipe and sendmail or other mail app.</font></div>
  <div><font size="2">I made a php script that fits the actual switch_utils.c 
  exec, but it&#39;s the same, it works one time on 10.</font></div>
  <div><font size="2">So the robustest solution  is to replace sendmail 
  by ssmtp (yum install ssmtp or apt-get ssmtp etc...)</font></div>
  <div><font size="2"></font> </div>
  <div><font size="2">configure /etc/ssmtp/revaliases and /etc/ssmtp/ssmtp.conf, 
  change the switch.conf.xml like this</font></div>
  <div><font size="2"></font> </div>
  <div><font size="2">    &lt;param name=&quot;mailer-app&quot; 
  value=&quot;/usr/sbin/ssmtp&quot;/&gt;<br>    &lt;param 
  name=&quot;mailer-app-args&quot; value=&quot;-t&quot;/&gt;</font></div><font size="2">
  <div><br>and apply the patch attached (no choice since it needs filename as 
  argument and not STDIN).</div>
  <div></div></font> </div></div></blockquote></div><div><div></div><div class="h5">
  <div><font size="2">hope it will help people who have sendmail segmentation 
  fault problem.</font></div>
  <div><font size="2"></font> </div>
  <div><font size="2">Regards</font></div>
  <div><font size="2"></font> </div>
  <div><font size="2">Franck</font></div>
  <div><font size="2"></font> </div>
  <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
    <div style="font: 10pt arial;">----- Original Message ----- </div>
    <div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b> 
    <a title="anthony.minessale@gmail.com" href="mailto:anthony.minessale@gmail.com" target="_blank">Anthony Minessale</a> </div>
    <div style="font: 10pt arial;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a> 
    </div>
    <div style="font: 10pt arial;"><b>Sent:</b> Wednesday, March 17, 2010 4:37 
    PM</div>
    <div style="font: 10pt arial;"><b>Subject:</b> Re: [Freeswitch-users] 
    voicemail options [temporarly solved]</div>
    <div><br></div>FYI if you made the change in your working copy you could 
    generate a patch with<br><br>svn diff &gt; patch.txt<br><br>After looking at 
    your change, the problem is that many people depend on this working the way 
    it currently is.<br>Would you consider making a script that mimics the 
    current behavior of a mailer app and read the file from stdin and deliver 
    the subsequent file so it is backwards-compatible with the way everything 
    already works?<br><br><br>
    <div class="gmail_quote">On Wed, Mar 17, 2010 at 3:26 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>&gt;</span> 
wrote:<br>
    <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
      <div bgcolor="#ffffff">
      <div><font size="2">Sorry Anthony I never made an official update in C 
      language with diff patch</font></div>
      <div><font size="2">so the change is at the line 620, I commented out the 
      original line</font></div>
      <div><font size="2"></font> </div>
      <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
        <div>
        <div style="font: 10pt arial;">----- Original Message ----- </div>
        <div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b> 
        <a title="anthony.minessale@gmail.com" href="mailto:anthony.minessale@gmail.com" target="_blank">Anthony 
        Minessale</a> </div>
        <div style="font: 10pt arial;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a> </div></div>

        <div>
        <div></div>
        <div>
        <div style="font: 10pt arial;"><b>Sent:</b> Wednesday, March 17, 2010 
        3:55 PM</div>
        <div style="font: 10pt arial;"><b>Subject:</b> Re: [Freeswitch-users] 
        voicemail options [temporarly solved]</div>
        <div><br></div>could you get a svn diff of the switch_utils.c so we 
        can  see what the change was?<br><br><br><br>
        <div class="gmail_quote">On Wed, Mar 17, 2010 at 2:46 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>&gt;</span> wrote:<br>
        <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
          <div bgcolor="#ffffff" vlink="purple" link="blue" lang="FR">
          <div><font size="2">Finally I succeed to send voicemail with sendmail 
          through a little php script (could be Perl also)</font></div>
          <div><font size="2">it seems that sendmail 8.14.3 has a bug. But call it 
          from PHP the bug doesn&#39;t exist.</font></div>
          <div><font size="2"></font> </div>
          <div><font size="2">I attached my php script and switch_utils.c. Not 
          sure if the FS developers will accept my modification</font></div>
          <div><font size="2"></font> </div>
          <div><font size="2">Regards</font></div>
          <div><font size="2"></font> </div>
          <div><font size="2">Franck</font></div>
          <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;" dir="ltr">
            <div style="font: 10pt arial;">----- Original Message ----- </div>
            <div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b> 
            <a title="infos@madovsky.org" href="mailto:infos@madovsky.org" target="_blank">Madovsky</a> </div>
            <div style="font: 10pt arial;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a> </div>
            <div style="font: 10pt arial;"><b>Sent:</b> Tuesday, March 16, 2010 
            4:35 PM</div>
            <div style="font: 10pt arial;"><b>Subject:</b> Re: [Freeswitch-users] 
            voicemail options</div>
            <div><br></div>
            <div><font size="2">ok, I tried 50 times to leave a 
            message,</font></div>
            <div><font size="2">it worked only one time.</font></div>
            <div><font size="2">It seems that sendmail needs to be free to send 
            the email....</font></div>
            <div><font size="2"></font> </div>
            <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
              <div style="font: 10pt arial;">----- Original Message ----- </div>
              <div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b> 
              <a title="devel@thom.fr.eu.org" href="mailto:devel@thom.fr.eu.org" target="_blank">devel@thom.fr.eu.org</a> </div>
              <div style="font: 10pt arial;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a> </div>

              <div style="font: 10pt arial;"><b>Sent:</b> Tuesday, March 16, 2010 
              3:59 PM</div>
              <div style="font: 10pt arial;"><b>Subject:</b> Re: 
              [Freeswitch-users] voicemail options</div>
              <div><br></div>
              <div>
              <p class="MsoNormal"><span style="color: rgb(31, 73, 125); font-size: 11pt;" lang="EN-US">Are you 
              running debian, I have the same problem on debian x64 (already 
              mentioned here <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024733.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/2010-January/024733.html</a>) 
              and cannot fix it.</span></p>
              <p class="MsoNormal"><span style="color: rgb(31, 73, 125); font-size: 11pt;" lang="EN-US">I don’t 
              know if it’s a priviledge problem, as I got the same results 
              running FS with or without –u.</span></p>
              <p class="MsoNormal"><span style="color: rgb(31, 73, 125); font-size: 11pt;" lang="EN-US"></span> </p>
              <p class="MsoNormal"><span style="color: rgb(31, 73, 125); font-size: 11pt;" lang="EN-US">François</span></p>
              <p class="MsoNormal"><span style="color: rgb(31, 73, 125); font-size: 11pt;" lang="EN-US"></span> </p>
              <p class="MsoNormal"><span style="color: rgb(31, 73, 125); font-size: 11pt;" lang="EN-US"></span> </p>
              <div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
              <p class="MsoNormal"><b><span style="font-size: 10pt;">De :</span></b><span style="font-size: 10pt;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> 
              [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] 
              <b>De la part de</b> Anthony Minessale<br><b>Envoyé :</b> 
              mardi 16 mars 2010 20:30<br><b>À :</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><b>Objet :</b> 
              Re: [Freeswitch-users] voicemail options</span></p></div>
              <p class="MsoNormal"> </p>
              <p style="margin-bottom: 12pt;" class="MsoNormal">are you running FS 
              as root or a regular user?<br>maybe there is a permission or 
              resource limitation problem preventing it from getting the larger 
              stack space necessary?<br><br></p>
              <div>
              <p class="MsoNormal">On Tue, Mar 16, 2010 at 2:18 PM, Madovsky 
              &lt;<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>&gt; wrote:</p>
              <div>
              <div>
              <p class="MsoNormal"><span style="font-size: 10pt;">I noticed that 
              sendmail makes a segfault when FS is trying to send 
              email</span></p></div>
              <div>
              <p class="MsoNormal"><span style="font-size: 10pt;">and sendmail has 
              some emails locked in folder queue....</span></p></div>
              <div>
              <p class="MsoNormal"> </p></div>
              <div>
              <p class="MsoNormal"><span style="font-size: 10pt;">Regards</span></p></div>
              <div>
              <p class="MsoNormal"> </p></div>
              <div>
              <p class="MsoNormal"><span style="font-size: 10pt;">Franck</span></p></div></div>
              <p style="margin-bottom: 12pt;" class="MsoNormal"><br>_______________________________________________<br>FreeSWITCH-users 
              mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></p>
</div>
              <p class="MsoNormal"><br><br clear="all"><br>-- <br>Anthony Minessale 
              II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>AIM: 
              anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> 
              #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900</p></div>
              <p></p>
              <hr>

              <p></p>_______________________________________________<br>FreeSWITCH-users 
              mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></blockquote></div><br>_______________________________________________<br>FreeSWITCH-users 
          mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: 
        anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> 
        #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br></div></div>
        <p></p>
        <hr>

        <div>
        <p></p>_______________________________________________<br>FreeSWITCH-users 
        mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></blockquote></div><br>_______________________________________________<br>FreeSWITCH-users 
      mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon 
    <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: 
    anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: 
    <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> 
    #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>
    <p>
    </p><hr>

    <p></p>_______________________________________________<br>FreeSWITCH-users 
    mailing 
    list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>