From: "Björn Bidar" <bjorn.bidar@thaodan.de>
To: gfp <gfp@posteo.at>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: E-mail package
Date: Wed, 01 Jan 2025 03:52:11 +0200 [thread overview]
Message-ID: <21712.7676982031$1735696385@news.gmane.org> (raw)
In-Reply-To: <d96c1c31-ee66-48ed-8879-2e29b05fc462@posteo.at> (gfp@posteo.at's message of "Mon, 30 Dec 2024 13:49:32 +0000")
gfp <gfp@posteo.at> 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 <gottfried@posteo.de>"))
> ("gmail" ; Matches Gnus group called "gmail"
> (address "Francis <francis.pr@gmail.com>")
> ("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+<connection name>: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 <gfp@posteo.at> 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.
>>
next prev parent reply other threads:[~2025-01-01 1:52 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-23 17:27 E-mail package Christopher Howard
2024-12-23 18:50 ` gfp
2024-12-24 16:48 ` Christopher Howard
2024-12-25 9:22 ` gfp
2024-12-26 6:27 ` Joel Reicher
2024-12-26 20:37 ` gfp
2024-12-26 21:39 ` tpeplt
2024-12-28 3:38 ` divya
2024-12-28 4:10 ` Bob Newell
2024-12-28 7:13 ` Joel Reicher
2024-12-28 17:39 ` tpeplt
2024-12-28 18:13 ` Jean Louis
2024-12-30 17:56 ` Christopher Howard
2024-12-29 0:49 ` Björn Bidar
[not found] ` <87frm9ugpg.fsf@gmail.com>
2024-12-30 10:58 ` gfp
2024-12-30 11:16 ` tomas
2024-12-30 11:43 ` gfp
2024-12-30 12:18 ` tomas
2024-12-26 16:28 ` Christopher Howard
2024-12-27 15:47 ` Eric S Fraga
[not found] ` <877c7mdk70.fsf@gmail.com>
2024-12-29 20:49 ` gfp
2024-12-30 4:27 ` Björn Bidar
[not found] ` <87zfkdyevq.fsf@>
2024-12-30 12:04 ` gfp
2024-12-30 13:49 ` gfp
2025-01-01 1:52 ` Björn Bidar [this message]
[not found] ` <871pxnxpv8.fsf@>
2025-01-01 13:19 ` gfp
2025-01-01 19:35 ` Björn Bidar
2024-12-27 15:45 ` Eric S Fraga
-- strict thread matches above, loose matches on Subject: below --
2024-10-19 14:15 gfp
2024-10-19 15:21 ` Jude DaShiell
2024-10-20 3:19 ` W. Greenhouse
2024-10-21 8:47 ` Eric S Fraga
2024-12-06 22:11 ` Jean Louis
2024-12-21 11:50 ` Joel Reicher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='21712.7676982031$1735696385@news.gmane.org' \
--to=bjorn.bidar@thaodan.de \
--cc=gfp@posteo.at \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).