codeblog code is freedom — patching my itch

December 18, 2007

force sendmail to deliver a specific item from the queue

Filed under: Networking,Ubuntu — kees @ 8:11 pm

In case I or someone else ever needs this trick again, here’s my quick solution to work around QueueAge limits, and only force a specific queue id to get delivery retried:

/usr/sbin/sendmail -v -o MinQueueAge=0 -qI${ID_GOES_HERE}

© 2007, Kees Cook. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Creative Commons License


  1. Isn’t that usually done using just ‘runq -M ‘ ?

    Comment by Anonymous — December 19, 2007 @ 1:00 am

  2. ewww sendmail…

    lucien:~$ host -t MX mail is handled by 10 mail is handled by 10
    lucien:~$ telnet 25
    Connected to
    Escape character is ‘^]’.
    220 – Maillennium ESMTP/MULTIBOX kcin03 #235
    Connection closed by foreign host.

    I should google ‘ol steve…

    Comment by Aaron — December 19, 2007 @ 6:26 am

Leave a Reply

Your email address will not be published. Required fields are marked *

Powered by WordPress