Para lidar com filas no sendmail, você tem o utilitário qtool.pl no diretório contrib source do sendmail. Atualmente em algumas distribuições, o qtool.pl é instalado junto com o sendmail.
qtool - manipule as filas do sendmail
EXAMPLES
qtool.pl q2 q1 Moves all of the queue files in queue q1 to queue q2. qtool.pl q2 q1/d6CLQh100847 Moves the message with id d6CLQh100847 in queue q1 to queue q2. qtool.pl q2 q1/qfd6CLQh100847 Moves the message with id d6CLQh100847 in queue q1 to queue q2. qtool.pl -e '$msg{num_delivery_attempts} == 3' /q2 /q1 Moves all of the queue files that have had three attempted deliveries from queue q1 to queue q2.
Por favor, veja também: