Questions tagged [gmail]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

Mutt Login Failed

I was using mutt for few months until it started giving an error: "Login failed". When I do mutt -d 5 [2022-06-08 14:27:17] SASL local ip: 2401:4900:170d:264a:c146:ad26:5e83:fe0e;45008, ...
user avatar
  • 1
1 vote
1 answer
39 views

alpine email client 2.22 gmail error BAD Client aborted AUTHENTICATE command

I'm on ubuntu 20.04 and use alpine as my email client for gmail. About a week ago I had to change the authentication method from user-password to xoauth2 due to gmail disabling secure apps (meaning I ...
user avatar
1 vote
1 answer
110 views

gmail sendgmail configuration for git send-email

From May 30, 2022: Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. This is a problem for ...
user avatar
  • 1,273
0 votes
0 answers
47 views

Thunderbird cannot sync with Gmail after logging in, given that the TFA is on

I have installed Thunderbird version 78.13 on my MX-Linux 21 KDE. Given that my Gmail account uses Two-factor Authentication, my email client cannot establish a connection to the IMAP server. It ...
user avatar
0 votes
0 answers
39 views

Is it possible to use fetchmail or getmail to download an save a copy of all e-mail messages from GMAIL?

I have a GMAIL account almost full, so i would like to download a copy of my e-mails (backup ) to my local linux server with getmail ou fecthmail (and keep them locally regardless of being deleted ...
user avatar
  • 1
0 votes
1 answer
157 views

systemd (OnFailure) using ssmtp with gmail can't send mail

Some important service: [Unit] ... OnFailure=status-email@%n.service status-email@.service: [Unit] Description=status email for %i to user [Service] Type=oneshot ExecStart=/usr/local/bin/systemd-...
user avatar
  • 1
0 votes
1 answer
44 views

Help unsubscribing from Debian mailing lists [closed]

Apologies if this is not the right place to ask. My email address is "myname@gmail.com", but I subscribed (to several Debian mailing lists) with the email "myname+web@gmail.com" (I'...
user avatar
  • 153
2 votes
1 answer
279 views

gmail + mutt + isync: how to archive and delete mail

I want to switch from Thunderbird to (Neo)mutt, because I would like to read my mail in a terminal (offline). I have a gmail account and just can't figure out how to setup Mutt properly. I have setup ...
user avatar
  • 58
1 vote
1 answer
89 views

Setting up a local machine to only send e-mails

I have installed a Raspberry device on my home network from which I want to receive periodic e-mails for a certain manner. I wish to use the mailutils in order to send them via my scripts but I didn't ...
user avatar
  • 226
0 votes
0 answers
462 views

Neomutt: add gmail account using password manager (KeepassXC)

I installed neomutt recently I am not able to add my gmail account to it. How can I authenticate in neomutt as gmail client without writing password in config files as plain text ? I am using ...
user avatar
2 votes
2 answers
617 views

OAUTHBEARER authentication fails in mutt

I've used OAUTHBEARER authentication to use mutt with GMail for a while, but I've run into a an issue that I can't figure out. When I launch mutt I get OAUTHBEARER authentication failed. Here is ....
user avatar
  • 1,149
1 vote
0 answers
106 views

What's Causing High CPU Use On GMail?

I've seen this on Opera, Vivaldi and Firefox. When a open a gmail page the cpu goes up and keeps there around 2min/3min. If I open my two email pages then it goes crazy... some time ago I left as ...
user avatar
5 votes
1 answer
5k views

Postfix using OAuth2 authentication for relay host

I tried to set up postfix with Google as its relay host but failed miserably. Google switched to OAuth2 authentication and deprecated other authentication methods. This is why I tried to use the new ...
user avatar
3 votes
1 answer
3k views

Neomutt Multi account

I have been using mutt for a while and got it to work pretty well with 2 gmail accounts. I have 2 macros set to switch from one to the other. wanting to move to neomutt, the exact configuration is ...
user avatar
  • 83
1 vote
1 answer
374 views

Mutt - Oauth2.py - python3 support

I was wondering if there was a version of oauth2.py here working in python3. On my Manjaro, I got it to work by installing python2.But on a wsl install it doesn't seem to work. Thanks.
user avatar
  • 83
8 votes
1 answer
801 views

Can msmtp rewrite addresses?

I am trying to get all my system emails to be forwarded to my gmail address, using msmtp 1.8.3 and /etc/aliases on debian. It works, but I get errors from gmail. When I email root (via echo "hello ...
user avatar
  • 199
3 votes
1 answer
779 views

Evolution fails to connect to my Google calendar

I've configured 2-Step Verification with my Google accont (under https://myaccount.google.com/security). Emails with OAuth 2 seem to come through fine but I keep getting "Failed to connect calendar ...
user avatar
  • 1,937
3 votes
1 answer
2k views

How to get subject of gmail letter with curl?

I use curl in my Lua program to get new mail list. I am trying to send request like this local head_command = "curl --connect-timeout 30 -fsm 30" local server = "imap.gmail.com" local mail ...
user avatar
1 vote
2 answers
2k views

Mutt error SMTP session failed: read error

set ssl_starttls=yes set ssl_force_tls=yes set imap_user = 'name@gmail.com' set imap_pass = 'password' set from='name@gmail.com' set realname='name@gmail.com' set folder = imaps://imap.gmail.com/ ...
user avatar
  • 111
3 votes
3 answers
685 views

Get number of emails in specific directory on mail server

I am trying to find a way to connect to a mail server and find out how many emails there are in a specific directory. In this specific case, it is the Spam directory in my Gmail account. I am not ...
user avatar
  • 171
2 votes
1 answer
731 views

How to provide OAuth2 "Client ID" and "Client Secret" to an open-source bash script?

I was writing a bash script for Gmail that would authorize itself using OAuth2, and make API calls using the received tokens. It worked. But now I'm stuck on thinking how to securely store the Client ...
user avatar
3 votes
1 answer
1k views

CERTIFICATE_VERIFY_FAILED when connecting to GMail with offlineimap

Under an Arch Linux, I want to use offlineimap to synchronize to GMail like this. [general] accounts = Gmail maxsyncaccounts = 3 [Account Gmail] localrepository = LocalGmail remoterepository = ...
user avatar
  • 632
4 votes
2 answers
406 views

How to get traditional email clients to send email which appears normal in Gmail?

A considerate friend informed me recently that emails I send (with Neomutt; could be Mutt or Gnus or Pine) look funny on his device: Apparently Google doesn't invest much effort in properly ...
user avatar
2 votes
2 answers
810 views

Configure Postfix to Send Mail Using Gmail in Ubuntu 16.04

I have configured Postfix to Send Mail Using Gmail. I have modified the file /etc/postfix/main.cf adding myhostname = fqdn.peris.app mydestination = $myhostname, peris.app, localhost, localhost....
user avatar
  • 331
2 votes
0 answers
159 views

How to configure sendmail so emails can be accepted by Gmail?

The server has two network interfaces: eth0 with direct IP = xxx.xx.xx.18 connected to provider, and eth1 with another direct IP = xxx.xx.xx.25 DNS for the zone is configured correctly and it ...
user avatar
  • 21
0 votes
0 answers
184 views

How to import Gmail contacts to Alpine?

I tried the solutions provided here, but they didn't worked. In particular, google.py gives me this error: Traceback (most recent call last): File "google.py", line 9, in <module> for ...
user avatar
2 votes
0 answers
59 views

Upload email from nnml to Gmail (or IMAP) [closed]

I have just found some tens of thousands of old emails in a Linux subdirectory which I would like to upload to GMail. GMail has an IMAP interface, so if your answer is IMAP-specific, that's ...
user avatar
0 votes
0 answers
2k views

ssmtp with gmail

So, this is weird. Two computers, one with CentOS and one with Manjaro. Both have ssmtp, both with the same setup. Manjaro ssmtp will connect and send emails, CentOS will not: /etc/ssmtp/ssmtp.conf: ...
user avatar
  • 385
-3 votes
2 answers
108 views

Google treats mail from my mail server as spam [closed]

Does anyone know what's wrong with my server? Messages are sent to spam. Delivered-To: donia.chromik@gmail.com Received: by 10.103.46.145 with SMTP id u139csp1708503vsu; Sat, 27 Jan 2018 08:...
user avatar
1 vote
1 answer
141 views

ssmtp myaddress@gmail.com < file.log doesn't work. Body is blank

I'm running a simple rsync script where I log stdout and stderr to two different files, rsync_stdout.log and rsync_stderr.log. When I'm trying to email the content of rsync_stderr.log using: echo $(...
user avatar
0 votes
1 answer
324 views

Do I need Dovecot on server if Gmail is hosting our email?

I noticed a recurring error in the mail.log as well as when I run service dovecot status on a server I 'inherited' for my job (used for our production website). We have our MX records pointed to/email ...
user avatar
  • 215
0 votes
0 answers
128 views

Why failing to setup Gmail of 2-step verification phone based in Thunderbird?

It work previously but not anymore in Fig. 1. I tried 5 times. It went through the normal Google 2-step verification process, but when returning to the main window, it gives the result in Fig. 1. I ...
user avatar
2 votes
0 answers
48 views

How do I open Gmail in Firefox on Scientific Linux? [closed]

I can access every website in my browser except Gmail. When I try to open it in the browser it just keeps searching and never gets anywhere. I've tried deleting my history, cookies and cache and ...
user avatar
  • 4,175
3 votes
1 answer
2k views

How to send mail via console on OpenBSD using a Gmail account?

There is a certificate error: # echo "hello" | msmtp -a default DESTINATION@gmail.com msmtp: TLS certificate verification failed: unable to get local issuer certificate msmtp: could not send mail (...
user avatar
  • 511
5 votes
2 answers
8k views

Simplest way to send mail with image attachment from command line using gmail?

Building on the previous post where the requirement was to have cron jobs send status messages via a single command line, as posted here: Simplest way to send one-line mail out via command line using ...
user avatar
  • 1,639
2 votes
1 answer
795 views

Using Mailx with Gmail

I've installed mailx, and when I try to send an email, like: echo "Test" | mailx -r "foo@gmail.com" -s "Test" "bar@gmail.com" It executes. But I don't receive the email. How do I set mailx up to ...
user avatar
  • 23
45 votes
7 answers
76k views

Simplest way to send one-line mail out via command line using gmail?

Using Raspbian and Ubunntu 16.04 LTS so need a generic Linux solution. Requirement is simple: I need a way to send one-line email messages from the command line. I have set up a gmail account just ...
user avatar
  • 1,639
2 votes
2 answers
19k views

Problem sending email using ssmtp

I am attempting to setup so I can mail from Raspbian. When I attempt to send I get an error ssmtp: Cannot open smtp.gmail.com:587 (I also tried port:465) I have set "Access for less secure apps" on ...
user avatar
  • 1,238
2 votes
0 answers
384 views

Import gmail certificate in Pidgin

There is a bug with Pidgin, where the certificate for gmail.com cannot be validated. The problem is discussed here and there is also a solution: openssl s_client -showcerts -servername gmail.com -...
user avatar
6 votes
1 answer
28k views

How to send mail to gmail account using ssmtp

I have the following ssmtp.conf file: root=test@gmail.com mailhub=smtp.gmail.com:587 hostname=ed424cef9b52 UseTLS=Yes UseStartTTLS=Yes AuthMethod=LOGIN AuthUser=test AuthPass=test FromLineOverride=...
user avatar
  • 3,969