Thanks for your reply, Eric.

This turns out to be a known issue with Squirrelmail on newer PHPs. Following your suggestion, I did the following:

1. Fetched the current stable snapshot of Squirrelmail from squirrelmail.org.
2. Unzipped it, and placed it in `/usr/share/squirrelmail-stable`.
3. Copied over my existing `config.php` from `/usr/share/squirrelmail/config/config.php` to `/usr/share/squirrelmail-stable/config/config.php`.
4. Edited the new `config.php` to make the following changes:

  $optional_delimiter = '.';
  $default_folder_prefix = '';

5. Edited `/etc/httpd/conf/squirrelmail.conf` as follows:

        <IfModule mod_alias.c>
        Alias /webmail /usr/share/squirrelmail-stable
        </IfModule>
        <Directory /usr/share/squirrelmail-stable>
           Options None
           Order allow,deny
           Require all granted
           allow from all
        </Directory>

6. Restarted Apache with:

        apachectl restart

This seems to have taken care of the issue.

Thanks,

Angus



Eric Broch wrote on 11/29/20 1:09 AM:
Would it help to role the most recent squirrelmail?

On 11/28/2020 9:14 PM, Angus McIntyre wrote:
I'm finalizing a new CentOS 8 install, built using an ansible role based on Eric's install instructions.

The role sources the qmailtoaster packages from Eric's collection including squirrelmail. The squirrelmail version installed is 1.4.22.-3.qt.el8. It's running on PHP 7.4.3.

In the Inbox list view, some messages are displayed without anything in the Subject column (and in some cases, the From column as well). It turns out that these messages have an encoded 'Subject' (or 'From') header, e.g. something that begins with "=?utf-8?Q? ...." and it looks as if 'htmlspecialcharacters' in '/usr/share/squirrelmail/functions/i18n.php' is returning an empty string for these items.

This is apparently a known issue with this version of Squirrelmail, which is not-quite-the-latest version. I tried some suggested fixes, but they didn't work for me.

Has anyone else encountered this issue and, if so, how did you solve it?

Thanks,

Angus





---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to