Re: Newbie help for an imap gmailg connection

2023-04-11 Thread Kevin J. McCarthy

On Tue, Apr 11, 2023 at 05:32:38PM -0400, Dan Dunfee wrote:
What are the steps to get this additional gmail "app password" for use 
as "secret_app_password" in muttrc?


My information may be out of date, but I believe Google first requires 
"2-step verification" to be enabled before an "app password" can be 
generated.


This can be done at


Once that's done, an app password can be generated at the bottom of that
same page.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Re: Newbie help for an imap gmailg connection

2023-04-11 Thread Patrick Shanahan
* Dan Dunfee  [04-11-23 17:34]:
> Hello Anton,
> 
> I wrote:
> 
> > > I want to connect using imap with an gmail account which I hear requires
> > > some additional security steps these days.
> > > [...]
> >
> > For me gmail with mutt via imap to read and smtp to send works fine.
> > Some time ago i created "app password" via gmail web interface and it
> > works just perfect since approximately 6 months that way.
> 
> What are the steps to get this additional gmail "app password" for use as
> "secret_app_password" in muttrc?
> 
> Thanks,
> 
> Dan
> > >
> > > Has anyone info/experience about such a mutt imap gamil connection 
> > > possibility?
> > >
> >
> > here is relevant snippet from my .muttrc:
> >
> > # Smtp settings for gmail sending {
> > set smtp_url = "smtps://anton.sharo...@smtp.gmail.com"
> > set smtp_pass = "my_very_secret_app_password"
> > # }
> >
> > # gmail imap specific {
> > set ssl_starttls=yes
> > set ssl_force_tls=yes
> > set imap_user = "anton.sharo...@gmail.com"
> > set imap_pass = "my_very_secret_app_password"
> > set spoolfile = imaps://imap.gmail.com/bSpool
> > # gmail imap specific }
> >
> > i have configured via gmail web interface a filter to assign a label
> > "bSpool" to every incoming mail. That way, working with them in mutt
> > allows me to just delete messages, which i read, via mutt - and gmail
> > removes the label "bSpool" from them as a result. At the same time all
> > messages are still kept on server labeled potenially somehow differently
> > (my labels were configured long ago before i started to use mutt, and i
> > like to keep all messages in my gmail box anyway to access them from
> > other devices).
> >
> > i saw as well recommendation to use:
> >
> >
> > set spoolfile = imaps://imap.gmail.com/INBOX
> >
> >
> > and suspect it will really delete messages from gmail server if you
> > delete them from within mutt - but it was never my goal and i never
> > tested such possibility.
> >
> > Hope that helps, Anton
> >


just google for "gmail app password"

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet oftc


Re: Newbie help for an imap gmailg connection

2023-04-11 Thread Dan Dunfee
Hello Anton,

I wrote:

> > I want to connect using imap with an gmail account which I hear requires
> > some additional security steps these days.
> > [...]
>
> For me gmail with mutt via imap to read and smtp to send works fine.
> Some time ago i created "app password" via gmail web interface and it
> works just perfect since approximately 6 months that way.

What are the steps to get this additional gmail "app password" for use as
"secret_app_password" in muttrc?

Thanks,

Dan
> >
> > Has anyone info/experience about such a mutt imap gamil connection 
> > possibility?
> >
>
> here is relevant snippet from my .muttrc:
>
> # Smtp settings for gmail sending {
> set smtp_url = "smtps://anton.sharo...@smtp.gmail.com"
> set smtp_pass = "my_very_secret_app_password"
> # }
>
> # gmail imap specific {
> set ssl_starttls=yes
> set ssl_force_tls=yes
> set imap_user = "anton.sharo...@gmail.com"
> set imap_pass = "my_very_secret_app_password"
> set spoolfile = imaps://imap.gmail.com/bSpool
> # gmail imap specific }
>
> i have configured via gmail web interface a filter to assign a label
> "bSpool" to every incoming mail. That way, working with them in mutt
> allows me to just delete messages, which i read, via mutt - and gmail
> removes the label "bSpool" from them as a result. At the same time all
> messages are still kept on server labeled potenially somehow differently
> (my labels were configured long ago before i started to use mutt, and i
> like to keep all messages in my gmail box anyway to access them from
> other devices).
>
> i saw as well recommendation to use:
>
>
> set spoolfile = imaps://imap.gmail.com/INBOX
>
>
> and suspect it will really delete messages from gmail server if you
> delete them from within mutt - but it was never my goal and i never
> tested such possibility.
>
> Hope that helps, Anton
>

-- 
XR


Re: Newbie help for an imap gmailg connection

2023-04-11 Thread Patrick Shanahan
* Anton Sharonov  [04-11-23 15:44]:
> Hi, Dan,
> 
> On Tue, Apr 11, 2023 at 01:36:08PM -0400, Dan Dunfee wrote:
> > [...]
> > I want to connect using imap with an gmail account which I hear requires
> > some additional security steps these days.
> > [...]
> 
> For me gmail with mutt via imap to read and smtp to send works fine.
> Some time ago i created "app password" via gmail web interface and it
> works just perfect since approximately 6 months that way.
> 

I did the same using fetchmail.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet oftc


Re: Newbie help for an imap gmailg connection

2023-04-11 Thread Anton Sharonov
Hi, Dan,

On Tue, Apr 11, 2023 at 01:36:08PM -0400, Dan Dunfee wrote:
> [...]
> I want to connect using imap with an gmail account which I hear requires
> some additional security steps these days.
> [...]

For me gmail with mutt via imap to read and smtp to send works fine.
Some time ago i created "app password" via gmail web interface and it
works just perfect since approximately 6 months that way.

> 
> Has anyone info/experience about such a mutt imap gamil connection 
> possibility?
>

here is relevant snippet from my .muttrc:

# Smtp settings for gmail sending {
set smtp_url = "smtps://anton.sharo...@smtp.gmail.com"
set smtp_pass = "my_very_secret_app_password"
# }

# gmail imap specific {
set ssl_starttls=yes
set ssl_force_tls=yes
set imap_user = "anton.sharo...@gmail.com"
set imap_pass = "my_very_secret_app_password"
set spoolfile = imaps://imap.gmail.com/bSpool
# gmail imap specific }

i have configured via gmail web interface a filter to assign a label
"bSpool" to every incoming mail. That way, working with them in mutt
allows me to just delete messages, which i read, via mutt - and gmail
removes the label "bSpool" from them as a result. At the same time all
messages are still kept on server labeled potenially somehow differently
(my labels were configured long ago before i started to use mutt, and i
like to keep all messages in my gmail box anyway to access them from
other devices).

i saw as well recommendation to use:


set spoolfile = imaps://imap.gmail.com/INBOX


and suspect it will really delete messages from gmail server if you
delete them from within mutt - but it was never my goal and i never
tested such possibility.

Hope that helps, Anton


Newbie help for an imap gmailg connection

2023-04-11 Thread Dan Dunfee


Hello group,

I have no experience with mutt configuration and only a little knowledge of 
using
mutt.  I want to connect using imap with an gmail account which I hear requires
some additional security steps these days.

Has anyone info/experience about such a mutt imap gamil connection possibility? 
 I
use a mac in terminal; with mutt available using a macports port installation:

mutt @2.2.9 with possible installation choices:

Variants: autocrypt, db4, debug, gdbm, [+]gnutls, gpgme, [+]idn, [+]imap, lmdb,
[+]pop, sasl, [+]smtp, sqlite3, ssl

Any help greatly appreciated, a configuration almost ready to go for imap with
gmail best of all. I happen to be a blind computer user.

Dan

-- 
XR