Morten Bo Johansen wrote in
 <slrnua09n1.ngv4....@gatsby.mbjnet.dk>:
 |On 2023-06-30 Steffen Nurpmeso wrote:
 ...

GMANE is great, i use it every day.

 |>   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
 |>
 |
 |I use: YOURFILE=imaps://mail.simply.com
 |
 |It doesn't quite work. It just says:
 |
 |  m...@mail.simply.com requires a password:
 |  mail: A password is necessary for imap authentication
 |
 |but user and password is in my ~/.netrc. How can I tell your
 |script to use that?

Leave off -":/" flag to read your normal $MAILRC?
(You also do not need "xit" with "</dev/null", really.)

Ciao, and a nice weekend (if you can),

--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