Topic: Can No Longer Receive Email, but Still Can Send
==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04
- Related log if you're reporting an issue: ?
====
Hi, I successfully setup iRedMail on EC2 Ubuntu, including DNS as per the iRedMail guide, and successfully received 1 email that day. Now, several days later, I've discovered I can no longer receive any messages (including from the gmail account I received the original successful email), but I can send them without issue. I've not changed my DNS setup since original setup.
* /var/log/syslog shows no updates immediately after I send an email to my iRedMail server account
* /var/log/cbpolicyd.log is empty
* /var/log/mail.err shows no new lines
* /var/log/mail.log shows no new lines after sending mail to iRedMail server account
I do have some failing cron emails in my postmaster inbox:
Error while processing /etc/awstats/awstats.smtp.conf
Create/Update database for config "/etc/awstats/awstats.smtp.conf" by AWStats version 7.2 (build 1.992)
From data in log file "perl /usr/share/doc/awstats/examples/maillogconvert.pl standard < /var/log/mail.log |"...
Error: Couldn't open server log file "perl /usr/share/doc/awstats/examples/maillogconvert.pl standard < /var/log/mail.log |" : Cannot allocate memory
Setup ('/etc/awstats/awstats.smtp.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
----
/etc/cron.daily/apt:
Segmentation fault
----
I did have some log errors about failure to fork because my server was low on memory. I've since added a swapfile, and haven't seen any such new errors since.
What could be going wrong?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.