On Sun, 2019-06-23 at 01:21 -0400, Viktor Dukhovni wrote: > On Sat, Jun 22, 2019 at 08:56:35PM -0500, Chris Pollock wrote: > > > I've spent 3hrs going over and over my settings and can't find > > where > > I've got a problem. My /etc/postfix/sasl_passwd file contains: > > > > smtp.gmail.com:587 [email protected]:******************** > > * > > Since your relayhost setting is: > > relayhost = [smtp.gmail.com]:587 > > Your SASL password should (IIRC) be either: > > [smtp.gmail.com]:587 [email protected]:************** > ******* > > or > > smtp.gmail.com [email protected]:******************** > * > > the version without the [], but the port might not work, as it is > neither the full destination, nor the underlying host.
Thank you for the reply Viktor. I've finally got it partially working with my GMail account now and most of my cronjob messages are being sent and returned to me as before. By adding the [ ] around the smtp.gmail.com it started working. I still have some that are going to /var/spool/mail/nobody however. Headers below: From [email protected] Sun Jun 23 09:01:26 2019 Return-Path: <[email protected]> X-Original-To: root Delivered-To: [email protected] Received: by cpollock.localdomain (Postfix, from userid 0) id 3A4991000E12; Sun, 23 Jun 2019 09:01:25 -0500 (CDT) From: [email protected] (Cron Daemon) To: [email protected] Though in my aliases file I have root set: # Person who should get root's mail. This alias # must exist. # CHANGE THIS LINE to an account of a HUMAN root: [email protected] I'm sure it's something simple and I'll just have to read and reread until I get it figured out. It was working well under my ISP until they decided to start doing something to some of my outgoing cron messages where they weren't being returned and some even marked as spam. Chris -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 09:08:27 up 2 days, 15:18, 1 user, load average: 0.67, 0.95, 0.95 Description: Ubuntu 18.04.2 LTS, kernel 4.18.0-22-generic
signature.asc
Description: This is a digitally signed message part
