Hello Predrag. Predrag Punosevac wrote in <20200607193905.3ndsv%punoseva...@gmail.com>: |Predrag Punosevac <punoseva...@gmail.com> wrote: ... |I apologize for cross posting. After upgrading my laptop to
I took ports off ok, i'd feel ashamed to keep it in. ^_^ |predrag@oko-mobile$ uname -a |OpenBSD oko-mobile.int.bagdala2.net 6.7 GENERIC.MP#2 amd64 | |I felt it was the time for me to jump the ship and finally go with |s-nail from the official ports tree. | |predrag@oko-mobile$ pkg_info s-nail |Information for inst:s-nail-14.9.17 Pity they did not wave through .19 before freeze, plenty of time there would have been. |I got to the bottom of all "issues" I originally reported | |https://www.mail-archive.com/s-mailx@lists.sdaoden.eu/msg00948.html | |in the thread. I used quotation marks around issues as in the hindsight |there was really only one. All other issues were due to the fact that I |didn't realize that you have completely rewritten s-nail and there is |really not much in common with the original Heirloom mailx Nah, not true. Almost all extensions or replacements until now. The entire I/O and MIME layer rewrite is waiting still. That is ridiculous, i have written much more code in less than half the time i am maintaining this. In the past. |http://heirloom.sourceforge.net/mailx.html | |which I used for at least 15 years. That is not to say that the things |don't work or they are worse. They just work different. It took me two |full days of dicking with it to get a to get a hang of it. Hm. A problem is surely that IMAP search expressions must now be shell-escaped, we do warn a bit but all that primitive. I got reports, but people are so silent, hm. I personally do not regret moving all over to shell syntax with v15-compat=y that will be default in v14.10.* somewhen in autumn. We loose strict POSIX compatibility with this, but then again it should not really hurt if this software is used POSIX compatibly. It offers so much more possibilities. Still we are much too restricted. |First thing first you really trough me off the board with Ctrl+D instead |of next line and a dot to sent the email. I have not read the code, and |even if I did I don't have sufficient programming background to |understand design decession but I am using dot to sent emails since |circa 1989 and that is a hard pill to swallow. That is why I kept |reporting that sending email doesn't work. | |I noticed that 14.9.17 on 6.7 doesn't report that annoying message | |There are new messages in the error message ring (denoted by ERROR), |nail: which can be managed with the `errors' command |ERROR# ? It would if there would be errors. :) |I really like new configuration grammar. This is my not so minimal |working example Just the same grammar. :) |predrag@oko-mobile$ more .mailrc |set ask |set crt |ignore message-id received date fcc status resent-date resent-message-id |resent-from in-reply-to | |set mailx-extra-rc=~/.nailrc This is new, it was NAIL_EXTRA_RC, but we are moving all over to mailx all over the software. |and this is dotnailrc file | |account gmail { | set inbox=imaps://usern...@imap.gmail.com | set imap-use-starttls Not needed with imaps. | set password="secret" | set folder=imaps://usern...@imap.gmail.com record="+[Gmail]/Sent Mail" That this works in practice, you have a good internet connection. This software still has a very bad error recovery when that would happen. With `disconnect' / and `connect' much of this is handable however. Hm. Don't you get automatic copies in "Sent Mail" when you use SMTPS in GMail? | set from="Predrag Punosevac <usern...@gmail.com>" \ | mta=smtp://usern...@smtp.gmail.com:587 \ | set smtp-use-starttls You should be able to use set mta=smtps://smtp.gmail.com:465 without smtp-use-starttls. Saves round-trips. | set smtp-auth="login" |# IMAP SHORTCUTS SECTION for standard Gmail folders | shortcut allmail +[Gmail]/All\ Mail | shortcut sent +[Gmail]/Sent\ Mail | shortcut spam +[Gmail]/Spam | shortcut trash +[Gmail]/Trash |} |account cmu { | set inbox=imaps://username%40andrew.cmu....@imap.gmail.com | set imap-use-starttls Not needed with IMAPS. | set password="secret" | set from="Predrag Punosevac <usern...@andrew.cmu.edu>" \ | mta=smtp://username%40andrew.cmu....@smtp.gmail.com:587 \ | set smtp-use-starttls | set smtp-auth="login" |# IMAP SHORTCUTS SECTION for standard Gmail folders | shortcut allmail +[Gmail]/All\ Mail | shortcut sent +[Gmail]/Sent\ Mail | shortcut spam +[Gmail]/Spam | shortcut trash +[Gmail]/Trash |} |account hotmail { Looked around that, found on [1] via Firefox Office-Support Produkte Geräte Neuerungen Office installieren Konto & Abrechnung Oops. Vorlagen Mehr Unterstützung [1] https://support.office.com/de-de/article/pop-imap-und-smtp-einstellungen-f%C3%BCr-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040 | set inbox=imaps://username%40hotmail....@imap-mail.outlook.com | set folder=imaps://username%40hotmail....@imap-mail.outlook.com | set imap-use-starttls hmhrm. | set password="secret" | set from="Predrag Punosevac <usern...@hotmail.com>" \ | mta=smtp://username%40hotmail....@smtp-mail.outlook.com:587 | set smtp-use-starttls | set smtp-auth="login" Fyi, we should support XOAUTH2 that Microsoft (and Google) support (see [2]), it is just misnamed OAUTHBEARER until v14.10. [2] https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth |} | |# Binary options |set askattach |set askcc |set autocollapse |set autosort=thread |set junkdb=~/.junkdb No. This has long been removed, we do not support that no more. Gunnar Ritter implemented the well-known algorithm and used a smart message-digest approached to conceal the stored data. But, it was not compatible with anyone else, you could not export the data, importing data was hard. I have set spam-interface=filter set spam-maxsize=500000 set spamfilter-ham='bogofilter -n' set spamfilter-noham='bogofilter -N' set spamfilter-nospam='bogofilter -S' set spamfilter-rate='bogofilter -TTu 2>/dev/null' set spamfilter-rate-scanscore='1;^(.+)$' set spamfilter-spam='bogofilter -s' This needs bogofilter, but which is a specialized software, and can import and export data etc. It has several database backends, i have contributed a LMDB database one which generates small databases and is very, very fast. (It does not support VACUUM, i dump and recreate databases once a month to reduce data size, and backup the dump.) |set v15-compat Do v15-compat=y, which will be default in v14.10: If set to a non-empty value (the default) the command modifier wysh[129] is implied and thus enforces Shell-style argument quoting[23] over Old-style argument quoting[22] for all commands which support both. |set tls-verify=strict Yes, we were moving to tls* from ssl*. In a few years from now on many people will not know what ssl was. |# String Options |set imap-keepalive=240 |set imap-list-depth=5 | |# Reading HTML mail |set pipe-text/html="lynx -dump -force_html -stdin" We now support ~/.mailcap, which is shareable with other MUAs and browsers which put effort in this. (The builtin HTML filter, included in OpenBSD port, is not that worse than lynx for mails _i_ see.) |# Address Book |alias somebody someb...@gmail.com We now also support MTA (Postfix) -style aliases. You need to set mta-aliases to a file in this syntax: #?0!0/NONE#0|:? set mta-aliases=/etc/aliases #?0!0/NONE#0|:? mtaali root: steffen Supports only source files (no DBs), and does not support :include: directives (yet), but otherwise should be fairly complete. This syntax should be more compatible, too. |For people who would be reading this email one comment. Without | |set folder | |line you will not be able (not in a convenient way) to list your IMAP |folders. I feel new grammar is nicer than the old. I have been using This is do not understand. Why? You have to use "folders @", as has always been the case for IMAP/this software. This is no longer documented for `folders', but it is described in "IMAP CLIENT", which is separate because IMAP will temporarily vanish in v15, was entirely removed but reintroduced again on user request. ble. If a mailbox name is expanded (see Filename transformations[26]) to an IMAP mailbox, all names that begin with `+' then refer to IMAP mail‐ boxes below the folder[419] target box, while folder names prefixed by `@' refer to folders below the hierarchy base, so the following will list all folders below the current one when in an IMAP mailbox: ‘folders @’. |s-nail now for three days. I really, really like what you have done with |search options. The only time in my life I contemplated switching to nmh | |https://www.nongnu.org/nmh/ | |was for its integration with standard shell tools (of course MH format |is really a big plus). | |I see that you are planning to remove IMAP support and that would be a |tough thing for me to swallow. Well you kept on 14.8.16 for years, i hope reintroduction of IMAP will not take that long. I am very slow, unfortunately. |I also noticed that you put a lot of time into documentation. Most of |the stuff is there but it feels a bit disorganized for my taste. I wish, |I was younger and less busy. I know that you could use a helping hand. Nice. |Really good job! ... --End of <20200607193905.3ndsv%punoseva...@gmail.com> Predrag Punosevac wrote in <20200608035355.2osh7%punoseva...@gmail.com>: |Predrag Punosevac <punoseva...@gmail.com> wrote: |> Predrag Punosevac <punoseva...@gmail.com> wrote: ... |> First thing first you really trough me off the board with Ctrl+D instead |> of next line and a dot to sent the email. I have not read the code, and | |I am a total moron! I read carefully mail(1). Ctrl+D is of course |correct. What I didn't realize is that mail always reads | |predrag@oko$ more /etc/mail.rc |set append dot save asksub |ignore Received Message-Id Resent-Message-Id Status Mail-From |Return-Path Via | |s-nail of course has no access to that file. | |set dot | |in my .s-nailrc and s-nail behaves as expected. As an upshot I Yes, we go with POSIX's "nodot" default, i thought this is safer today. You can use the explicit ~. (i have !. since escape=!) |"backported" 14.9.19 to 6.7 stable branch. As you can see it works |as expected. Nice. -End of <20200608035355.2osh7%punoseva...@gmail.com> Ciao, young american. :) --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)