-
Hello, I'm getting started with LDAP and after learning the basics I decided to try FusionDirectory to get some more features. I'd like to use the Invitations plugin, which seems fairly straightforward. However I haven't been able to figure out how to properly configure an SMTP server to actually send the invitations. I have an external mail server running Mailu which uses Postfix and Dovecot. I installed the plugins in both the frontend and the openldap instance but the configuration is like nothing I've seen before. I tried creating a server entry with a dovecot service and using it as the IMAP server for the admin account, sadly without success. There's no documentation for the Postfix plugin so I'm at a loss. Can you give me a hand? =) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I've no experience with the invitations plugin personally but the base image includes SMTP support. Have a peek here: https://github.com/tiredofit/docker-alpine#messaging-options for the SMTP options available. You would simply want to just set the SMTP_HOST to your Postfix server and an optional SMTP_PORT and SMTP_USER/SMTP_PASS. The container should auto configure with those settings. If you wanted to try without restarting the container over and over again finding the right settings you can go inside the fusiondirectory frontend container and edit /etc/msmtprc directly and the php engine will immediately use those settings. I used to have a feature in these images which caught the mail so you could see it actually going out. I took it out a few months ago as there wasn't much purpose in my use case, but here is a definite use case :) |
Beta Was this translation helpful? Give feedback.
I've no experience with the invitations plugin personally but the base image includes SMTP support. Have a peek here: https://github.com/tiredofit/docker-alpine#messaging-options for the SMTP options available. You would simply want to just set the SMTP_HOST to your Postfix server and an optional SMTP_PORT and SMTP_USER/SMTP_PASS. The container should auto configure with those settings.
If you wanted to try without restarting the container over and over again finding the right settings you can go inside the fusiondirectory frontend container and edit /etc/msmtprc directly and the php engine will immediately use those settings.
I used to have a feature in these images which caught the mail…