<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Rob,<br>
    <br>
    sendmail is running as a service, so the segfault could be being
    thrown by the sendmail service, not necessarily by the
    command-line-app-version that adds mails to the queue (and then
    terminates).&nbsp; Most mailers work this way: separate processes to add
    the mail to the queue, process the queue, accept connections on
    various sockets.&nbsp; FreeSWITCH is written to wait until the
    queue-insertion invocation of sendmail is completed. Thankfully, it
    doesn't wait until the message is actually sent on to its next
    location as, in some cases, that could take hours if the remote host
    is down.&nbsp; In your log below, it looks like sendmail [25200] has
    happily accepted the message from FreeSWITCH and queued it for
    delivery.&nbsp; sendmail [25207] is the process that has then barfed,
    after the message has been queued, which suggests that it is nothing
    to do with FreeSWITCH itself.&nbsp; Perhaps there might be a copy of the
    message from the crashing process in the message queues in
    /var/spool/mail (or similar) which you could look at to see if there
    is anything weird in it?&nbsp; But the bottom line is that it looks like
    you have&nbsp; pure sendmail problem. Unfortunately, that's where my
    knowledge stops as I run Postfix as my main mailer and ssmtp as a
    dumb relay.&nbsp; Maybe someone on a CentOS or sendmail list can help you
    with the sendmail issue?&nbsp; Or, as I mentioned earlier, if you don't
    need a full mailer, you could remove sendmail and install a simpler
    mailer such as ssmtp (as I see you have a relay that needs TLS and
    for which authentication appears to be failing).<br>
    <br>
    John<br>
    <br>
    PS. The parallel test is to wrap the original command in parentheses
    and duplicate it several times on a single command line, each time
    followed by an ampersand to put it into the background, ie:<br>
    <br>
    rmorin@blie-fs$ ( cat ....&nbsp;&nbsp; | sendmail ......&nbsp; ... ) &amp; ( cat
    ..... | sendmail .... ) &amp;&nbsp;&nbsp;&nbsp; .... and so on <br>
    <br>
    [It maybe that your sendmail queues faster than your shell can
    invoke sendmail, so it isn't really in parallel, but then that
    should be similar for FreeSWITCH too, so it would be a 'rapid-fire'
    test instead of a parallel test.]<br>
    <br>
    On 27/01/12 00:46, Rob Morin wrote:
    <blockquote cite="mid:197b01ccdc8d$2c2bf700$8483e500$@blie-ent.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <base href="x-msg://101/">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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;}
--></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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">John,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thank
            you for your help.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            ran the command line as you described, and everything worked
            fine.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            should also mention, that some of my extensions do not have
            the notifications turned on. And even for them, getting the
            message through is hit or miss &#8211; sometimes it segfaults,
            sometimes it doesn&#8217;t. So I don&#8217;t necessarily think it&#8217;s a
            &#8220;two message&#8221; issue. Also, in looking at the logs, sometimes
            I see the segfault appear in the middle of the maillog
            logging for the other message. So it doesn&#8217;t look like FS is
            waiting for the sendmail command to return before executing
            the next command.&nbsp; Here&#8217;s what I mean&#8230;<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:windowtext">Jan 26 14:28:50 blie-fs
            sendmail[25200]: q0QESoi9025200: Authentication-Warning:
            blie-fs.blie-ent.com: freeswitch set sender to
            <a class="moz-txt-link-abbreviated" href="mailto:voicemail@blie-ent.com">voicemail@blie-ent.com</a> using -f<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:windowtext">Jan 26 14:28:50 blie-fs
            sendmail[25200]: q0QESoi9025200:
            <a class="moz-txt-link-abbreviated" href="mailto:from=voicemail@blie-ent.com">from=voicemail@blie-ent.com</a>, size=18662, class=0, nrcpts=1,
            msgid=<a class="moz-txt-link-rfc2396E" href="mailto:201201261428.q0QESoi9025200@blie-fs.blie-ent.com">&lt;201201261428.q0QESoi9025200@blie-fs.blie-ent.com&gt;</a>,
            relay=freeswitch@localhost<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:windowtext">Jan 26 14:28:51 blie-fs
            sendmail[25201]: q0QESpVj025201:
            from=<a class="moz-txt-link-rfc2396E" href="mailto:voicemail@blie-ent.com">&lt;voicemail@blie-ent.com&gt;</a>, size=19026, class=0,
            nrcpts=1,
            msgid=<a class="moz-txt-link-rfc2396E" href="mailto:201201261428.q0QESoi9025200@blie-fs.blie-ent.com">&lt;201201261428.q0QESoi9025200@blie-fs.blie-ent.com&gt;</a>,
            proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:windowtext">Jan 26 14:28:51 blie-fs
            sendmail[25200]: q0QESoi9025200: <a class="moz-txt-link-abbreviated" href="mailto:to=rmorin@blie-ent.com">to=rmorin@blie-ent.com</a>,
            <a class="moz-txt-link-abbreviated" href="mailto:ctladdr=voicemail@blie-ent.com">ctladdr=voicemail@blie-ent.com</a> (501/501), delay=00:00:01,
            xdelay=00:00:00, mailer=relay, pri=48662, relay=[127.0.0.1]
            [127.0.0.1], dsn=2.0.0, stat=Sent (q0QESpVj025201 Message
            accepted for delivery)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:windowtext;background:yellow;mso-highlight:yellow">Jan
            26 14:28:51 blie-fs kernel: [41082.268638] sendmail[25207]:
            segfault at 7fff96dffed8 rip 7f158ee0b7fb rsp 7fff96dffea0
            error 6</span><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:windowtext"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:windowtext">Jan 26 14:28:51 blie-fs
            sendmail[25203]: STARTTLS=client, relay=smtp.sendgrid.net.,
            version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA,
            bits=256/256<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:windowtext">Jan 26 14:28:51 blie-fs
            sendmail[25203]: q0QESpVj025201:
            to=<a class="moz-txt-link-rfc2396E" href="mailto:rmorin@blie-ent.com">&lt;rmorin@blie-ent.com&gt;</a>, delay=00:00:00,
            xdelay=00:00:00, mailer=relay, pri=139026,
            relay=smtp.sendgrid.net. [174.36.32.204], dsn=2.0.0,
            stat=Sent (Delivery in progress)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">On
            this instance, the notification didn&#8217;t get through, but the
            message did.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">All
            of that said, I&#8217;m not sure how to run the &#8216;parallel&#8217; test,
            though. (I did run the single test many times in quick
            succession with no failures.)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">My
            ulimit &#8211;s is set at 8192. And I don&#8217;t have any other
            arguments, other than &#8216;-t&#8217;.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thank
            you,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Rob<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                John [<a class="moz-txt-link-freetext" href="mailto:freeswitch@earthspike.net">mailto:freeswitch@earthspike.net</a>] <br>
                <b>Sent:</b> Thursday, January 26, 2012 6:23 PM<br>
                <b>To:</b> FreeSWITCH Users Help<br>
                <b>Subject:</b> Re: [Freeswitch-users] Sendmail
                segfaulting<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Rob,<br>
          <br>
          ssmtp sends whatever it's given:&nbsp; FreeSWITCH puts the message
          together (in src/switch_utils.c:switch_simple_email()) to make
          a fully MIME-compliant message with the attachments read out
          of their files and then pipes it into the 'sendmail' (whether
          ssmtp, nullmailer, sendemail.py or whatever) program for it to
          send/relay it.&nbsp; FreeSWITCH waits for the 'cat | sendmail'
          program to return before continuing execution and deleting
          files, so file deletion is unlikely to be the issue.&nbsp; Like you
          say, it sounds like the problem is not with configuration but
          it's also very unlikely to be with file deletion.&nbsp; <br>
          <br>
          Can you reproduce the fault by running sendmail from the
          command line with a suitably formatted mail message[*] as
          input?&nbsp; This is pretty much what FreeSWITCH does:<br>
          <br>
          cat message.txt | &lt;sendmail.app&gt; -f <a
            moz-do-not-send="true" href="mailto:noreply@mydomain.com">noreply@mydomain.com</a>
          &lt;mailer-args&gt; <a moz-do-not-send="true"
            href="mailto:recipient@mydomain.com">recipient@mydomain.com</a><br>
          <br>
          ... with &lt;..&gt; from what you have in
          conf/autoload_configs/switch.conf.xml?<br>
          <br>
          [* 'suitably formatted message' could be one of the successful
          ones, view source, then edit to trim off the transport
          headers]<br>
          <br>
          If that is successful, try to replicate your
          2-message-scenario by running two of the above commands in
          parallel with different input files and see if that generates
          a segfault.&nbsp; [If you are a linux noob as well as a FS noob I
          can spell this out for you.]<br>
          <br>
          John<br>
          <br>
          On 26/01/12 22:04, Rob Morin wrote: <o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">John,</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">That&#8217;s
            helpful, but ssmtp doesn&#8217;t support attachments so it won&#8217;t
            support sending the voicemail files.</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Additionally,
            I&#8217;m somewhat stumped on the default &#8216;sendmail&#8217; option. The
            references in the Wiki are basically all &#8216;configuration&#8217;
            issues &#8211; stack size, etc. The problem I have is that it
            isn&#8217;t a configuration issue &#8211; sometimes it goes through,
            sometimes it doesn&#8217;t. If it were a configuration issue, it
            would never go through (unless it was a resource that was
            near its margin).&nbsp; So that&#8217;s why I wanted to insert a delay.
            It appears to me that the segfault is being caused by the
            file getting moved, deleted, or still being open when
            sendmail attempts to access it.&nbsp; I wish I had more to go on
            though.</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thank
            you,</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Rob</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                John [<a moz-do-not-send="true"
                  href="mailto:freeswitch@earthspike.net">mailto:freeswitch@earthspike.net</a>]
                <br>
                <b>Sent:</b> Thursday, January 26, 2012 1:49 PM<br>
                <b>To:</b> <a moz-do-not-send="true"
                  href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
                <b>Subject:</b> Re: [Freeswitch-users] Sendmail
                segfaulting</span><o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        <p class="MsoNormal">Slightly unrelated, but I have been using
          the python script sendemail.py until recently when a user
          noticed that they were not being emailed some voicemails.&nbsp; I
          have since changed to using ssmtp (rather than nullmailer as
          my mail server requires a login, TLS on tcp/587). One thing I
          noticed, and it may be me that caused it, but the sendemail.py
          script had some indentation using (4) spaces and some using
          tabs.&nbsp; But the main problem is that the script keeps warning
          about the MimeWriter class being deprecated and has no error
          reporting or recovery, it seems.&nbsp; For me, it was easier to
          install ssmtp than rewrite the python script.&nbsp; If you don't
          need a full mail server, I would recommend using a null mailer
          like ssmtp or nullmailer.<br>
          <br>
          John<br>
          <br>
          On 26/01/12 15:13, Rob Morin wrote: <o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            tried to modify the eximcompat.sh script to work with
            sendmail. I&#8217;m not sure why it didn&#8217;t work. It might be that,
            for starters, I don&#8217;t have exim installed, I have sendmail.</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            haven&#8217;t tried the python script.&nbsp; Is that the one you use?</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Rob</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                Michael Jerris [<a moz-do-not-send="true"
                  href="mailto:mike@jerris.com">mailto:mike@jerris.com</a>]
                <br>
                <b>Sent:</b> Thursday, January 26, 2012 8:09 AM<br>
                <b>To:</b> FreeSWITCH Users Help<br>
                <b>Subject:</b> Re: [Freeswitch-users] Sendmail
                segfaulting</span><o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        <p class="MsoNormal">delay won't help you. &nbsp;Why didn't the
          script work? &nbsp;I know we do this and it works fine. &nbsp;Pretty
          sure we use a modified version of the sample in tree.<o:p></o:p></p>
        <div>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal">Mike<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
          <div>
            <div>
              <p class="MsoNormal">On Jan 25, 2012, at 10:43 PM, Rob
                Morin wrote:<o:p></o:p></p>
            </div>
            <p class="MsoNormal"><br>
              <br>
              <br>
              <br>
              <o:p></o:p></p>
            <div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
                    saw that, and tried everything I could. Still no
                    luck.</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">My
                    stack limit is 8192, so that shouldn&#8217;t be the
                    issue.&nbsp; I&#8217;m running CentOS x_64.</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
                    tried creating a script as the wiki suggests, so
                    that I could make changes without having to restart
                    FS. But that didn&#8217;t work either (I&#8217;m still a noob).
                    My goal was to add a sleep delay, in the case that
                    FS is calling the sendmail command before it&#8217;s
                    completely written and released the email it&#8217;s
                    sending. Any idea how to make that work?<br>
                    <br>
                    Thank you,</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Rob</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
              </div>
              <div>
                <div style="border:none;border-top:solid #B5C4DF
                  1.0pt;padding:3.0pt 0in 0in
                  0in;border-width:initial;border-color:initial">
                  <div>
                    <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
                        class="apple-converted-space"><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">&nbsp;</span></span><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Michael
                        Jerris <a moz-do-not-send="true"
                          href="mailto:[mailto:mike@jerris.com]">[mailto:mike@jerris.com]</a><span
                          class="apple-converted-space">&nbsp;</span><br>
                        <b>Sent:</b><span class="apple-converted-space">&nbsp;</span>Wednesday,
                        January 25, 2012 1:57 PM<br>
                        <b>To:</b><span class="apple-converted-space">&nbsp;</span>FreeSWITCH
                        Users Help<br>
                        <b>Subject:</b><span
                          class="apple-converted-space">&nbsp;</span>Re:
                        [Freeswitch-users] Sendmail segfaulting before
                        second message is sent</span><o:p></o:p></p>
                  </div>
                </div>
              </div>
              <div>
                <p class="MsoNormal">&nbsp;<o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><a moz-do-not-send="true"
                    href="http://wiki.freeswitch.org/wiki/Mod_voicemail#Exim4_settings">http://wiki.freeswitch.org/wiki/Mod_voicemail#Exim4_settings</a><o:p></o:p></p>
              </div>
              <div>
                <div>
                  <p class="MsoNormal">&nbsp;<o:p></o:p></p>
                </div>
                <div>
                  <div>
                    <div>
                      <p class="MsoNormal">On Jan 25, 2012, at 1:31 PM,
                        Rob Morin wrote:<o:p></o:p></p>
                    </div>
                  </div>
                  <div>
                    <p class="MsoNormal"><br>
                      <br>
                      <br>
                      <br>
                      <br>
                      <o:p></o:p></p>
                  </div>
                  <div>
                    <div>
                      <div>
                        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">For
                            some extensions, I&#8217;ve got FreeSWITCH
                            configured to send both the voicemail to an
                            email address and a notification to a cell
                            phone that there is a message.</span><o:p></o:p></p>
                      </div>
                    </div>
                    <div>
                      <div>
                        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
                      </div>
                    </div>
                    <div>
                      <div>
                        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Sendmail
                            is segfaulting (error 6) before the second
                            email message is sent. Sometimes the
                            notification message is going out, sometimes
                            the email message goes.</span><o:p></o:p></p>
                      </div>
                    </div>
                    <div>
                      <div>
                        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
                      </div>
                    </div>
                    <div>
                      <div>
                        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">If
                            I am just sending an email, it is *<b>generally</b>*
                            successful. Although sometimes it fails, so
                            I really need to fix this.</span><o:p></o:p></p>
                      </div>
                    </div>
                    <div>
                      <div>
                        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
                      </div>
                    </div>
                    <div>
                      <div>
                        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Does
                            anyone have any suggestions as to how I can
                            troubleshoot this?<span
                              class="apple-converted-space">&nbsp;</span><br>
                            <br>
                            (Running CentOS 5.7, sendmail 8.13).</span><o:p></o:p></p>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        </div>
        <p class="MsoNormal"><br>
          <br>
          <br>
          <br>
          <o:p></o:p></p>
        <pre>_________________________________________________________________________<o:p></o:p></pre>
        <pre>Professional FreeSWITCH Consulting Services:<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><o:p></o:p></pre>
        <pre>&nbsp;<o:p></o:p></pre>
        <pre>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.cudatel.com">http://www.cudatel.com</a><o:p></o:p></pre>
        <pre>&nbsp;<o:p></o:p></pre>
        <pre>Official FreeSWITCH Sites<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><o:p></o:p></pre>
        <pre>&nbsp;<o:p></o:p></pre>
        <pre>FreeSWITCH-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><o:p></o:p></pre>
        <pre>UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
        <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        <p class="MsoNormal"><br>
          <br>
          <br>
          <o:p></o:p></p>
        <pre>_________________________________________________________________________<o:p></o:p></pre>
        <pre>Professional FreeSWITCH Consulting Services:<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.cudatel.com">http://www.cudatel.com</a><o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>Official FreeSWITCH Sites<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>FreeSWITCH-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><o:p></o:p></pre>
        <pre>UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <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>