codeblog

12/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}

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Facebook
  • Google
  • Technorati

2 Comments »

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

    Comment by Anonymous — 12/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 — 12/19/2007 @ 6:26 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress