[Owncloud] smtp settings

Sebastian Kronenwerth sebastian at kronenwerth.de
Wed Aug 15 16:50:53 UTC 2012


Hi all,

today I have tried to configure the smtp settings like this:

> you can use the following keys in the config.php to setup SMTP:
> 
> 'mail_smtpmode' => 'smtp',
> 'mail_smtphost' => 'host.tld',
> 'mail_smtpauth' => true,
> 'mail_smtpname' => 'name',
> 'mail_smtppassword' => 'password'

Okay, my mailserver isn't at the same machine and only smtp is possible
for me. Two examples:

In my config file I set the smtp user user1 at mydomain.tls. At the
interface I tried to share a private link and sent an email with them to
another person. The user at owncloud has the emailaddress
user1 at mydomain.tls, everything is fine, the link was sent by owncloud.

I logged in with another user which has the emailaddress
user2 at domain.tls. I also tried to send a private link but I couldn't
because owncloud is trying to log in at the mailserver with the username
user1 at mydomain.tls and sent an email with the senderaddress
user2 at mydomain.tls. This is not allowed because the username for this
user is not correct at the mailserver.

Is there any possibility to set something in the config to induce
owncloud that it sends all owncloud(-system) mails only with one sender?

Thanks,
Sebastian



More information about the Owncloud mailing list