Re: [qmailtoaster] qmHandle patched issue

2019-03-26 Thread Eric Broch

Thanks.

On 3/26/2019 4:21 PM, xaf wrote:

Hi,

Try to delete message from x...@xxx.xxx

qmHandle -tf 'x...@xxx.xxx'
Message matching "From: -tf" not found in the queue!

qmHandle:79-82
$arg =~ /^-t(.)/ and do { push @actions, "&DelAllMatches('$1', '$ARGV[0]')";
   shift @ARGV;
   last SWITCH;
     };
shift is called after push
$ARGV[0] = -tf

should be
$arg =~ /^-t(.)/ and do { shift @ARGV;
   push @actions, "&DelAllMatches('$1', '$ARGV[0]')";
   last SWITCH;
     };
$ARGV[0] = x...@xxx.xxx

xaf

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


--
Eric Broch
White Horse Technical Consulting (WHTC)


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] qmHandle patched issue

2019-03-26 Thread xaf
Hi,

Try to delete message from x...@xxx.xxx

qmHandle -tf 'x...@xxx.xxx'
Message matching "From: -tf" not found in the queue!

qmHandle:79-82
$arg =~ /^-t(.)/ and do { push @actions, "&DelAllMatches('$1', '$ARGV[0]')";
  shift @ARGV;
  last SWITCH;
    };
shift is called after push
$ARGV[0] = -tf

should be
$arg =~ /^-t(.)/ and do { shift @ARGV;
  push @actions, "&DelAllMatches('$1', '$ARGV[0]')";
  last SWITCH;
    };
$ARGV[0] = x...@xxx.xxx

xaf

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com