[Owncloud] Problem sending links using SMTP outside my email domain

Victor Dubiniuk victor.dubiniuk at gmail.com
Mon May 20 19:45:28 UTC 2013


Hi,

On Wed, May 15, 2013 at 12:18 PM, RedLM - Luis Miguel Muñoz <lm at 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ñoz <lm at 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 at redlm.com* email account, it works
> fine, but if we try with xxxxxx at gmail.com account we receive an error at
> the SMTP server.****
>
> ** **
>
> Mainly, the problem is the “MAIL FROM” header:****
>
> ** **
>
> Wed 2013-05-15 11:04:33: --> 235 Authentication successful****
>
> Wed 2013-05-15 11:04:33: Authenticated as xxxxxxxxx at redlm.com****
>
> Wed 2013-05-15 11:04:33: <-- MAIL FROM:<sharing-noreply at xxxxx.dynalias.com
> >****
>
> Wed 2013-05-15 11:04:33: --> 250 <sharing-noreply at xxxxx.dynalias.com>,
> Sender ok****
>
> Wed 2013-05-15 11:04:33: <-- RCPT TO:<xxxxxx at 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 at 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 at 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ñoz Benito   lm at redlm.com   +34 911 124 203
>
> Madrid (España)                                      Reino Unido (UK)
>
>            www.redlm.com            redlm at redlm.com ****
>
> ** **
>
> ** **
>
> ** **
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130520/dbb822c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2925 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130520/dbb822c3/attachment.jpg>


More information about the Owncloud mailing list