Hello.

iirc i whitelisted the other address of yours.

Morten Bo Johansen wrote in
 <[email protected]>:
 |Can I do that?
 |
 |E.g.:
 |
 |  echo from <last 25> | mail -f imaps://mail.server.com
 |  
 |But how do I specify the last 25 messages?

  YOURFILE=imaps://mail.server.com
  </dev/null mail -S v15-compat=y -Rf:/ -Y '
      vput = i \$
      eval i $i -le 25
        se j=1
      ele
        vput vexpr j - $i 25
      en
      sea ${j}-$i
      xit
    ' $YOURFILE

If you add -# you can control output width via $COLUMNS.
Otherwise you may need no*header*.
v14.10 will instead be shorter:

  </dev/null COLUMNS=130 s-nail -R#f:/ -Y '
    vput = i \$
    : $((j = i <= 25 ? 1 : i - 25))
    sea ${j}-$i
    xit
    ' ~/sec.arena/mail/mbox

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to