Hi Björn, thanks for taking time to help. ------------------------------------------------------------------------ > Mine is: >> (setopt gnus-group-line-format (concat "%M%S%p%P%5y " >> (propertize ;(all-the-icons-faicon "envelope-o") >> (all-the-icons-material "mail") >> 'display '(raise 0.0)) >> " : [%T]:%B%(%G%)\n")) If I set this in my gnus.el in starting emacs it comes up a Lisp error: Debugger entered--Lisp error: (void-function all-the-icons-material) (all-the-icons-material "mail") (propertize (all-the-icons-material "mail") 'display '(raise 0.0)) (concat "%M%S%p%P%5y " (propertize (all-the-icons-material "mail") 'display '(raise 0.0)) " : [%T]:%B%(%G%)\n") (setopt--set 'gnus-group-line-format (concat "%M%S%p%P%5y " (propertize (all-the-icons-material "mail") 'display '(raise 0.0)) " : [%T]:%B%(%G%)\n")) load-with-code-conversion("/home/gfp/.config/emacs/gnus.el" "/home/gfp/.config/emacs/gnus.el" nil nil) load-file("/home/gfp/.config/emacs/gnus.el") load-with-code-conversion("/home/gfp/.config/emacs/init.el" "/home/gfp/.config/emacs/init.el" t t) load("/home/gfp/.config/emacs/init" noerror nomessage) startup--load-user-init-file(#f(compiled-function () #) #f(compiled-function () #) t) command-line() normal-top-level() ---------------------------------------------------------------------------- > 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") >> Yes, I set up a .authinfo.gpg file in my Emacs folder .config/Emacs, in which I put my 2 email accounts posteo and gmail with the password. Interestingly it created a file in my home folder home/gfp/.authinfo, in which is only my posteo Email with password included and easily readable. Hopefully not for everybody, because I created the .authinfo.gpg in the .config/Emacs folder and hope that this file is read by getting my emails with gnus. There is no gmail. ----------------------------------------------------------------------------- Setting up as you proposed did not help to catch the gmail emails. There was the same question as always: here the output: Reading /home/gfp/.newsrc.eld... Opening nnfolder server on archive...done Opening nnimap server on posteo... Opening connection to posteo.de via tls... Opening connection to posteo.de...done Opening nnimap server on posteo...done Opening nnimap server on gmail... Opening connection to imap.gmail.com via tls... Opening nnimap server on gmail...failed: NO (AUTHENTICATIONFAILED) Invalid credentials (Failure) No new newsgroups Checking new news... Reading active file via nnnil...done Reading active file from gmail via nnimap... Opening nnimap server on gmail... Server nnimap+gmail previously determined to be down; not retrying Opening nnimap server on gmail...failed: NO (AUTHENTICATIONFAILED) Invalid credentials (Failure) nnimap read 0k from posteo.de Reading active file via nndraft...done Checking new news...done Warning: Opening nnimap server on gmail...failed: NO (AUTHENTICATIONFAILED) Invalid credentials (Failure); Server nnimap+gmail previously determined to be down; not retrying; Opening nnimap server on gmail...failed: NO (AUTHENTICATIONFAILED) Invalid credentials (Failure) this settings you proposed: 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")))) Kind regards Gottfried --------------------------------------------------------------------- Am 01.01.25 um 02:52 schrieb Björn Bidar: > gfp writes: > >> Hi, >> >> there must be a mistake somewhere. >> >> I am getting the emails of "posteo" >> >> but I don´t 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 ´emacs´] >> 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" > >> ;; 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 • %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-faicon "envelope-o") > (all-the-icons-material "mail") > 'display '(raise 0.0)) > " : [%T]:%B%(%G%)\n")) > Which looks like this: > 1587  : [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. >>>  Thanks >>> I didn´t 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´t 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örn 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´t 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. >>> --