<div dir="ltr">Sounds like someone may need to file a JIRA so that this is fixed if its really not working or the docs are just wrong.  Either way, we should correct it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 23, 2015 at 12:52 AM, Sergey Safarov <span dir="ltr">&lt;<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@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 dir="ltr"><div>Required debugging of source code to find reason of ignoring params vm-mailfrom and email-from<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 22, 2015 at 3:24 AM, Jason Lewis <span dir="ltr">&lt;<a href="mailto:jason@dickson.st" target="_blank">jason@dickson.st</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">
    <div>Hi Sergey, thanks for the tip.<br>
      <br>
      I dug around more and managed to get some actual output from the
      sendmail program (which in this case is a perl wrapper around
      postfix)<br>
      <br>
      it seems the from email address is invalid, but I&#39;m not sure why.
      I have set it in the directory for this extension....<br>
      <br>
            &lt;param name=&quot;vm-mailto&quot; value=<a href="mailto:jason@xyz.com" target="_blank">&quot;jason@xyz.com&quot;</a>/&gt;<br>
            &lt;param name=&quot;vm-mailfrom&quot;
      value=<a href="mailto:vmfreeswitch@xyz.com" target="_blank">&quot;vmfreeswitch@xyz.com&quot;</a>/&gt;<br>
            &lt;param name=&quot;email-from&quot;
      value=<a href="mailto:vmfreeswitch@xyz.com" target="_blank">&quot;vmfreeswitch@xyz.com&quot;</a>/&gt;<br>
      <br>
      <br>
      but in the logs I see this:<br>
      <br>
      Net::SMTP=GLOB(0x23f7748)&gt;&gt;&gt; MAIL
      FROM:<a href="mailto:1002@192.168.1.3" target="_blank">&lt;1002@192.168.1.3&gt;</a><br>
      Net::SMTP=GLOB(0x23f7748)&lt;&lt;&lt; 501 5.1.7 Bad sender address
      syntax<br>
      <br>
      <br>
      Thanks,<br>
      <br>
      Jason<div><div><br>
      <br>
      On 20/02/2015 7:10 pm, Sergey Safarov wrote:<br>
    </div></div></div><div><div>
    <blockquote type="cite">
      <div dir="ltr">
        <p>You mailer is not understand &quot;mailer-app-args&quot; has been
          configured in &quot;switch.conf.xml&quot;</p>
        <p>Remove extra arg or add required</p>
        <br>
        <div class="gmail_quote">пт, 20 февр. 2015, 7:49, Jason Lewis
          &lt;<a href="mailto:jason@dickson.st" target="_blank">jason@dickson.st</a>&gt;:<br>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
            <br>
            I&#39;ve been trying to make freeswitch email voicemails but as
            far as I can<br>
            tell, it never even calls sendmail.<br>
            <br>
            I have setting mailer-app to &quot;sendmail&quot; and
            &quot;/usr/sbin/sendmail&quot; to no<br>
            avail. I can successfully send an email from the commandline
            using<br>
            sendmail. (sendmail in this case is provided by postfix)<br>
            <br>
            I see no emails in the postfix mail logs when I leave a
            voicemail message.<br>
            <br>
            I also tried creating a shell just to see if it even gets
            called from<br>
            fs, but it does not get called when a voicemail is
            deposited:<br>
            #!/bin/bash<br>
            echo $(date --rfc-3339=ns): $* &gt;&gt;
            /tmp/freeswitchsendmail.log<br>
            <br>
            After every change, I have run reloadxml and reload
            mod_voicemail. I<br>
            have also tried restarting freeswitch.<br>
            <br>
            I am running the debian packages of FreeSWITCH Version
            1.4.15-1~64bit<br>
            (-1 64bit)<br>
            <br>
            my configuration is based on the vanilla configuration with
            only very<br>
            minor changes.<br>
            <br>
            I&#39;m at a loss as to how to debug further, but I&#39;m pretty
            sure the<br>
            mailer-app is never called. Is there some setting I&#39;m
            missing or<br>
            something obvious I&#39;m not doing?<br>
            <br>
            <br>
            My config:<br>
            1001.xml:<br>
            &lt;include&gt;<br>
              &lt;user id=&quot;1001&quot;&gt;<br>
                &lt;params&gt;<br>
                  &lt;param name=&quot;password&quot;
            value=&quot;$${default_password}&quot;/&gt;<br>
                  &lt;param name=&quot;vm-password&quot; value=&quot;1001&quot;/&gt;<br>
                  &lt;param name=&quot;vm-mailto&quot; value=&quot;<a href="mailto:jason@xyz.com.au" target="_blank">jason@xyz.com.au</a>&quot;/&gt;<br>
                  &lt;param name=&quot;vm-mailfrom&quot; value=&quot;<a href="mailto:vm@freeswitch.xyz.com.au" target="_blank">vm@freeswitch.xyz.com.au</a>&quot;/&gt;<br>
                  &lt;!-- &lt;param name=&quot;vm-message-ext&quot;
            value=&quot;wav&quot;/&gt; --&gt;<br>
                &lt;/params&gt;<br>
                &lt;variables&gt;<br>
                  &lt;variable name=&quot;toll_allow&quot;
            value=&quot;domestic,international,local&quot;/&gt;<br>
                  &lt;variable name=&quot;accountcode&quot; value=&quot;1001&quot;/&gt;<br>
                  &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>
                  &lt;variable name=&quot;effective_caller_id_name&quot;
            value=&quot;Extension 1001&quot;/&gt;<br>
                  &lt;variable name=&quot;effective_caller_id_number&quot;
            value=&quot;1001&quot;/&gt;<br>
                  &lt;variable name=&quot;outbound_caller_id_name&quot;<br>
            value=&quot;$${outbound_caller_name}&quot;/&gt;<br>
                  &lt;variable name=&quot;outbound_caller_id_number&quot;<br>
            value=&quot;$${outbound_caller_id}&quot;/&gt;<br>
                  &lt;variable name=&quot;callgroup&quot; value=&quot;techsupport&quot;/&gt;<br>
                &lt;/variables&gt;<br>
              &lt;/user&gt;<br>
            &lt;/include&gt;<br>
            <br>
            and in switch.conf.xml I have the following set:<br>
            <br>
                &lt;param name=&quot;mailer-app&quot;
            value=&quot;/usr/sbin/sendmail&quot;/&gt;<br>
                &lt;param name=&quot;mailer-app-args&quot; value=&quot;-t&quot;/&gt;<br>
            <br>
            <br>
            I made a log at level 7 and put it on the pastebin:<br>
            <br>
            <a href="https://pastebin.freeswitch.org/23921" target="_blank">https://pastebin.freeswitch.org/23921</a><br>
            <br>
            <br>
            Jason Lewis<br>
            <a href="http://emacstragic.net" target="_blank">http://emacstragic.net</a><br>
            <br>
            <br>
            _________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
            <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
            <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
            <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
    <br>
    </div></div><span><font color="#888888"><pre cols="72">-- 
Jason Lewis
<a href="http://emacstragic.net" target="_blank">http://emacstragic.net</a></pre>
  </font></span></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>