Hello everybody, and Josef and Gavin,

[email protected] wrote:
 |Gavin Troy <[email protected]> writes:
 |> The missing ingredient is probably "set smtp-auth=plain",
 |> as the default is now "none".
 |
 |That was the ticket. I am now prompted for the
 |password.  Thanks.

With *v15-compat* we now default to "plain", which should result
in a smoother configuration experience in real life (pushed to the
[next] branch).

 |

 |This is what my current .mailrc file looks like:
 |
 |account gmail {

Dear Josef, first of all it is good to know that S-nail users can
still access gmail.com from within the command line!  All *i* can
see is along

  ?141[steffen@sherwood nail.git]$ echo hello|
  > s-nail -Asn_gm -s Test [email protected]
  sdaoden .. at GMail
  smtp-server: 534-5.7.14 \
  <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=XXXXXXXXx
  smtp-server: 534-5.7.14 XXX...
  smtp-server: 534-5.7.14 XXX...
  smtp-server: 534-5.7.14 XXX...
  smtp-server: 534-5.7.14 ..> \
  Please log in via your web browser and then try again.
  smtp-server: 534-5.7.14 Learn more at
  smtp-server: 534 5.7.14 \
  https://support.google.com/mail/bin/answer.py?answer=78754 \
  XXXXXXXXXXXXXXXXXX - gsmtp
  "/tmp/steffen-dead.letter" 11/313
  ... message not sent.
  ?4[steffen@sherwood nail.git]$ s-nail -Asn_gm
  sdaoden .. at GMail
  s-nail version v14.7.8-75-gbfeb3cd.  Type ? for help.
  "/private/var/mail/steffen": 14 messages
  ...
  ?0[sn_gm /private/var/mail/steffen]? xp
  Held 14 messages in /private/var/mail/steffen
  POP3 error: -ERR [AUTH] Web login required: \
  https://support.google.com/mail/bin/answer.py?answer=78754
  ?0[sn_gm pop3s://[email protected]]? x

But whatever i do, this won't go away.
(It seems that Google always classifies my mails as SPAM, which
makes me hope you will be able to read this one at all.  Hmmmm.)

 |  set folder=imaps://[email protected]
 |
 |  set smtp-use-starttls
 |  set ssl-verify=ignore
 |  set imap=imap.gmail.com:993

What is this for?  Is this a request for "an automatic"

  shortcut imap imaps://imap.gmail.com:993
  ghost xi 'fi imap'

And then..?  The "imap" command is taken for a different purpose,
at least until v15, when it will vanish.  And i hope later there
will be a possibility to have multiple mailboxes open at a time,
so which of those should then be opened via "pop" or "imap"?

 |  set smtp=smtp.gmail.com:587
 |  set [email protected]
 |  set imap-cache=~/MYMAIL
 |}
 |account gmail

May i suggest to you -- in case you plan to stay with S-nail from
now on, what i hope -- two things: you surely set *ssl-verify* to
ignore on purpose, but i _really_ would recommend "strict" and in
addition also enforce the TLS v1.2 protocol instead, which works
for gmail.com (otherwise someone is trying to trap you).  I don't
know what kind of emails cross your Google account, or what your
other Google activities are, but your account credentials will go
over the wire and i wouldn't want to see a user of S-nail
vulnerable.

And then, while you are changing your configuration anyway,
you could convert the syntax to be v15 compatible already today.
The ArchLinux Wiki page [1] is i think the most user friendly
survey of S-nail configuration that exists, you may want to look
at that one too (it is even viewable from the command line via
lynx(1), for example) -- i'm quite unhappy with the manual
instead, but unfortunately it will take more time to improve
that..  But how about

  account gmail {
    set v15-compat
    set ssl-verify=strict ssl-method=tls1.2
    set smtp-use-starttls smtp-auth=plain \
      smtp=josef.jurek%[email protected]:587
  }
  account gmail

  [1] https://wiki.archlinux.org/index.php/S-nail

By the way, i've never used an account name with @ (over SMTP),
does this really work?  It ends up as
"[email protected]@gmail.com" on the SMTP level, which makes
me wonder a bit?

--steffen

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to