Donāt Kill me for asking what might be a stupid question, and for the long details, but I could not find a solution for my problemā¦
So I am a bit confused. I do not understand why I have to enable imap if I am only sending, not retrieving? In the past, you could set up one outgoing email and everyone could use it - if it was selected as such via Admin set up. Recently we moved away from Gmail so I had to reset our email for the system.
The issue I am having now is that even though I have the relay working and have confirmed such via t the send test. My account which is an Admin account will not let me reset another users password. I get the Inbound Email cannot function without the IMAP c-client libraries enabled/compiled with the PHP module.
Eventually, it fails and times out with this error in the log file. āThe outbound mail server selected for the mail account you are using is invalid. Check the settings or select a different mail server for the mail account.ā Of course, I can not set up a user email account because Imap is not configured or working correctly.
So I went to enable find out what PHP was runing and where via root php -i | grep php.ini
and got thisā¦
Configuration File (php.ini) Path => /etc/php7/
Loaded Configuration File => /etc/php7/php.ini
So when I add extension = imap.so at the bottom of the php.ini
I get this when tying to see if it is now enabled⦠via php -m
PHP Warning: PHP Startup: Unable to load dynamic library āimap.soā (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imap.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imap.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-n on-zts-20170718/imap.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imap.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Not sure Why it is trying to pull in the user php extensions, So I think maybe it is not installed.
so I look to see what the status is and what is actually running via systemctl status php-fpm.service
ā php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled; vendor preset: disabled)
Active: inactive (dead)
But if I run it for the system php7-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/etc/systemd/system/php7-fpm.service; enabled; vendor preset: disabled)
Active: active (running) si
So I think it is not installed so I dnf install php-imap via root
and get this
Package php-imap-7.1.8-1.fc23.remi.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
[root@suite php7]# Package php-imap-7.1.8-1.fc23.remi.x86_64 is already installed, skipping.
At this point, I have no Idea what PHP version Suite is actually running or which modules are installed, or which php.ini I am to update to get email working.
Does anyone have any insight? What am I missing?
I donāt know what to do at this point to get the system to allow others to reset passwords or send emails.
I guess I could manually do it via hash. Does anyone know which Hash to use will md5 be sufficient? It looks like other users hash code starts with 1$1$ is that necessary?