[prev in list] [next in list] [prev in thread] [next in thread] 

List:       owncloud
Subject:    Re: [Owncloud] Problem sending links using SMTP outside my email domain
From:       Victor Dubiniuk <victor.dubiniuk () gmail ! com>
Date:       2013-05-20 19:45:28
Message-ID: CA+UHsBuC4J9qL1wcUC35RRqJp-s-TTL7MMeVVa9X_u2jqGdfBw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


Hi,

On Wed, May 15, 2013 at 12:18 PM, RedLM - Luis Miguel Mu=F1oz <lm@redlm.com=
>
 wrote:
>
> 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.
>
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:

*>Connections originating from dynamically assigned IP addresses are not
allowed*. *Please use your ISP's relay servers*.

Please consider external mail host with static IP.
Some useful links related to oC  SMTP configuration:
https://github.com/owncloud/core/blob/master/config/config.sample.php#L87
https://github.com/Synchro/PHPMailer/tree/master/examples


Victor

On Wed, May 15, 2013 at 12:18 PM, RedLM - Luis Miguel Mu=F1oz <lm@redlm.com=
>wrote:

> Greetings from Spain.****
>
> ** **
>
> We are testing Owncloud for a customer, and we found a problem with
> sharing a link using SMTP with an external user.****
>
> ** **
>
> 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.****
>
> ** **
>
> If we share the link with a *xxxxx@redlm.com* email account, it works
> fine, but if we try with xxxxxx@gmail.com account we receive an error at
> the SMTP server.****
>
> ** **
>
> Mainly, the problem is the =93MAIL FROM=94 header:****
>
> ** **
>
> Wed 2013-05-15 11:04:33: --> 235 Authentication successful****
>
> Wed 2013-05-15 11:04:33: Authenticated as xxxxxxxxx@redlm.com****
>
> Wed 2013-05-15 11:04:33: <-- MAIL FROM:<sharing-noreply@xxxxx.dynalias.co=
m
> >****
>
> Wed 2013-05-15 11:04:33: --> 250 <sharing-noreply@xxxxx.dynalias.com>,
> Sender ok****
>
> Wed 2013-05-15 11:04:33: <-- RCPT TO:<xxxxxx@gmail.com>****
>
> Wed 2013-05-15 11:04:33: Sender attempted to deliver message to unknown
> address****
>
> Wed 2013-05-15 11:04:33: --> 550 <xxxxxx@gmail.com>, Recipient unknown***=
*
>
> Wed 2013-05-15 11:04:33: Connection closed****
>
> Wed 2013-05-15 11:04:33: SMTP session terminated (Bytes in/out: 156/375)*=
*
> **
>
> ** **
>
> So, the question is: is there any way to configure the SMTP MAIL FROM to
> exchange sharing-noreply@xxxxx.dynalias.com in the config.php or should I
> modify the code?****
>
> ** **
>
> I would rather avoiding any modification, as the upgrades will destroy
> them.****
>
> ** **
>
> Thanks in advance and kindest regards.****
>
>  ****
>
> [image: RedLM]****
>
> Luis-Miguel Mu=F1oz Benito   lm@redlm.com   +34 911 124 203
>
> Madrid (Espa=F1a)                                      Reino Unido (UK)
>
>            www.redlm.com            redlm@redlm.com ****
>
> ** **
>
> ** **
>
> ** **
>
> _______________________________________________
> Owncloud mailing list
> Owncloud@kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>
>

[Attachment #7 (text/html)]

<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">&lt;<a href="mailto:lm@redlm.com" \
target="_blank">lm@redlm.com</a>&gt;</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&#39;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">&gt;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&#39;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">&lt;<a href="mailto:lm@redlm.com" \
target="_blank">lm@redlm.com</a>&gt;</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: --&gt; 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: &lt;-- MAIL FROM:&lt;<a href="mailto:sharing-noreply@xxxxx.dynalias.com" \
target="_blank">sharing-noreply@xxxxx.dynalias.com</a>&gt;<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: --&gt; 250 &lt;<a href="mailto:sharing-noreply@xxxxx.dynalias.com" \
target="_blank">sharing-noreply@xxxxx.dynalias.com</a>&gt;, 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: &lt;-- RCPT TO:&lt;<a href="mailto:xxxxxx@gmail.com" \
target="_blank">xxxxxx@gmail.com</a>&gt;<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: --&gt; 550 &lt;<a href="mailto:xxxxxx@gmail.com" \
target="_blank">xxxxxx@gmail.com</a>&gt;, 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>

--089e0117686d22f44804dd2b9350--


["image001.jpg" (image/jpeg)]

_______________________________________________
Owncloud mailing list
Owncloud@kde.org
https://mail.kde.org/mailman/listinfo/owncloud


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic