From nobody Sun Mar 10 13:29:11 2024 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 4Tt12w3h1Yz5CrgD for ; Sun, 10 Mar 2024 13:29:12 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tt12w03T3z4mp5 for ; Sun, 10 Mar 2024 13:29:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710077352; a=rsa-sha256; cv=none; b=EcYg+pJSkUsld3DfRXARjWIiZ7oKRqNFTQEsJ9B2eEp9Bv5+hHsogc8xf8J5vwBuc4LVVd /Rp7K+3FnG+R1Pb0hB6Zqx0vBINhkC8em18Bl2xXKX43LpH/qQSpkOjQNIiph8s1b3WFhO 1VcgmrlTf1Bmpe8lKktgODwnC4PWmica9WUlYQEpxFD5UMhM73vZeGr3MH0kGS+mlozMAH CzZQHGH2gSm0zw6ZR5wt0dJij6KQZ5mgekE7rvc/uvkSpSdLyZ1mgpVQMCIdFwIHYJDxe9 xhWioEpTEPVKjSamkybVjuQVWUnDopemEv+nzMcnq0Wj6m+kXOx5c+olK0MUuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710077352; 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=JH8wJaPSXbDYTLFj4WctPcm44GzDHpJLpoVfnEEZO0U=; b=WAc8aomuet8STpkxYj5qfq7H3oU85lUxXU0uR01dboBKqfrjlewX+SZWPZB0pDo72ztuOW ECREa/cypXVgOtcVKHPKw67igzBqzVJduJPJ+x15MIkX/mUSwlCRlSOwpO3qY/gqlwkNhD RQcwKLNA6mThpjDNVgVynEAVr0YQ09cwJrbeNpzT+pMvk0dD/PdyV9B7/8tR7dlMTI7GYc nbpGPcIpzmX+SZbbOgN32Ft+a9/WtnXgfO0hiORkhkD5Z+XeCENNmQU6r6Cn/vVgfmYitJ hVHhRorGbBJwZaPom+oknIY6Mzw00kJbmcgVyuUhxI6S3X8gzpZwg152NhgwOA== 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 4Tt12v6gZXzng9 for ; Sun, 10 Mar 2024 13:29:11 +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 42ADTBNq091442 for ; Sun, 10 Mar 2024 13:29:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42ADTBYw091441 for ports-bugs@FreeBSD.org; Sun, 10 Mar 2024 13:29:11 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 277611] mail/snappymail: Fix autoconfig Date: Sun, 10 Mar 2024 13:29:11 +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: DtxdF@disroot.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yasu@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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277611 Bug ID: 277611 Summary: mail/snappymail: Fix autoconfig Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yasu@freebsd.org Reporter: DtxdF@disroot.org Assignee: yasu@freebsd.org Flags: maintainer-feedback?(yasu@freebsd.org) Created attachment 249071 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249071&action= =3Dedit mail-snappymail-Fix-autoconfig.patch Description: When configuring a new domain and hit the Autoconfig button, an error is occurred due the missing SimpleXML extension. ``` [2024-03-09 07:18:28.749][72d59c31] PHP[WARNING]: file_get_contents(https://autoconfig.disroot.org/.well-known/mail-v1.xml?em= ailaddress=3Dtest%40disroot.org): Failed to o pen stream: HTTP request failed! HTTP/1.1 403 Forbidden /usr/local/www/snappymail/snappymail/v/2.35.2/app/libraries/RainLoop/Provid= ers/Domain/Autoconfig.php [line:64, code:2] [2024-03-09 07:18:30.360][72d59c31] PHP[WARNING]: file_get_contents(https://disroot.org/.well-known/autoconfig/mail/config-v1= .1.xml): Failed to open stream: HTTP reques t failed! HTTP/1.1 404 Not Found /usr/local/www/snappymail/snappymail/v/2.35.2/app/libraries/RainLoop/Provid= ers/Domain/Autoconfig.php [line:64, code:2] [2024-03-09 07:18:31.518][72d59c31] SERVICE[WARNING]: Call to undefined function simplexml_load_string() ``` After installing the simplexml extension, it just shows a bunch of warnings, but Autoconfig works and configures the parameters without user intervention. ``` [2024-03-09 07:20:27.683][64f93497] PHP[WARNING]: file_get_contents(https://autoconfig.disroot.org/.well-known/mail-v1.xml?em= ailaddress=3Dtest%40disroot.org): Failed to o pen stream: HTTP request failed! HTTP/1.1 403 Forbidden /usr/local/www/snappymail/snappymail/v/2.35.2/app/libraries/RainLoop/Provid= ers/Domain/Autoconfig.php [line:64, code:2] [2024-03-09 07:20:29.426][64f93497] PHP[WARNING]: file_get_contents(https://disroot.org/.well-known/autoconfig/mail/config-v1= .1.xml): Failed to open stream: HTTP reques t failed! HTTP/1.1 404 Not Found /usr/local/www/snappymail/snappymail/v/2.35.2/app/libraries/RainLoop/Provid= ers/Domain/Autoconfig.php [line:64, code:2] ``` QA: * portlint: OK (looks fine.) * testport: OK (synth: 14.0-RELEASE, amd64, GNUPG LDAP MYSQL PGSQL REDIS SQLITE3 tested) --=20 You are receiving this mail because: You are the assignee for the bug.=