OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Craig Sanders (castaz.net.au)
Date: Thu May 02 2002 - 22:25:08 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Fri, May 03, 2002 at 12:06:21AM +0300, Liviu Daia wrote:
    > for pval in $( mailq | sed -e '1d; $d; /^$/d; s/[* ].*$//' ); do

    that sed script matches the occasional line where the "(" in the
    deferral messages like "(host fqdn.fqdn.fqdn[ip.ip.ip.ip] said: 452
    Insufficient disk space)" is at the start of the line.

    try this instead:

      for pval in $( mailq | sed -e '1d; $d; /^[^0-9A-Z]\|^$/d; s/[* ].*$//'); do

    craig

    -- 
    craig sanders <castaz.net.au>
    

    Fabricati Diem, PVNC. -- motto of the Ankh-Morpork City Watch - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users