Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gmail]

The tag has no usage guidance.

0
votes
0answers
176 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/ ...
2
votes
3answers
52 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 ...
1
vote
1answer
107 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 ...
2
votes
1answer
376 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
149 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 ...
0
votes
0answers
208 views

Is it possible to configure ssmtp to use normal Gmail security

I have installed ssmtp mailutils and can send email from my Pi (running Raspbian - a Debian 9.4 variant) I configured /etc/ssmtp/ssmtp.conf and can send email using ssmtp and Gmail as SMTP server. ...
2
votes
2answers
182 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....
1
vote
0answers
940 views

Is it possible remove gmail orange color banner with warning message? [closed]

My organization uses gmail, and if the email is sent from the internal Linux server with the external smtp server(SPF record included), it shows the orange color banner in the mail that says "Be ...
2
votes
0answers
46 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
33 views

Is it possible to save a draft in Gmail from Alpine?

I've been searching around Alpine's configuration but I haven't found anything that might work... google search didn't help that much either... My ideas is that postponed messages should appear in ...
0
votes
0answers
105 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
44 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
575 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
85 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
65 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 $(...
1
vote
0answers
174 views

sorbs blocks gmail? [closed]

I got a warning in gmail about slow delivery. Further reading lead me to sorbs: Summary information for xxx.xxx.xxx.xxx/32 Note: Times shown are for the latest entry only! Found 2 network entries ...
0
votes
1answer
190 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
92 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
37 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 ...
1
vote
1answer
753 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 (...
3
votes
2answers
4k 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 ...
3
votes
1answer
381 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 ...
29
votes
7answers
32k 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 ...
1
vote
2answers
7k 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
299 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 -...
1
vote
1answer
12k 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=...