Questions tagged [gmail]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
29 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 ...
0
votes
0answers
20 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 ...
0
votes
1answer
74 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-...
0
votes
1answer
31 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'...
1
vote
0answers
152 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 ...
1
vote
1answer
56 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 ...
0
votes
0answers
261 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 ...
0
votes
0answers
132 views

Postfix setting myorigin to the appropriate domain for multiple domains

I have a Google Workspace account that has multiple sites running on one user. I have aliases setup for gmail. I've setup a Google Workspace SMTP Relay to send emails from my linux server for systems ...
2
votes
2answers
402 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 ....
0
votes
0answers
69 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 ...
4
votes
1answer
2k 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 ...
2
votes
1answer
2k 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 ...
1
vote
1answer
256 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.
7
votes
1answer
594 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 ...
3
votes
1answer
622 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 ...
3
votes
1answer
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 ...
1
vote
1answer
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/ ...
3
votes
3answers
528 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 ...
2
votes
1answer
615 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 ...
3
votes
1answer
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 = ...
4
votes
2answers
372 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 ...
2
votes
2answers
745 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....
2
votes
0answers
135 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 ...
0
votes
0answers
176 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 ...
2
votes
0answers
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 ...
0
votes
0answers
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: ...
-3
votes
2answers
107 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:...
1
vote
1answer
133 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 $(...
0
votes
1answer
299 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 ...
0
votes
0answers
126 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 ...
2
votes
0answers
47 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 ...
3
votes
1answer
1k 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 (...
5
votes
2answers
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 ...
2
votes
1answer
709 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 ...
43
votes
7answers
71k 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 ...
2
votes
2answers
18k 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 ...
2
votes
0answers
375 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 -...
4
votes
1answer
26k 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=...