Hi,

On Wed, May 15, 2013 at 12:18 PM, RedLM - Luis Miguel Muñoz <l...@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 
<l...@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 *xx...@redlm.com* email account, it works
> fine, but if we try with xxx...@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 xxxxxx...@redlm.com****
>
> Wed 2013-05-15 11:04:33: <-- MAIL FROM:<sharing-nore...@xxxxx.dynalias.com
> >****
>
> Wed 2013-05-15 11:04:33: --> 250 <sharing-nore...@xxxxx.dynalias.com>,
> Sender ok****
>
> Wed 2013-05-15 11:04:33: <-- RCPT TO:<xxx...@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 <xxx...@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-nore...@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   l...@redlm.com   +34 911 124 203
>
> Madrid (España)                                      Reino Unido (UK)
>
>            www.redlm.com            re...@redlm.com ****
>
> ** **
>
> ** **
>
> ** **
>
> _______________________________________________
> Owncloud mailing list
> Owncloud@kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>
>

<<image001.jpg>>

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

Reply via email to