Mail is deferred, and the following error message show up in the maillog:
host localhost[127.0.0.1] said: 451 Transaction failed. ERROR: write to file
The output of df command is shown as:
# df -h
Filesystem Size Used Avail Use% Mounted on
9.7G 9.7G 0 100% /
30G 173M 28G 1% /snapshot
156G 17G 131G 12% /var/app_data
20G 4.1G 15G 22% /var/spool
/dev/sda1 122M 13M 104M 11% /boot
tmpfs 2.0G 100K 2.0G 1% /dev/shm
The root folder / is out of space; and both /tmp folder and /opt/trend/imss/temp folder are in this partition. When users manually copy many files to /tmp folder, while the partition is out of space, it causes IMSVA to fail to write mail data files to /opt/trend/imss/temp. Mail scanning stops because of the write file error. They then get stuck in the Postfix queue.
To solve this problem:
- Use PuTTY or other SSH tools to SSH to IMSVA with root account.
- Remove the manually copied files under /tmp folder
- Flush the mail queue with postqueue command: