From nobody Sat Nov 26 14:18:58 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NKDPj3tF3z4jTPf for ; Sat, 26 Nov 2022 14:19:21 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (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 4NKDPj1Ntcz3jDb for ; Sat, 26 Nov 2022 14:19:21 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Authentication-Results: mx1.freebsd.org; none Received: from [IPV6:2a02:8010:64c9:1::2] (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id 96FBD7B81; Sat, 26 Nov 2022 14:18:58 +0000 (GMT) Message-ID: <0ac821e1-2b78-b1e1-9b6e-399d55deb051@qeng-ho.org> Date: Sat, 26 Nov 2022 14:18:58 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: What is this sm-mta? Content-Language: en-GB To: iio7@tutanota.com, Freebsd Questions References: From: Arthur Chance In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4NKDPj1Ntcz3jDb X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 25/11/2022 19:07, iio7@tutanota.com wrote: > I have the following options set in /etc/rc.conf > > sendmail_enable="NO" > sendmail_msp_queue_enable="NO" > > Yet I keep seeing a lot of sendmail activitity in /var/log/maillog: To shut sendmail off completely you want sendmail_enable="NONE" > > Nov 25 03:35:41 foo sendmail[90110]: 2AP2ZeZo090110: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=37944, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]> Nov 25 03:35:41 foo sendmail[90110]: 2AK23ccD044156: to=postmaster, delay=5+00:32:03, xdelay=00:00:00, mailer=relay, pri=487250, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] > Nov 25 03:35:41 foo sendmail[90110]: 2AK23ccD044156: 2AP2ZeZp090110: return to sender: Cannot send message for 5 days > > What is all of this? sendmail trying to pass root mail to localhost. This is because it's unconfigured as you thought you weren't using it. > > And also from sm-mta: > > Nov 24 16:12:06 foo sm-mta[56897]: STARTTLS=server: file /etc/mail/certs/dh.param unsafe: No such file or directory > Nov 24 18:39:14 foo sm-mta[12546]: starting daemon (8.16.1): SMTP+queueing@00:30:00 > Nov 24 18:39:14 foo sm-mta[12546]: STARTTLS=server: file /etc/mail/certs/dh.param unsafe: No such file or directory > Nov 24 20:47:03 foo sm-mta[75966]: starting daemon (8.16.1): SMTP+queueing@00:30:00 > Nov 24 20:47:03 foo sm-mta[75966]: STARTTLS=server: file /etc/mail/certs/dh.param unsafe: No such file or directory > > sm-mta doesn't seem to be documented anywhere? It's sendmail by another name. I haven't run sendmail for years, but from memory it's sendmail acting as a mail submission daemon. It'll go away when you shut off sendmail properly. > There are no scripts in /etc/rc.d nor /usr/local/rc.d > > Still the log is filling up with this in maillog. -- We build our computer systems the way we build our cities; over time, without a plan, on top of ruins. — Ellen Ullman