Hi.

 

Thanks for your help, but the main problem is the “Sender” address. My SMTP
does not allows Relay –as a security measure- and the “Sender” has to be an
authorized account.

 

So, I had to modify mail.php as I found no config.php string to define the
sender.

 

Regards.

 

 


RedLM

Luis-Miguel Muñoz Benito   [email protected]   +34 911 124 203 

Madrid (España)                                      Reino Unido (UK)

           www.redlm.com <http://www.redlm.com/>             [email protected]


 

 

De: [email protected] [mailto:[email protected]] En nombre de
Victor Dubiniuk
Enviado el: lunes, 20 de mayo de 2013 21:45
Para: [email protected]
Asunto: Re: [Owncloud] Problem sending links using SMTP outside my email
domain

 

Hi,

 

On Wed, May 15, 2013 at 12:18 PM, RedLM - Luis Miguel Muñoz <[email protected]>
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 <[email protected]>
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 [email protected] email account, it works fine,
but if we try with [email protected] 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 [email protected]

Wed 2013-05-15 11:04:33: <-- MAIL FROM:<[email protected]>

Wed 2013-05-15 11:04:33: --> 250 <[email protected]>,
Sender ok

Wed 2013-05-15 11:04:33: <-- RCPT TO:<[email protected]>

Wed 2013-05-15 11:04:33: Sender attempted to deliver message to unknown
address

Wed 2013-05-15 11:04:33: --> 550 <[email protected]>, 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 [email protected] 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.

 


RedLM

Luis-Miguel Muñoz Benito   [email protected]   +34 911 124 203
<tel:%2B34%20911%20124%20203>  

Madrid (España)                                      Reino Unido (UK)

           www.redlm.com <http://www.redlm.com/>             [email protected]


 

 

 


_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

 

<<image001.jpg>>

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to