From nobody Sun Dec 21 13:35:09 2025 X-Original-To: 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 4dZ2MX5WWsz6KlNP for ; Sun, 21 Dec 2025 13:35:20 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dZ2MS1VYlz3s2V for ; Sun, 21 Dec 2025 13:35:16 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unixarea.de header.s=blu3434000 header.b=MX0EroE+; dmarc=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unixarea.de ; s=blu3434000; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Reply-To:Message-ID:Subject:To:From:Date:Sender:Cc: Content-ID:Content-Description; bh=H1C2qm0qYZsf1jwA1qreNm4ds8sZhs0NXb749tMclhk=; b=MX0EroE+FpmifTs+Z/yMPPa4hh CbRpVDYV+q4/NsY8IpEF6yiiMg1tLKOM1Zun3dV77J5D5UiSWwbhAI4Bozgsj3IX8gP/b+1FShGnB /L45kDyBpm0KfuNUlb9JrjDKkdR04f01RCLYD3x4+Ky4fvcGHSDwgFjsFjcoZoQqYMKQem/e/ulOi qtemFLOWA1j4cMGAripX3ornLZZ3B8Zmjzscav8qukTOxOjjDPddhgMls8FkwEbVrjneEQy9vUr/Y 70lueeigPfN86xPlhrRoGnIn5l1EZDdm4VwyQ7nZvpgjywBwWLn0lHvykdONBKSsbjYjbLf4VHmEw MVDvTovQ==; Received: from [152.207.112.25] (helo=c720-1400094) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vXJab-00Czf5-Qm for questions@freebsd.org; Sun, 21 Dec 2025 14:35:14 +0100 Date: Sun, 21 Dec 2025 08:35:09 -0500 From: Matthias Apitz To: questions@freebsd.org Subject: Re: Using sendmail as outbound MTA, but with SSL Message-ID: Reply-To: Matthias Apitz References: <20251221104537.141482d9@ryz.dorfdsl.de> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20251221104537.141482d9@ryz.dorfdsl.de> X-Operating-System: FreeBSD 14.0-CURRENT 1400094 (amd64) X-message-flag: Mails in HTML will not be read! Send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 152.207.112.25 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.80 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MID_RHS_NOT_FQDN(0.50)[]; ONCE_RECEIVED(0.20)[]; R_DKIM_ALLOW(-0.20)[unixarea.de:s=blu3434000]; R_SPF_ALLOW(-0.20)[+ip4:178.254.4.101]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[unixarea.de]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; SUSPICIOUS_AUTH_ORIGIN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[unixarea.de:+]; RCVD_COUNT_ONE(0.00)[1]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; BLOCKLISTDE_FAIL(0.00)[178.254.4.101:server fail,152.207.112.25:server fail]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4dZ2MS1VYlz3s2V Hello Marco, Thanks for the reply. El día domingo, diciembre 21, 2025 a las 10:45:37a. m. +0100, Marco Moock escribió: > Am 19.12.2025 um 08:47:17 Uhr schrieb Matthias Apitz: > > > > and I have to bypass sendmail with a configuration in mutt to send > > mails to smtp.1blu.de:465 > > The port can be changed, but I dunno is implicit TLS can be enabled for > the esmtp mailer, as sendmail is an MTA and MTAs are not designed to > talk to the submission service. > You might ask that in comp.mail.sendmail. I was used to use USENET in the 90ties. Does comp.mail.sendmail still exist? > Running stunnel would be an easy option. I've never used stunnel, only SSH and port forwarding. The IP addrs in question are for my SSH account: $ host www.unixarea.de www.unixarea.de has address 178.254.11.41 for SMTP port 25: $ host smtp.1blu.de smtp.1blu.de has address 178.254.4.101 Can I do such stunnel to route SMTP to 178.254.4.101:25 without involving my ISP before? I'd even have to compile security/stunnel, but I checked, I can do this from here in Cuba with my FreeBSD netbook. Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub