Hi, Martin McCormick via Exim-users <[email protected]> (Sa 02 Jun 2018 18:33:41 CEST): > > I even wrote a little shell script that one runs > under sudo > > #!/bin/sh > msg=`mailq |awk '{print $3}'` > if ! test -z $msg;then > exim4 -d -M $msg > fi > > That's because there are two other lines besides the one > with the message ID but field 3 is empty.
You missed your friend:
exipick -i <lots of other options>
which leads to
exipick -i | xargs -n1 exim -d -M
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: F69376CE -
! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -
signature.asc
Description: PGP signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
