[nSLUG] Re: Force sendmail to "send now"?
synrg at sanctuary.nslug.ns.ca
Sun Oct 22 09:09:54 ADT 2006
Mike Spencer wrote:
> Hm... It looks like just sendmail -q should do it. Requires a close
> reading of the book. I'm not perfectly clear on how it works when
> yourun sendmail from the commandline while an instance is already
> running as a daemon but it looks like that's supposed to do it.
Yes, that's by design. You might also want to look at
/etc/network/ifdown.d/. For instance, on Debian, postfix has a hook
here to run down the queue just before the network is disconnected.
More information about the nSLUG