<div dir="ltr"><div style>Hi,</div><div><br></div>On Wed, May 15, 2013 at 12:18 PM, RedLM - Luis Miguel Muņoz <span dir="ltr"><<a href="mailto:lm@redlm.com" target="_blank">lm@redlm.com</a>></span> wrote:<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">
<div lang="ES" link="blue" vlink="purple"><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">We have Owncloud installed in a test server with a dynamic IP, but everything is working fine but this. So this is not the problem.</span></p>
</div></blockquote><div class="gmail_extra">IIRC gmail doesn't accept mail sent from host with dynamic IPs.  I tried to send mail from such host and  got the following response:</div><div class="gmail_extra"><br><em style="font-style:normal;color:rgb(68,68,68);font-family:arial,sans-serif;line-height:10.666666984558105px">>Connections originating from dynamically assigned IP addresses are not allowed</em><span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:10.666666984558105px">. </span><em style="font-style:normal;color:rgb(68,68,68);font-family:arial,sans-serif;line-height:10.666666984558105px">Please use your ISP's relay servers</em><span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:10.666666984558105px">.</span><br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">Please consider external mail host with static IP.<br></div><div class="gmail_extra" style>Some useful links related to oC  SMTP configuration:</div><div class="gmail_extra">
<a href="https://github.com/owncloud/core/blob/master/config/config.sample.php#L87">https://github.com/owncloud/core/blob/master/config/config.sample.php#L87</a></div><div class="gmail_extra"><a href="https://github.com/Synchro/PHPMailer/tree/master/examples">https://github.com/Synchro/PHPMailer/tree/master/examples</a><br>
<br><br></div><div class="gmail_extra">Victor<br><br><div class="gmail_quote">On Wed, May 15, 2013 at 12:18 PM, RedLM - Luis Miguel Muņoz <span dir="ltr"><<a href="mailto:lm@redlm.com" target="_blank">lm@redlm.com</a>></span> wrote:<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"><div lang="ES" link="blue" vlink="purple"><div><p class="">
<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Greetings from Spain.<u></u><u></u></span></p><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">We are testing Owncloud for a customer, and we found a problem with sharing a link using SMTP with an external user.<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">We have Owncloud installed in a test server with a dynamic IP, but everything is working fine but this. So this is not the problem.<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">If we share the link with a <b><a href="mailto:xxxxx@redlm.com" target="_blank">xxxxx@redlm.com</a></b> email account, it works fine, but if we try with <a href="mailto:xxxxxx@gmail.com" target="_blank">xxxxxx@gmail.com</a> account we receive an error at the SMTP server.<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Mainly, the problem is the “MAIL FROM” header:<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Wed 2013-05-15 11:04:33: --> 235 Authentication successful<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Wed 2013-05-15 11:04:33: Authenticated as <a href="mailto:xxxxxxxxx@redlm.com" target="_blank">xxxxxxxxx@redlm.com</a><u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Wed 2013-05-15 11:04:33: <-- MAIL FROM:<<a href="mailto:sharing-noreply@xxxxx.dynalias.com" target="_blank">sharing-noreply@xxxxx.dynalias.com</a>><u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Wed 2013-05-15 11:04:33: --> 250 <<a href="mailto:sharing-noreply@xxxxx.dynalias.com" target="_blank">sharing-noreply@xxxxx.dynalias.com</a>>, Sender ok<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Wed 2013-05-15 11:04:33: <-- RCPT TO:<<a href="mailto:xxxxxx@gmail.com" target="_blank">xxxxxx@gmail.com</a>><u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Wed 2013-05-15 11:04:33: Sender attempted to deliver message to unknown address<u></u><u></u></span></p><p class="">
<span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Wed 2013-05-15 11:04:33: --> 550 <<a href="mailto:xxxxxx@gmail.com" target="_blank">xxxxxx@gmail.com</a>>, Recipient unknown<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Wed 2013-05-15 11:04:33: Connection closed<u></u><u></u></span></p><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Wed 2013-05-15 11:04:33: SMTP session terminated (Bytes in/out: 156/375)<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">So, the question is: is there any way to configure the SMTP MAIL FROM to exchange <a href="mailto:sharing-noreply@xxxxx.dynalias.com" target="_blank">sharing-noreply@xxxxx.dynalias.com</a> in the config.php or should I modify the code?<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I would rather avoiding any modification, as the upgrades will destroy them.<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Thanks in advance and kindest regards.<u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif;color:rgb(31,73,125)"> <u></u><u></u></span></p><table border="0" cellpadding="0" width="100%" style="width:100%"><tbody><tr><td style="padding:0.75pt">
<p class=""><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><img border="0" width="111" height="97" src="cid:image001.jpg@01CE515D.36233B10" alt="RedLM"></span><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
</td><td width="70%" style="width:70%;padding:0.75pt"><p class=""><span style="font-size:10pt;font-family:Verdana,sans-serif;color:red">Luis-Miguel Muņoz Benito   <a href="mailto:lm@redlm.com" target="_blank">lm@redlm.com</a></span><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><span style="font-size:10pt;font-family:Verdana,sans-serif;color:gray">  <a href="tel:%2B34%20911%20124%20203" value="+34911124203" target="_blank">+34 911 124 203</a> <br>
<br>Madrid (Espaņa)                                      Reino Unido (UK)<br><br></span><span style="font-size:10pt;font-family:Verdana,sans-serif;color:red">           <a href="http://www.redlm.com/" target="_blank">www.redlm.com</a>            </span><span style="font-size:10pt;font-family:Verdana,sans-serif;color:blue"><a href="mailto:redlm@redlm.com" target="_blank">redlm@redlm.com</a></span><span style="font-size:10pt;font-family:Verdana,sans-serif;color:red"> </span><span style="font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
</td></tr></tbody></table><p class=""><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class=""><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div><p class=""><u></u> <u></u></p></div></div></div><br>_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
<br></blockquote></div><br></div></div>