Changes for page How to setup an XWiki docker container
Last modified by Alexandru Pentilescu on 2023/06/25 18:56
From version 43.1
edited by Alexandru Pentilescu
on 2022/06/09 22:54
on 2022/06/09 22:54
Change comment:
There is no comment for this version
To version 45.1
edited by Alexandru Pentilescu
on 2022/06/09 23:05
on 2022/06/09 23:05
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -270,8 +270,15 @@ 270 270 Having the option to reset your password via email will be really useful in this particular case. Of course, this implies that the email you set during your account setup is not outdated and still in your control. 271 271 To configure an SMTP server, go to the "Administer Wiki" section of the hamburger menu again, then expand the "Mail" section of the options on the left side and finally click on the "Mail Sending" menu option. 272 272 [[image:Mail.png]] 273 +Of course, the exact configuration options you have to enter depend on your SMTP server's configuration. If you configured mandatory authentication on your SMTP server, you will have to enter login credentials here. I don't have to do that, personally. 274 +The "EMAIL ADDRESS TO SEND FROM" can be any email address you wish to configure. Preferrably, it should be under the domain name of the machine where you're running your XWiki from (in my case, under "pentilescu.com"). 275 +The "EMAIL SERVER" option is a bit trickier. Assuming you're using postfix as your SMTP server, this should be an email configured in the "inet_interfaces" setting from the "/etc/postfix/main.cf" configuration file. 276 +Also, if your postfix is not configured to accept email relays from outside its network, as mine does, you must remember to edit "/etc/postfix/main.cf" to add "192.168.80.3" to its "mynetworks" configuration, to, essentially, whitelist your docker container as a valid relay source, otherwise it will deny any email sending requests from it. 277 +Please be sure to use the appropriate IP address as configured in your "docker-compose.yml" file for your xwiki service. 278 +For more information about postfix and setting it up, please visit the "How to setup a postfix SMTP server" article in the external references section at the bottom of this article! 273 273 274 274 = External references = 275 275 276 276 [[Official docker guide for installing XWiki>>https://github.com/xwiki/xwiki-docker/blob/master/README.md]] 277 -How to setup an Nginx reverse proxy and also provide a global X.509 certificate for it -- NOT YET WRITTEN!-- 283 +How to setup an Nginx reverse proxy and also provide a global X.509 certificate for it [NOT YET WRITTEN!] 284 +How to setup a postfix SMTP server [NOT YET WRITTEN]