-
Notifications
You must be signed in to change notification settings - Fork 46
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email Invitations #31
Comments
I figure installing sendmail is all that's needed (https://stackoverflow.com/questions/38299776/usr-sbin-sendmail-not-found/38299891). I'll post an update when I updated the Dockerfile, would you be able to test it then? |
yeah, for sure. I tried it and got stuck with the postfix installation :( |
Ok, it's building now - based on previous Docker Hub builds, that'll take about 1.5h. Can you then please give it a try with one of the following (well, ideally both if you can) images?
|
Yeah, I found that SO answer, too. I am still not sure, if that's the right thing to do since that means to really host such an smtp server which comes with quite some effort. I think it would be nicer to be able to include a service or at least having it configured outside the baikal container? |
that description might be interesting for the setup: https://mchodled.com/posts/2020/Apr/03/de-google-your-calendar-with-baikal/#configure-email-invitation-plugin |
I will provide a PR with my changes soon. It's working but I struggle to set the values in |
@philippneugebauer I'm working on this myself. Using the solution from the mchodled.com link, I think it's possible to mount the files as volumes, so the end user should just have an #...
services:
baikal:
image: ckulka/baikal:nginx
container_name: baikal
restart: unless-stopped
volumes:
- ./config:/var/www/baikal/config
- ./data:/var/www/baikal/Specific
- ./msmtp_php:/etc/.msmtp_php The real trick is to update the sed -i 's/;sendmail_path =/sendmail_path = "/usr/bin/msmtp -C /etc/.msmtp_php --logfile /var/log/msmtp.log -a ${SENDMAIL_ACCOUNT} -t"/' /etc/php/8.0/fpm/php.ini where SENDMAIL_ACCOUNT is an environmental variable I haven't had time to test yet, though. |
have you had a look at my PR? @ahgraber |
Apologies, was moving fast trying to solve the same problem and just saw the comment about struggling to set values -- didn't see the PR link. Wasn't trying to be pedantic, just wanted to help :) Your solution is specific to the :apache version? |
I did not mean it like that, I rather wanted to point out the PR to get some feedback from you I just haven't implemented it for nginx since I wanted to get some feedback first to avoid duplicate work |
I'll follow up with comments on the PR itself. |
Is this problem closed ? Is there a tutorial to use email invites ? |
there is a possible option in #32 |
I recently installed this container (great work!) on my Synology NAS and would love to get the email invites working. How would I go about enabling this? Do I need to download the experimental nginx version? Or is it going to get included in the latest release soon? Happy to be a tester but would need some help on how to get started. Also, I use a mail relay, not sure if this makes a difference? |
build the dockerfile from #32 on your own and use it |
Thanks, I got it to build but it is complaining that msmtprc is not installed in the synology box. I found msmtprc and tried to install it, but it tells me that there is no suitable C compiler found to do that....now trying to figure out how to install that. Let me know if you have any ideas. For a broader distribution it might be good to include those steps in the automated installation. |
update, I'm not having any luck getting msmtprc to build in my synology box. I get errors about libraries missing and errors in the MAKE file. Does anybody know where I could find the already built images? It is a DS918+ with the Intel Celeron processor. |
Seriously considering installing Nextcloud just to get email notification, it's too complicated to compile msmtp for a DS918+... is there another way (simplier?) ? |
Lenn thanks for this note, it caused me to look into installing nextcloud to a caldav server with working invites running on DSM 7.0. I followed these instructions and it was really easy. First I tried to install in Docker but then I decided to do the native install. |
I've been a happy radicale user for a few years now, after initially migrating away a couple of years ago. The reason was wanting to be able to send calendar invites for personal events, e.g. holiday flights. I've managed to use sendmail as included by the experimental images but that required a number of hacks:
This is the command I'm using that actually delivers mail properly to gmail and the like:
If any one is interested in the k8s manifest I used: |
Thanks all, especially @philippneugebauer and @vaskozl. My proposal below is basically just a mix of #32 and #31 (comment). Would like to hear what you think of this:
The version: '2'
services:
baikal:
image: ckulka/baikal:nginx
environment:
BAIKAL_SERVERNAME: baikal.yourdomain.com
SENDMAIL_FROM: [email protected]
SENDMAIL_MAILER_DEFINITIONS: |
define(\`SMART_HOST', \`mail.yourdomain.com')dnl The The The If it's always the same one, we can reuse |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Have you thought about solutions for enabling email invitations?
When I try that, I get the following error:
The text was updated successfully, but these errors were encountered: