Archive forFebruary, 2009

qmail : purge outbound messages

Trick qmail into thinking the messages have been around too long, it will give up and discard the messages. This can be done using find in conjunction with touch:

find /var/qmail/queue/ -type f -depth 3 -exec touch -t 200001010101 {} ;

Once we’ve touched the messages we then need to signal qmail to re-run the queue :

killall -ALRM qmail-send

check mail logs..

/var/log/qmail …

Comments off