From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Dom (shymega) Rodriguez" Newsgroups: gmane.emacs.help Subject: Help with GNUS? Date: Sat, 31 Aug 2024 20:39:38 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="afg2jplqgbvdushl" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="534"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 31 22:41:19 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1skUuN-000AYT-FL for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 31 Aug 2024 22:41:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1skUtl-00053r-Cq; Sat, 31 Aug 2024 16:40:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skU1i-0007jl-RN for help-gnu-emacs@gnu.org; Sat, 31 Aug 2024 15:44:50 -0400 Original-Received: from mail-lo4gbr01on20721.outbound.protection.outlook.com ([2a01:111:f403:261a::721] helo=GBR01-LO4-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skU1h-0001AQ-51 for help-gnu-emacs@gnu.org; Sat, 31 Aug 2024 15:44:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=N/w3ahrkGJjJEx2Smb4DfO5ynAK7ZAqe/Oz3DlTr8b6uoWcpQd3DUM/mtzl9dfbG8fbYJ+kD7hQVBlIMPtp/g2Zq8ROc7EkauqIsY9z9snVSgVezlTVd4+LTekvKQqq/l33CQbkLBSdj3Ta6ld5KN1OlKmM+6+Gu9i2fQgY4VqeI7PI2TAvDukQh39bmK2PE90l3POZIG8p//rAqoJ6P/ZaQKOGkG0DOJQO90ZUxzvxRILitZPBEiJu/nPPwY7Ej5/gPGgeRBt4Tgdc/oupNpHAs6iJ1rDzPo7iDzXVhqylB10EgZvRqyaH672c/iKjECyxiCCnNaYPBhbNCYjGTHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SvLI8naHu3yBihdiie7VfcFy/qGp+6fVRcCYnYpwokE=; b=DfVYkS3ciz2yWk24O3uRYnM3YyOHaMLAnLItTHSFMhmq0jbXTVgfj9qq83oJ6G7PfngEnoC+9l4lh6Hmgwn2JaSH1EAr0qcfBdNNHil0EYSwkTfmPTwamtKorcCz5FR2xGrrsNrNxakxaqgtIQOUfOkOs7B2tESVeSRQ2QvI2fqVuoMkRrZnCPQXH8MfYkpPCyA130VJS42ve/GaHi431EC7SGJO89Ur6CUvU3zQFzG328MMkKRxfafCPRQEkU0Rm/k2naIB9UsNRrBm3Barvur3FB+I1bfCThZ4vj7MrIZb5aubd9N+iQvgswpkwesjc74z21qCoksdyDmkQATCqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 62.210.214.198) smtp.rcpttodomain=gnu.org smtp.mailfrom=shymega.org.uk; dmarc=pass (p=none sp=none pct=100) action=none header.from=shymega.org.uk; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shymega.org.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SvLI8naHu3yBihdiie7VfcFy/qGp+6fVRcCYnYpwokE=; b=IPG0cjD5Bxu3U8GrP0Cx42WYAD1e3CIyzeORcGXwqs9Z14C3vTkw393T91ibOOZarvPAepw0X6B1EGaIqr+Y3DRWU/AQNfOdH2Iej6iU/UsMm6rfh0mG65myFgmLb/mGYz8i6qg0fmX++/ELodHfb/DIK27GAkMukUf73UtWEXHR3YlhbUliSNuG+BrI2qjzw3//CMDttUkLN/XIeNm37ZG6mt9T65DedanTEwmCOC5MCNmJCymS37Infgc6lhg+/yhW5DTyUmJMGGYQYlbb2YGNsVp3k30C9mDWuwgO7TRVuh9xWVij7IWFLEF7Hqzo0ebJ0gPAh6WEeLjIx51kzQ== Original-Received: from LO2P123CA0002.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::14) by CWXP265MB2103.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:7b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sat, 31 Aug 2024 19:39:44 +0000 Original-Received: from LO1PEPF000022FF.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a6:cafe::e3) by LO2P123CA0002.outlook.office365.com (2603:10a6:600:a6::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sat, 31 Aug 2024 19:39:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 62.210.214.198) smtp.mailfrom=shymega.org.uk; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=shymega.org.uk; Received-SPF: Pass (protection.outlook.com: domain of shymega.org.uk designates 62.210.214.198 as permitted sender) receiver=protection.outlook.com; client-ip=62.210.214.198; helo=oracle.rodriguez.org.uk; pr=C Original-Received: from oracle.rodriguez.org.uk (62.210.214.198) by LO1PEPF000022FF.mail.protection.outlook.com (10.167.240.23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sat, 31 Aug 2024 19:39:43 +0000 Original-Received: from MORPHEUS-LINUX.localdomain (unknown [217.155.6.253]) by oracle.rodriguez.org.uk (Postfix) with ESMTPSA id 6A25BACA00F0 for ; Sat, 31 Aug 2024 19:39:43 +0000 (UTC) Original-Received: from MORPHEUS-LINUX (localhost [IPv6:::1]) by MORPHEUS-LINUX.localdomain (Postfix) with SMTP id 0F9801D0696 for ; Sat, 31 Aug 2024 20:39:38 +0100 (BST) Content-Disposition: inline X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LO1PEPF000022FF:EE_|CWXP265MB2103:EE_ X-MS-Office365-Filtering-Correlation-Id: 574aacf2-0e33-45f9-52c6-08dcc9f4a9f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|36860700013|82310400026|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?S1hocnZ3REMwTEYzNWZiWUsvUWZBR0lXdy9wUmxxN3NWM0psWkFIZkhHcUJ0?= =?utf-8?B?RW5CaTJqL2ZEWWpvNW1tVnVUY0FtZEg3Z2xIL1hkbEZpcmpCdVZtNFlrU3Q4?= =?utf-8?B?dVdEMVNWRHgyM2RvaWNoaUU3ZWUydFNqc3JYd2VBS0ZEOGlVYXNNaHV2Vzcv?= =?utf-8?B?YXgxV0laeCtZNWluSnA0Ym9KQUdzTmt4d0o0RjJrQk5XdFc0cWdXby9Gb014?= =?utf-8?B?L1JqOVk4WXhwRXc5ZTFoejNERC9IRldudzRyTmEyT0VkT3dsQlhNUjBlenlw?= =?utf-8?B?ZUFBdEkxSTM3dG1TNFNhZFZHcWVqSXViNytWbTdKMXdQcmVRWkFQWFlpeklP?= =?utf-8?B?Wi9Dd3NyWGpWdEQ2YjZKOWNpbmVPUURpR3YzNjZORnc4L3JHOUhuekFjaUND?= =?utf-8?B?TG5nSWpEaWdvTTQxZFR6dTU3eVJSclViSlB0VkQ5VXZwZGV4UnRIM1VDTEl6?= =?utf-8?B?QUo0bGhiWWxBVzd4ZU9tN0xaSUZUeEVJY3VNUG9EajZKTzVFaFhiVFc4MFY0?= =?utf-8?B?SlN3R2lnaStmMzBsLy9mbU1jRGs5U3ZyOHBlZzc4bGYyMUplR2hZdTQvbUtr?= =?utf-8?B?dm1ZdlZnZ0ZoMWp6aEx6UEIrVEVnVlBxSzdqenBzZ01zS09NWUJIRUFIWjZ1?= =?utf-8?B?NWF1MHh6MlA1VnJCZUhSbUJKMDdKVzRObzVIK0hyd X-Forefront-Antispam-Report: CIP:62.210.214.198; CTRY:FR; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:oracle.rodriguez.org.uk; PTR:oracle.rodriguez.org.uk; CAT:NONE; SFS:(13230040)(1800799024)(36860700013)(82310400026)(376014); DIR:OUT; SFP:1102; X-OriginatorOrg: shymega.org.uk X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2024 19:39:43.9641 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 574aacf2-0e33-45f9-52c6-08dcc9f4a9f3 X-MS-Exchange-CrossTenant-Id: 7e15dc52-0465-4028-b82a-3c894bbc5ba6 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=7e15dc52-0465-4028-b82a-3c894bbc5ba6; Ip=[62.210.214.198]; Helo=[oracle.rodriguez.org.uk] X-MS-Exchange-CrossTenant-AuthSource: LO1PEPF000022FF.GBRP265.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWXP265MB2103 Received-SPF: pass client-ip=2a01:111:f403:261a::721; envelope-from=shymega@shymega.org.uk; helo=GBR01-LO4-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 31 Aug 2024 16:40:39 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147872 Archived-At: --afg2jplqgbvdushl Content-Type: multipart/mixed; boundary="4au4cqltry5o6oz6" Content-Disposition: inline --4au4cqltry5o6oz6 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Hello! I've recently gotten back into Emacs, and by extension, GNUS. I repurposed an old config from a few years ago, but GNUS doesn't appear to 'like' it. I get the following error in `*Messages*`: > Warning: Opening nnimap server on rnet...failed: ; Unable to open server > nnimap+rnet due to: Wrong type argument: stringp, ("rnet" "localhost"); > Opening nnimap server on dev...failed: ; Unable to open server nnimap+dev due > to: Wrong type argument: stringp, ("dev" "localhost"); Opening nnimap server > on personal...failed: ; Unable to open server nnimap+personal due to: Wrong > type argument: stringp, ("personal" "localhost"); Opening nntp server on > leafnode...failed: ; Server nntp+leafnode previously determined to be down; > not retrying; Opening nntp server on leafnode...failed: ; Server > nntp+leafnode previously determined to be down; not retrying; Unable to open > server nntp+leafnode due to: Wrong type argument: stringp, ("localhost" > "leafnode") I think there's been a change in how GNUS parses the select method since I last used it. I should explain that I have three IMAP accounts (attached is the GNUS elisp source) that connect to `localhost:143`, and a NNTP select method (Leafnode) that connect to `localhost:119`. In theory - this should work. But I haven't used GNUS/Emacs for so long, that I am a bit rusty. Could someone point me in the right direction? Thank you. Best wishes, -- Dom Rodriguez GPG Fingerprint: EB0D 45E6 D0DC 1BA1 A2B5 FC24 72DC F123 1E54 BD43 --4au4cqltry5o6oz6 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="shy-gnus.el" ;;; gnus.el --- GNUS configuration for Emacs ;;; commentary: ;;; code: (setq gnus-save-newsrc-file nil gnus-read-newsrc-file t) (setq gnus-select-method '(nnnil nil)) (setq gnus-secondary-select-methods '( (nnimap "personal" (nnimap-address "localhost") (nnimap-user "Dominic.Rodriguez@rodriguez.rog.uk") (nnimap-stream plain)) (nnimap "dev" (nnimap-stream plain) (nnimap-address "localhost") (nnimap-user "shymega@shymega.org.uk")) (nntp "laefnode" (nntp-port-number 1119) (nntp-address "localhost")) (nnimap "rnet" (nnimap-stream plain) (nnimap-user "rnet@rodriguez.org.uk") (nnimap-address "localhost")))) (setq mm-text-html-renderer 'w3m) (setq gnus-use-cache t) (defun get-sig-from-mutt (acc) "Return account's signature specifed by ACC in $HOME/.mutt/accounts/%s.sig." (with-temp-buffer (insert-file-contents (expand-file-name (format "%s/.config/neomutt/conf.d/accounts.d//%s.sig" (getenv "HOME") acc))) (buffer-string))) (setq gnus-posting-styles '(("dominic.rodriguez@rodriguez.org.uk" (signature (get-sig-from-mutt "dominic.rodriguez@rodriguez.org.uk")) (name "Dom Rodriguez") (address "dominic.rodriguez@rodriguez.org.uk")) ("rnet@rodriguez.org.uk" (signature (get-sig-from-mutt "rnet@rodriguez.org.uk")) (name "RNET Administrators") (address "rnet@rodriguez.org.uk")) ("shymega@shymega.org.uk" (signature (get-sig-from-mutt "shymega@shymega.org.uk")) (name "Dom Rodriguez") (address "shymega@shymega.org.uk")) ("nntp-oss" (signature (get-sig-from-mutt "shymega@shymega.org.uk")) (name "Dom Rodriguez") (address "shymega@shymega.org.uk")))) (setq mm-discouraged-alternatives '("text/html" "text/richtext")) (setq gnus-read-active-file 'some) (setq gnus-summary-thread-gathering-function 'gnus-gather-threads-by-subject) (setq gnus-thread-hide-subtree t) (setq gnus-thread-ignore-subject t) (setq gnus-use-correct-string-widths nil) (setq gnus-thread-sort-functions '((not gnus-thread-sort-by-date) (not gnus-thread-sort-by-number))) ;;; send emails with msmtp-enqueue ;;; I've set up a script to perform checks on the queue and deal with them as needed, depending on connectivity. (setq message-send-mail-function 'message-send-mail-with-sendmail mail-specify-envelope-from t message-sendmail-f-is-evil nil mail-envelope-from 'header message-sendmail-envelope-from 'header) (add-hook 'gnus-group-mode-hook 'gnus-topic-mode) (setq gnus-topic-topology '(("Gnus" visible) (("dominic.rodriguez@rodriguez.org.uk" visible nil nil)) (("shymega@shymega.org.uk" visible nil nil)) (("rnet@rodriguez.org.uk" visible nil nil)))) (provide 'shy-gnus) ;;; gnus.el ends here --4au4cqltry5o6oz6-- --afg2jplqgbvdushl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE6w1F5tDcG6GitfwkctzxIx5UvUMFAmbTcXYACgkQctzxIx5U vUOUrw/7BzEk7g4XbsRUTXjTwc14sVR4ujZC8taRs46OXGRDBMzExRA0X3yi4TaS 7+KBmhmHGSA3zkcdZaxLcxS4lMP3ElYGSI0qVUUBs6xzv2Xa7XJxKpAd8vl8h+U/ 4tU5ZIcai/1cdfnB4fd7nCc50HPliOYZbg0LbhBAUKZQT1/eETtq8Q+n1xFPqC6P kJNO0FwcPWpS7GmDHNtbxSDCN8STtjI8eewmiLiH4jUp2f3j62BYUb0m5tQJIbGm zrO3YUA+gJbEhVtuhFOBBgOOGKiTvuqrA0JqTmbaNMOjApMG2JWuFdRvjQ4zOXsg r+pY54is97vIT6r37T4UykE6/8AF8hAdFXXC9S18G1yBEX0HJ88aeGxGHhoVHV+c 33BR3kb5hf27TFTi9mi6O9Dwz3MlsWhsyq+x6LeQTusfPnm+AdrPHtUddVAuVNih 9chDomkCp+Rry0ja5sW0RBA9pyswvAvw8gjyVvWXQYwNHpqQ7M8jlsjAbIyj8xoq AAnrH8jfUzbughddbXOgm9sWvRaF7b5obwaC8DBc9FEq1Nwba0jQO4kZf3Ww/yXm +GGRcQhZ4D0X3jnc04KEZBjAHV13F8swYoydNTwxqjvBbgJiLEoK1AKcKC3UgQyf QOej7WdkgxCcFCkSNOzIKx2gO7n7K44XsWMOsDelf9IZXseLu6o= =aons -----END PGP SIGNATURE----- --afg2jplqgbvdushl--