From owner-freebsd-questions@freebsd.org Thu Jul 9 14:11:02 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 E26CE36C743 for ; Thu, 9 Jul 2020 14:11:02 +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 4B2dPd6P0mz45qq for ; Thu, 9 Jul 2020 14:11:01 +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 08:05:40 -0600 References: <5FD21AAE-BEB7-4FAB-9F01-70403A59AA7D@kreme.com> <7cc8380a-9d6b-ca3e-4611-fa675bf5983c@beepc.ch> <57FCC468-AC34-44DB-8043-8FA87C2BED30@kreme.com> To: FreeBSD In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3645.0.6.2.4) X-Rspamd-Queue-Id: 4B2dPd6P0mz45qq 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 [8.25 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(0.00)[+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]; URIBL_RED(3.50)[yuripv.dev:email]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_MEDIUM(0.99)[0.988]; TO_DN_ALL(0.00)[]; HAS_ANON_DOMAIN(0.10)[]; NEURAL_SPAM_LONG(1.01)[1.011]; NEURAL_SPAM_SHORT(0.75)[0.746]; 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)[]; GREYLIST(0.00)[pass,body]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] X-Spam: Yes 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 14:11:02 -0000 On 09 Jul 2020, at 07:01, Yuri Pankov wrote: > @lbutlr wrote: >> 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's not a service, and did you follow the instructions in ssmpt's = pkg-message? I missed "make replace" somehow. All good now. --=20 "We take off our Republican hats and put on our American hats" -- Many Republicans in Sep 2008