Subject: Re: new sendmail spooling and dns
To: Steven M. Bellovin <smb@research.att.com>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 03/31/2003 21:35:01
>>> when you go back on-line, then the dns lookups can work again, so
>>> the queue can be flushed.  
>>
>>Sometimes I go on line just for a moment and just for the purpose of
>>sending mail.  So, the solution apparently is to "wake up" the 
>>queue runner and get it to flush the clientmqueue as soon as I go on 
>>line.  What would be the best way to to sound the reveille bugle?
>
>It's been a long time since I've used sendmail, but 'sendmail -q'
>is (according to the man page) the way to attempt delivery of each 
>queued message.

that will flush the main queue (as before), except now that sendmail
is sgid smmsp, you don't have sufficient privileges for that as a
regular user (unlike before).

to flush the "client" queue, use "sendmail -q -Ac".

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."