Summary
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
/dev/mapper/IMSVA-Root2
9.7G 9.7G 0 100% /
/dev/mapper/IMSVA-Snapshot
30G 173M 28G 1% /snapshot
/dev/mapper/IMSVA-App_data
156G 17G 131G 12% /var/app_data
/dev/mapper/IMSVA-Spool
20G 4.1G 15G 22% /var/spool
/dev/sda1 122M 13M 104M 11% /boot
tmpfs 2.0G 100K 2.0G 1% /dev/shm
Root cause:
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:
#postqueue -f
Always avoid copying files to /tmp folder. Use /var/app_data folder instead for tempoary file copies because the partition /dev/mapper/IMSVA-App_data is much bigger.