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 4.0 License.
CC BY-SA 4.0

2 Comments

  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 attglobal.net
    attglobal.net mail is handled by 10 mx1.prserv.net.
    attglobal.net mail is handled by 10 mx2.prserv.net.
    lucien:~$ telnet mx1.prserv.net 25
    Trying 12.154.55.40…
    Connected to mx1.prserv.net.
    Escape character is ‘^]’.
    220 prserv.net – Maillennium ESMTP/MULTIBOX kcin03 #235
    quit
    221 prserv.net
    Connection closed by foreign host.

    I should google ‘ol steve…

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

Powered by WordPress