From nobody Sat Jan 25 16:49:39 2025 X-Original-To: ports-bugs@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 4YgLJ32tfxz5lbbP for ; Sat, 25 Jan 2025 16:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YgLJ32695z4HbC for ; Sat, 25 Jan 2025 16:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737823779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jYCIcvM44OIlPljAo8w+hEd3+Y3YmvRdPeh856eeozk=; b=pb67mb8LpnStqZsEBiwERwXV84VMT2efcWBM9EhA92PWc8Gwz6UQnfoERhJictH0qzwmz1 WiBo+rexx1qQ6MXvBFNk15jKuOotLvANwsV7ClOeReoUpIMUVFUL8yEEAVYR1aFWQx5Qv6 FoK+zVe8r4YDYzZY1vlH2ssAea4a7kewY4yUNXbcn+mt+3iVmE5zZHr6WUSxxRcImy+9sL 9tY5bGcikVnq6xccFehUxXGRFHg8pqQc3ZSELmGpkGY2Va27UXnImdCUit0tOswlrXBc4G WHc2v67CZ3Rw85OVQrm8RN6v4/tAu0FWA14DD19x/PvPzthI4LZExJrcVLtL3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737823779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jYCIcvM44OIlPljAo8w+hEd3+Y3YmvRdPeh856eeozk=; b=uXNneijclKuxDcdQvvsahDhQgwwI8Ae6o7cjJH3Oq0dGCNQeENjT5iH+jY995fAvc5Hs38 o9VRyzPApMn06FZfRwU/yboCIsLWJIwPM7AmC0Z3JOSkPwQ7harin50n4zu8VIwviw1qJ0 gLRHsqRvPMM3slLtTddTJmBHqhT+Q/aspa++0vs20/jeCDX0gujw6/+Hy054mr51vFYWsP eoqVdslJRtMXGK1s4FFppZOnFc/oYOXh099b95bVXIKpFbljoeww4ubCfUho2hGmXUelrd 1cirnP5ojIKuo3SaTyFBuN/7qPiHWAqNtM9QyLYrwjAJfLN0ejwDl7klsgRtkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737823779; a=rsa-sha256; cv=none; b=pcziFTqLzn45rDe0AXTRkMbWMLuXPyqwfGK693N1UXDSkzb0u70sLjyvjBDTFz8cXj/gsh bUGBUkD7miq9gbA9G7pWCgMB7vdpw1VVC+wWHNuUjsJ1nEmJCzXB5vi0/N3IrnuorQ3CTo m3NmVUObY2vSZ4suw2sbEX0An4HfMzWVlj+wgnIyss1rBd3aqpSz3sDihAZj5aPki0eX+4 iUTKbxuKt2z5yZ1OyKUP6mM1AtTfPu6f7eg5RveSJbIDqFW720uyIIkcB00MOckcImILKS LcQCBEKF7vxSEATMubykAvJlicmEpm0SQLW9rmgisabMWzUJYxxA5w/2rZQAcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YgLJ31Hlbz1KJv for ; Sat, 25 Jan 2025 16:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50PGndqu078303 for ; Sat, 25 Jan 2025 16:49:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50PGndKU078301 for ports-bugs@FreeBSD.org; Sat, 25 Jan 2025 16:49:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 284345] mail/opensmtpd tls_config_set_ca_file: failed to open CA file Date: Sat, 25 Jan 2025 16:49:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: testcb00@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fluffy@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284345 Bug ID: 284345 Summary: mail/opensmtpd tls_config_set_ca_file: failed to open CA file Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: fluffy@FreeBSD.org Reporter: testcb00@gmail.com Assignee: fluffy@FreeBSD.org Flags: maintainer-feedback?(fluffy@FreeBSD.org) Thank you for maintaining this port. Today, I tried to set up a mail server following this guide: https://www.davd.io/posts/2021-12-18-freebsd-mail-server-part-1/ However, when I start the service, I get the following error: Jan 25 15:52:30 mail newsyslog[40886]: logfile first created Jan 25 16:24:07 mail smtpd[87528]: info: OpenSMTPD 7.6.0-portable starting Jan 25 16:24:08 mail smtpd[88847]: dispatcher: tls_config_set_ca_file: fail= ed to open CA file '/etc/ssl/cert.pem': No such file or directory Jan 25 16:24:08 mail smtpd[87666]: smtpd: process dispatcher socket closed With this error, I did some research that may relate to the issue: https://lists.freebsd.org/archives/dev-commits-ports-main/2023-October/0801= 75.html https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274322 It seems that the tls_default_ca_cert_file is searching for the SSL certifi= cate in the wrong path? --=20 You are receiving this mail because: You are the assignee for the bug.=