'Monday Gavin, all,
Gavin Troy <[email protected]> wrote:
|Hey :)
huhu ;),
|The basic functionality seems to work for me. However, .netrc is relatively
|restrictive, in that it assumes you only have one account \
|on a given machine...
yah, seems to be quite real-life for me (personally that is),
|If no user is specified, the current behaviour is fine. However, \
|if a user is
|specified in .nailrc, then maybe "machine + login" should \
|be matched as a pair
|to find the associated password.
but why bothering with placing any credentials in xyRC at all,
then? ...
|This is different to how .netrc works "traditionally", but S-nail isn't the
|first program to re-purpose .netrc. I haven't investigated \
|how other programs
|behave, but judging purely from documentation, "msmtp" uses \
|.netrc for password
|lookup only, although I don't know if it matches only "machine" \
|or a "machine +
|login" pair.
...ah, that made me finally look at msmtp(1) (Wiesław a.k.a. dif
already mentioned it); hmm, well, looks like a "do one thing and
do it well"!? So that makes it clear why i cannot take that as
a reference for S-nail (:o)
So, it's not that we couldn't do it that way too, but still i
wonder what the benefit of it would be? I.e. and e.g. i now have
set v15-compat netrc-load
set hostname=yandex.com smtp-hostname= smtp-auth=plain \
smtp=smtps://smtp.yandex.ru:465
ghost xi 'fi %:imaps://imap.yandex.ru'
and two entries in ~/.netrc which are identical except for the
machine name, and in fact that is what is frustrating me, but
having globbing support as in `*.yandex.ru' is possibly not a good
idea by itself and is also non-standard, is it; i don't know
enough about misusage of .netrc to say wether that is acceptable
or not. But since i'm sick of having two entries for one account
after one day i think i'd go to single leading `*.' to mean "skip
one level of subdomains"; since the code i've seen performs exact
match only this shouldn't hurt!
I'm still thinking about your user case..?
|Speaking of testing, the tests don't run at the moment.
shit 8~/, sorry, that's because of the [mdn] topic, i've rebased
that back to [crawl] and fix it today.
|Got a feeling, it's going far away...
Feeling ... that sounds good.
Ciao,
--steffen
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users