Hello list,

i've spend the last two days on tweaking the remaining bits of the
new *v15-compat* URL and credential scheme (made IMAP work with
that correctly, including IMAP cache interaction etc.) and now
there is a coherent set of improvements which makes me think there
should be another (as such unplanned) minor release -- v14.7 --,
because (a) i will not spend anymore contiguous time on S-nail
development for at least half a year, so no further minor release
is to be expected in 2014 (but one more minor before the large
break that will end up as v15.0), and therefore (b) i think the
rare occasions when mailx(1) users look into the manual should be
utilized for the important v15 compatibility message at the top of
the manual, in that it makes a difference wether that paragraph
could catch a glimpse for twelve or eighteen months.

Whereas there are so many urgent topics, that is to say.
I finally and definitely take my time for S-CText now.

I'll add yet another manual section on the new URL scheme, but
otherwise the following is new (most of it has been posted already
three weeks ago); whoever is willing to test and complain on
problems, feel beloved; expect S-nail v14.7 in a week:

- SMTP GSSAPI (Tarqi Kazan)
- -r option is mapped to -f MTA option (Johannes Löthberg)
- Deal with the OpenBSD OpenSSL clone (no RAND_egd(3) support)
- GCC 4.9 tested (last week though)
- NCL: the possibility to use PgUp / PgDown / Home / End instead
  of z[-+0$] on xterm-compatible terminals; and ^O equal to `dp'
- Support for empty lines in macro and account definition blocks
  (as required by POSIX for startup files in general)
- ^C in compose mode with *ignore* set acts now POSIX compatible
- If *encoding* is set to base64 then we don't ignore that user
  wish and use quoted-printable (when 7bit doesn't suffice)
- We don't (temporarily) set the $LESS environment variable
  anymore (even if that was not set)
- `resend' should be truly fixed regardless of what the
  configuration actually is, and (fwiw) can also resend to
  pipe and file addressees.
- Some new commands: `urlenc' and `urldec', `setenv' and `unsetenv'
  (like `set' and `unset' but also synchronise the program
  environment; those actively fail unless all resource files have
  been loaded, which hopefully circumvents possible security
  implications)
- ~R tilde escape (read in a file with lines indented)
- `elif' command; `if' and `elif' gained =~ and !~ regular
  expression match support, e.g.
    set dietcurd=yoho
    if $dietcurd =~ '^yo.*'
      echo yay
- *headline-bidi* option to support terminals with bidirectional
  text fields when printing headers
- New URL scheme, when setting *v15-compat*:
    PROTO://[USER[:PASSWORD]@]server[:port][/path]
  If no USER is given:
    *user-HOST* then *user* (which defaults to *USER* which defaults
    to getpwuid(getuid()) a.k.a. the current user).
    No more prompt asking for user names.
  If no PASSWORD is given:
    *password-USER@HOST*, then *password-HOST* then *password*.
    Prompt on the terminal if all else fails (and the authentication
    type requires a password).
  Authentication:
    *PROTO-auth-USER@HOST* then *PROTO-auth-HOST* then *PROTO-auth*
    (which has a protocol-specific default).
  Note I:
    For SMTP the rules are a bit more complicated:
    regardless of *v15-compat* we will *always* work relative to
    *from*, not to the smtp:// account in respect to S/MIME
    (*smime-sign* and *smime-sign-include-certs*).
    This is so because S/MIME verification uses `From:' (or
    `Sender:').
  For the SMTP 'MAIL FROM:<>' we also use *from* _unless_ the new
  *smtp-hostname* is also set (and setting it to an empty string
  automatically deduces *hostname* or, as a last resort, the local
  hostname for it), in which case that is used as `HOST' (and the
  SMTP account user is `USER').  E.g.:
    define _sdaoden_yandex {
      call _sdaoden_shared
      set v15-compat
      set user=sdaoden password=PASSWORD hostname=yandex.com
      set smtp=smtps://smtp.yandex.ru:465 smtp-auth=plain smtp-hostname=
      ghost xi "fi %:imaps://imap.yandex.ru
    }
    account sn_sf {
       localopts 1
       call _sdaoden_yandex
       set from="[email protected] (Steffen Nurpmeso)"
    }
  Note that the `Message-Id:' header is (1) shortened a bit and
  (2) reflects several different settings from above, in
  particular the *smtp-hostname* thing.

--steffen

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to