Hi Skaero
Thank you for replying.
the reason i did not post anything from the errors.log was.
cd /var/www/html/webmail/logs/
[root@host logs]# cat errors.log
[root@host logs]# ls -al
total 44248
drwxr-xr-x 2 apache apache 4096 Mar 28 2022 .
drwxr-xr-x 12 apache apache 4096 Mar 11 17:38 ..
-rw-r--r-- 1 apache apache 1 Mar 9 09:38 errors.log
-rw-r--r-- 1 apache apache 164 Oct 17 2021 .htaccess
-rw-r--r-- 1 apache apache 39425705 Mar 11 17:49 imap.log
-rw-r--r-- 1 apache apache 205024 Mar 11 17:25 ldap.log
-rw-r--r-- 1 apache apache 3318 Mar 11 14:07 sendmail.log
-rw-r--r-- 1 apache apache 97772 Mar 11 14:07 smtp.log
-rw-r--r-- 1 apache apache 5534301 Mar 11 17:49 sql.log
in addition to your question, ill assume you might want my log settings.
from /var/www/html/webmail/config/config.inc.php
$config['debug_level'] = 10;
// Log SQL queries
$config['sql_debug'] = true;
// Log IMAP conversation
$config['imap_debug'] = true;
// Log LDAP conversation
$config['ldap_debug'] = true;
// Log SMTP conversation
$config['smtp_debug'] = true;
$config['log_driver'] = 'syslog';
$config['syslog_facility'] = LOG_MAIL;
and from php.ini
error_reporting
Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
Development Value: E_ALL
Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
log_errors
Default Value: on
Development Value: On
Production Value: On
the logs i gave in my first post come from maillog, but they are pretty much the same as what goes into imap.log.
the apache logs may be off assistance to you, but i cant fathom out where they are comming from, in the maillog there is a line as follows.
Mar 12 10:19:51 host roundcube[108700]: <l9ik2lel> [7B74] C: A0002 ID ("name" "Roundcube" "version" "1.6.6" "php" "7.4.33" "os" "Linux" "command" "/webmail/?_task=mail&_caps=pdf%3D1%2Cflash%3D0%2Ctiff%3D0%2Cwebp%3D1%2Cpgpmime%3D0&_uid=6137&_mbox=INBOX&_framed=1&_action=preview")
and that lines up with the 500 error from httpd as follows.
ipaddress - - [12/Mar/2024:10:19:51 +0000] "GET /webmail/?_task=mail&_caps=pdf%3D1%2Cflash%3D0%2Ctiff%3D0%2Cwebp%3D1%2Cpgpmime%3D0&_uid=6137&_mbox=INBOX&_framed=1&_action=preview HTTP/1.1" 500 634 "
http://host:/webmail/?_task=mail&_mbox=INBOX" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"
the apache error log has no error log matching the event, the last log to it was yesterday when i restarted httpd, so not relevant to today's replay of the error
regards peter