From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.help Subject: Re: E-mail package Date: Wed, 01 Jan 2025 03:52:11 +0200 Message-ID: <21712.7676982031$1735696385@news.gmane.org> References: <871pxyia33.fsf@librehacker.com> <87msglf2n7.fsf@librehacker.com> <2b9906d7-d477-44c1-afbf-daf46292081b@posteo.at> <871pxufly9.fsf@librehacker.com> <877c7mdk70.fsf@gmail.com> <9bf825d8-fca9-4a22-aca3-54622db2b1d8@posteo.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2409"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "help-gnu-emacs@gnu.org" To: gfp Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 01 02:52:57 2025 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 1tSnur-0000U1-85 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 01 Jan 2025 02:52:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSnuN-0006sp-Hw; Tue, 31 Dec 2024 20:52:29 -0500 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 1tSnuE-0006sO-64 for help-gnu-emacs@gnu.org; Tue, 31 Dec 2024 20:52:19 -0500 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSnuB-0002kG-48 for help-gnu-emacs@gnu.org; Tue, 31 Dec 2024 20:52:17 -0500 Original-Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49]) by thaodan.de (Postfix) with ESMTPSA id 6456AD0002E; Wed, 1 Jan 2025 03:52:12 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1735696332; bh=jPFpneuyapg67y0iezSCba4ObRwRd11NJ2lJaDcyGcU=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=SViISNf/HVb278QuqFXU/Mn6amb6iLwZryjwjrcnPUBXc1tpfHK5j7j/o5AZCNUqc 7web7owsqgkNW5Z2w6Q+enNgOt7LpVWFXa+rx1YKwjIWYD/OmjsX7XnEEzNJ2uNQ6x 7tW2otwaYRNe90P8CPbRXqSbRVyXLKnvGVzGpIt3p+YA1L0SUEUcRb0g9k/+TPZTal D7c9o41r3L+0FqcbksbgNyyGSLJ4YCyeVaGWdiw1XHYp2OXUgKBv3WYWaZTjwK6d3w MMfroWQKSg6W0kLMzgfQOItuZLrTUIHvMgBpNkgqjDz3EbwTNN6snhS5jhS7WAy63H nAv90Zz9c9P41ZHkdGmJdZ82pel8ajXNq9HhjMYt2n8tLwAlfoPP67c9zB+PUVS0qD wEmQHsS7WwL7VRsbCIOF3GxePjCrmJxWu2bj52Mv9ntP3cjbFP9Cj+CjE4mBQWrm/T zHemXbE7sNThWCyTwXulF9hWVmB19kviTJBr8WplX7x7Azth1JnqI04puxfnTVYBym e+qDmw+66xyBRWpe5MPkbn0AK+5rnvF/9x+gyQ8S4U+U8GYuftsU8sYr9rVoiLHEX5 rIRohrY4fZijK/KEoxvNiaQOm1OMH5E/NEqtiR51NDKMm7tBIMj1tqC703hLKMtvp/ Lk0wx3qsQsHbWs+c4d4cP7GM= In-Reply-To: (gfp@posteo.at's message of "Mon, 30 Dec 2024 13:49:32 +0000") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 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, INVALID_MSGID=0.568, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:149086 Archived-At: gfp writes: > Hi, > > there must be a mistake somewhere. > > I am getting the emails of "posteo" > > but I don=C2=B4t get the emails of "gmail" > > And if connecting to gnus it asks me of the email address and the > password of gmail > but not of the email address and password of posteo: > > IMAP user at gmail (gfp): [Reverting buffer =C2=B4emacs=C2=B4] > IMAP password for francis.pr@gmail.com > > I understand it like this that it connects to the IMAP of Gmail and > not of posteo. But then, why it takes the emails of posteo and not of > gmail? > > Warning: Opening nnimap server on gmail...failed: NO > (AUTHENTICATIONFAILED) Invalid credentials (Failure); Server > nnimap+gmail previously determined to be down; not retrying Did you already setup auth-source? If Emacs will retrieve the password from it. Checkout (info "(emacs) Authentication"). You likely forgot to set the user in your imap connections. Checkout out: (info "(gnus) Using IMAP") > ------------------------------------------------------------------ > here are my gnus.el settings: > > ;;gnus for getting emails > (setq gnus-select-method '(nnnil nil)) > (setq gnus-secondary-select-methods > '((nnimap "posteo" > (nnimap-address "posteo.de") add imap user here e.g. as in (nnnimap-user "gottfried") > (nnimap-server-port "imaps") > (nnimap-stream ssl) > (nnir-search-engine imap) This setting is obsolete and Gnus will pick IMAP search with IMAP connections anyway. > (nnmail-expiry-target "nnimap+posteo:[posteo]/Papierkorb") > (nnmail-expiry-wait 'immediate)) > (nnimap "gmail" > (nnimap-address "imap.gmail.com") add imap user here e.g. as in (nnnimap-user "francis.pr") > (nnimap-server-port "imaps") > (nnimap-stream ssl) > (nnir-search-engine imap) Same again. > (nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash") > (nnmail-expiry-wait 'immediate)))) > > ;; Reply to mails with matching email address > (setq gnus-posting-styles > '((".*" ; Matches all groups of messages > (address "gottfried ")) > ("gmail" ; Matches Gnus group called "gmail" > (address "Francis ") > ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465 > gottfried@posteo.de")))) You can set the archive method per connection if you want. Add something like below: "Gcc" "nnimap+:Sent"=20 > ;; alle Gruppen immer sehen > (setq gnus-permanently-visible-groups ".*") > > ;; nice overview of all groups with unread/total count > (setq gnus-group-line-format "%5M %5y/%-8t =E2=80=A2 %c\n") Maybe there's something wrong in this that the message count is wrong. Mine is: (setopt gnus-group-line-format (concat "%M%S%p%P%5y " (propertize ;(all-the-icons-faico= n "envelope-o") (all-the-icons-material "mail") 'display '(raise 0.0)) " : [%T]:%B%(%G%)\n")) Which looks like this: 1587 =EE=85=98 : [0]: Emacs.Bugs > ;;nice colours for spot groups with new emails > '((gnus-group-mail-1-empty ((t (:foreground "SlateGray3")))) > '(gnus-group-mail-3 ((t (:foreground "spring green")))) > '(gnus-group-mail-3-empty ((t (:foreground "SlateGray3")))) > '(gnus-group-news-3 ((t (:foreground "spring green")))) > '(gnus-group-news-3-empty ((t (:foreground "SlateGray3")))) > '(gnus-group-news-low ((t (:foreground "spring green"))))) > > ----------------------------------------------------------------------- > thanks for help > > Gottfried > > > Am 30.12.24 um 13:04 schrieb gfp: >> Hi, >> thanks for help. >> Now it works, after listing all groups, as you said. >> I got 134 folders listed. >> =C2=A0Thanks >> I didn=C2=B4t have to do what you described in this email I quoted. >> Next problem: >> 1. >> the numbers in front of the groups are not all correct. >> In one group it said 0/112, but I have there only 21 emails at all. >> 2. >> What do the stars in front of the numbers tell? >> Does it mean in this group there are starred emails, which I marked >> as starred? I guess so, but I am asking as well. >> 3. >> how can I delete an email? >> 4. >> I am sorry to have replied to the top post. I got >> confused. Sometimes I didn=C2=B4t know where should I reply to and made a >> mess. >> Now I know I should only reply to the message I got and additionally >> add the email address of the help-gnu-emacs list. >> Is that all right? >> thanks for help >> Gottfried >> Am 30.12.24 um 05:27 schrieb Bj=C3=B6rn Bidar: >>> gfp writes: >>> >>>> Hi, >>>> >>>> I tried to set up Gnus with the help of: >>>> >>>> https://www.bounga.org/tips/2020/05/03/multiple-smtp-accounts-in-gnus-= without-external-tools/ >>>> >>>> and after changing the settings it worked partially. >>>> >>>> It took only emails from one email provider, but not from the other >>>> (may be I have to fiddle around in my settings). >>> >>> Did you list all groups as I explained earlier? Gnus handles multiple >>> providers or as Gnus calls it select methods just fine. >>> >>> For example I have my own mailbox as IMAP but also the public-inbox from >>> Sourceware as IMAP. >>> >>> Can you provide us your settings with the private information removed? >>> >>>> But what astonishes me: >>>> it took in "groups" only 55 folders (which I have set up in my email >>>> provider "posteo" instead of more than 100. >>>> So I don=C2=B4t know why it took only a part of it. >>> >>> Open the server buff (press ^ in the Groups buffer) select the Posteo >>> select method and press enter. >>> Now look if you are subscribed to the other group if there's a K or Z in >>> front of the names press u to subscribe. >>> >>> This practice does sound Gnus specific but is general IMAP feature. >>