Problems with KB7SQI's MSMTP and Gmail

NeXT Computer, Inc. -> Porting New Software

Title: Problems with KB7SQI's MSMTP and Gmail
Post by: ericj on December 15, 2008, 09:39:00 PM
OK, so I was using Verizon email for a while, but being dependent on an ISP for email fundementally bothered me (I'm not entirely sure why; it's not like there's any choice where I live), so I'm now slowly switching everything over to Gmail. I tried KB7SQI's MSMTP+Fetchmail tutorial with Gmail the other day (I tried PopOver once and I'm not too sure why, but it didn't really agree with me), and it seemed everything was fine until the time came to send an email. Well, I sent a test message to myself from Mail.app, checked the logs, and found this in /tmp/console.log:

msmtp: TLS certificate verification failed: certificate signature failure
msmtp: could not send mail (account default from /Users/ejohns/.msmtprc)


I Googled quickly, but I couldn't really find anything more recent than July about Gmail SMTP security issues.

Eric
Title: Re: Problems with KB7SQI's MSMTP and Gmail
Post by: kb7sqi on December 26, 2008, 01:46:26 PM
Quote from: "ericj"OK, so I was using Verizon email for a while, but being dependent on an ISP for email fundementally bothered me (I'm not entirely sure why; it's not like there's any choice where I live), so I'm now slowly switching everything over to Gmail. I tried KB7SQI's MSMTP+Fetchmail tutorial with Gmail the other day (I tried PopOver once and I'm not too sure why, but it didn't really agree with me), and it seemed everything was fine until the time came to send an email. Well, I sent a test message to myself from Mail.app, checked the logs, and found this in /tmp/console.log:

msmtp: TLS certificate verification failed: certificate signature failure
msmtp: could not send mail (account default from /Users/ejohns/.msmtprc)


I Googled quickly, but I couldn't really find anything more recent than July about Gmail SMTP security issues.

Eric

Hey Eric,
      Sorry for being "away" for so long, but I just checked to see if I can send email via gmail w/ msmtp & it works fine.  Remember to make sure you replace /usr/lib/sendmail in Mail.app preferences to /usr/local/bin/msmtp. Here's my .msmtprc file minus my password. ;-)

account default
host smtp.gmail.com
from [email protected]
tls on
tls_trust_file /Users/kb7sqi/.certs/thawte.pem
auth on
port 587
user [email protected]
password **********

And here's proof it works. :-)

Received: by 10.215.15.9 with SMTP id s9mr10033686qai.244.1230319868966;
       Fri, 26 Dec 2008 11:31:08 -0800 (PST)
Received: from localhost (cpe-075-183-106-019.triad.res.rr.com [75.183.106.19])
       by mx.google.com with ESMTPS id 7sm1320925ywo.10.2008.12.26.11.31.07
       (version=TLSv1/SSLv3 cipher=RC4-MD5);
       Fri, 26 Dec 2008 11:31:08 -0800 (PST)
Message-ID: <[email protected]>
Content-Type: text/plain
MIME-Version: 1.0 (NeXT Mail 3.3riscupdate v148.2.1)
X-Nextstep-Mailer: Mail 3.3riscupdate [hppa] (Enhance 2.2p3, May 2000)
Received: by NeXT.Mailer (148.2.1);
Date: Fri, 26 Dec 2008 14:30:51 -0500
To: [email protected]
Subject: Test
From: "Steven D. Blackford" <[email protected]>
X-AOL-IP: 74.125.92.144
X-AOL-SCOLL-AUTHENTICATION: mail_rly_antispam_dkim-d249.2 ; domain : gmail.com DKIM : pass
X-Mailer: Unknown (No Version)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is a test from gmail.
- -----
Steve, [email protected]    NeXTmail Welcome!
http://kb7sqi.dyndns.org

-----BEGIN PGP SIGNATURE-----
Version: PGP 5.0 (NeXT)
Charset: noconv

iQA/AwUBSVUw+H90IU9CC1PrEQKEjACgn1oN6+NUoRJKDLh2FkoOju/v9gkAn0Y8
oZqbWQPcLEOKSFWHekkQNwGp
=WaCT
-----END PGP SIGNATURE-----


Catch me on AIM/MSM/Yahoo if you need help.  I'll be happy to chat if I'm on.  Any excuse to get away from work is a good thing sometimes. lol.  Hope you have a great/safe holiday season.

Go to top  Forum index