docker icon indicating copy to clipboard operation
docker copied to clipboard

Enabling the Email connector in a docker install

Open ruudschilders opened this issue 11 months ago • 3 comments

I have installed Friendica using Docker. I use the friendica:fpm image. I want to enable the Email connector, but when I go to Admin > Site > Policies, I can't enable it. It says:

Mail support can't be enabled because the PHP IMAP module is not installed.

Can this be added to the image?

ruudschilders avatar Jan 20 '25 12:01 ruudschilders

I don't mind adding the php imap module to the image. I'll check if ist is possible.

ne20002 avatar Jan 31 '25 10:01 ne20002

It looks like the php imap module is a problematic one. It is removed from php core in php 8.4 and moved to pecl. There is also some kind of unofficial replacement.

Maybe @annando or @MrPetovan have a recommendation on what to do with the imap functionality.

I postpone this issue until the situation has been clarified.

ne20002 avatar Feb 27 '25 09:02 ne20002

The replacement suggestion looks good, but will require a refactoring of the email connector not to depend on the imap module anymore: https://github.com/Webklex/php-imap

MrPetovan avatar Feb 27 '25 16:02 MrPetovan