From owner-freebsd-questions@freebsd.org Thu Jul 9 12:57:00 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A2D6036A1F3 for ; Thu, 9 Jul 2020 12:57:00 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2bmC5djGz410b for ; Thu, 9 Jul 2020 12:56:59 +0000 (UTC) (envelope-from kremels@kreme.com) From: "@lbutlr" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: Sending system mail to remote mail server Date: Thu, 9 Jul 2020 06:56:58 -0600 References: <5FD21AAE-BEB7-4FAB-9F01-70403A59AA7D@kreme.com> <7cc8380a-9d6b-ca3e-4611-fa675bf5983c@beepc.ch> To: FreeBSD In-Reply-To: Message-Id: <57FCC468-AC34-44DB-8043-8FA87C2BED30@kreme.com> X-Mailer: Apple Mail (2.3645.0.6.2.4) X-Rspamd-Queue-Id: 4B2bmC5djGz410b X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [0.83 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.70)[-0.702]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MISSING_MIME_VERSION(2.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.21)[-0.212]; NEURAL_SPAM_LONG(0.15)[0.146]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2020 12:57:00 -0000 On 09 Jul 2020, at 06:47, @lbutlr wrote: >> https://www.freebsd.org/doc/handbook/outgoing-only.html >=20 > Excellent! That was super simple. Thank you! Oops. I lied. I don't see how to start the service/enable ssmtp. I have = disabled and stopped sendmail but if I send a mail to root on the = command=3Dline I get this in maillog: Jul 9 06:55:12 ns2 sendmail[50730]: 069CtCrh050730: to=3Droot, = ctladdr=3Dlbutlr (1001/1001), delay=3D00:00:00, xdelay=3D00:00:00, = mailer=3Drelay, pri=3D30068, relay=3D[127.0.0.1] [127.0.0.1], dsn=3D4.0.0,= stat=3DDeferred: Connection refused by [127.0.0.1] There's nothing for ssmtp listed in service -e --=20 IT WOULD BE A MILLION TO ONE CHANCE, said Death. EXACTLY A MILLION TO ONE CHANCE. 'Oh,' said the Bursar, intensely relieved. 'Oh dear. What a shame.' --Eric