www/content/blog/miscellaneous/qmail.md

597 B

title date description tags
Qmail 2018-03-05 Some qmail commands
toolbox

Commands

  • Get statistics : qmail-qstat
  • list queued mails : qmail-qread
  • Read an email in the queue (NNNN is the #id from qmail-qread) : find /var/qmail/queue -name NNNN| xargs cat | less
  • Change queue lifetime for qmail in seconds (example here for 15 days) : echo 1296000 > /var/qmail/control/queuelifetime

References