1

Topic: Error Log in postmaster mail

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

This morning on my email postmaster appeared two logs related to errors in the script:

Cron <root@mail> python /opt/iredapd/tools/spf_to_greylist_whitelists.py >/dev/null

Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/handlers.py", line 77, in emit
    self.doRollover()
  File "/opt/iredapd/tools/../libs/logger.py", line 113, in doRollover
    os.remove(dfn)
OSError: [Errno 2] No such file or directory: '/var/log/iredapd/iredapd.log.2016-06-13'
Logged from file spf_to_greylist_whitelists.py, line 316
Cron <root@mail> /usr/bin/php /opt/www/roundcubemail/bin/cleandb.sh >/dev/null

PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to allocate 3072 bytes) in /opt/www/roundcubemail-1.1.5/vendor/composer/autoload_real.php on line 16

----

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

2

Re: Error Log in postmaster mail

How much memory do you have on this server?

3

Re: Error Log in postmaster mail

ZhangHuangbin wrote:

How much memory do you have on this server?

1GB on Intel Xeon E5 v3

4

Re: Error Log in postmaster mail

iRedMail requires at least 2GB for low traffic mail server. Your issue seems caused due to lack of memory.