Χάρης Καραχριστιανίδης wrote in
<20230217184829.j1piy%[email protected]>:
|Steffen Nurpmeso <[email protected]> wrote:
|> Χάρης Καραχριστιανίδης wrote in
|> <20230217133009.z4nty%[email protected]>:
|>|Steffen Nurpmeso <[email protected]> wrote:
|>|> Χάρης Καραχριστιανίδης wrote in
|>|> <20230216081131.myqru%[email protected]>:
|>|>|Steffen Nurpmeso <[email protected]> wrote:
|>|>|> Χάρης Καραχριστιανίδης wrote in
|> ...
|>|For message "s-nail: type: needs an active mailbox" how should my \
|>|mailbox \
|>|be? Everything in my .mailrc points to the web imap folder.
|>
|> Must be connected, then.
|> If the connection breaks, and the code recognizes it, there is no
|> "active mailbox" no more, and the above message appears. You need
|> to switch to another folder then. (v15 will improve this a bit.
|> BUT will have no IMAP for a while. :))
...
|I pointed MBOX to imap but the message still appears..
|
|Thank you for help!
|
|account otenet {
| set MAIL=$HOME/.mail/account1/
| set smtp-use-starttls
| set mta=smtp://mail.xxx.xx
| set from="xxxx <[email protected]>"
| set folder=.mail/account1
Now you confuse me. You want this to be on IMAP, right?
There are examples in the manual, btw.
| set MBOX=imaps://imap.xxxxxx.xx:xxx
| set record=imaps://imap.xxxxxx.xx:xxx/Sent
| set inbox=imaps://imap.xxxxxx.xx:xxx
It is *inbox* _or_ $MAIL.
| set imap-keepalive=240
| set imap-cache=~/.mail/.imap_cache
| shortcut imap imaps://imap.xxxxxx.xx:xxx
|}
set v15-compat=y
account otenet {
set smtp-use-starttls
set mta=smtp://mail.xxx.xx
set from="xxxx <[email protected]>"
set folder=imaps://imap.xxxxxx.xx:xxx
set inbox=$folder
set MBOX=+
Though - primary and secondary being the same is something i had
to think about. (Ie, implications, whether it works. But in
modern mail usage MBOX is usually not used. Why do you want it?)
set record=+Sent
set imap-keepalive=240
set imap-cache=~/.mail/.imap_cache
shortcut imap +
But instead simply say "file @" or "file +", easier in your
example i would think.
set netrc-lookup
You said you have stored user and password in ~/.netrc.
}
If you then run "s-nail -A otenet" you should go via internet to
$inbox aka $folder immediately.
If that fails because connection fails then there will be no
active mailbox and the above message occurs.
You could try "s-nail -A otenet -vv" and look whether connection
an authentication succeeds.
The above (more or less) should really work.
--End of <20230217184829.j1piy%[email protected]>
Ciao,
--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)