Hey :) > The parser supports anything that is mentioned by the NetBSD > ftp(1) .netrc file section (including 'macdef'), but all we really > care about is 'machine HOST', 'login USER', 'password PASS' (or > 'passwd PASS'), the rest is thrown away, just as is anything after > 'default'; and comments are not allowed (what a shitty syntax!).
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... 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. 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. > From a bit of testing it works quite well (not so much testing > since i've seen a crash in credential lookup, which took almost an > hour), i.e., this message will be backed by credentials from > ~/.netrc; of course, any (negative) test would be appreciated. Speaking of testing, the tests don't run at the moment. > Success > "/home/wofall/dead.letter" 42/2017 > ... message not sent. > content:1: ./cc-test.sh: line 96: ./.cc-test.mbox: No such file or directory > I plan to release v14.7.1 on Tuesday. > Ciao, and have a nice rest-weekend! Got a feeling, it's going far away... -- Gavin ------------------------------------------------------------------------------ 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
