Reputation: 160
Hello I am running Plesk 10.4.4 with Qmail and noticed that one of my customers was spammed with an invalid address to which qmail kept trying to reply to. This unfortunately caused a major pile up (over 100 emails) in the system with some retries being held up for over 7 days and any new emails trying to go out would take up to 2 hours even if the addresses are correct.
Is there any way to tell qmail to not keep retrying and delete anything from queue that is over 2 hours old?
Upvotes: 0
Views: 1334
Reputation: 10312
echo "7200" > /var/qmail/control/queuelifetime
/etc/init.d/qmail restart
7200 - it's 2 hours * 60 minutes * 60 seconds
But I think that 2 hours may be not enough, 1 or 2 days is OK for me.
Upvotes: 1