1

Topic: Every 30 min in postmaster mailbox there is an strange mail

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 16.04.1 x64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

Subject: Cron <root@mail> [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean
Body: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/imap.so' - /usr/lib/php/20151012/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0

What does it mean ?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Every 30 min in postmaster mailbox there is an strange mail

Seems caused by the cleanup task which runs '/opt/www/roundcubemail/bin/cleandb.sh' in root user's cron jobs. But the problem is, seems your server doesn't have package 'php-imap' installed.

3

Re: Every 30 min in postmaster mailbox there is an strange mail

ZhangHuangbin wrote:

Seems caused by the cleanup task which runs '/opt/www/roundcubemail/bin/cleandb.sh' in root user's cron jobs. But the problem is, seems your server doesn't have package 'php-imap' installed.

php-imap/xenial,xenial,now 1:7.0+35ubuntu6 all [installed]
  IMAP module for PHP [default]

4

Re: Every 30 min in postmaster mailbox there is an strange mail

I'm a little confused. The error message in first post seems generated by a cron job under /etc/cron.*, could you please check again? Also check why it tries to read /usr/lib/php/20151012/imap.so, maybe it should read same file in another directory?

5

Re: Every 30 min in postmaster mailbox there is an strange mail

ZhangHuangbin wrote:

I'm a little confused. The error message in first post seems generated by a cron job under /etc/cron.*, could you please check again? Also check why it tries to read /usr/lib/php/20151012/imap.so, maybe it should read same file in another directory?

I'm confused too. Now it disappeared. I'll check it tomorrow again.