[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: E-mail package
From: |
Björn Bidar |
Subject: |
Re: E-mail package |
Date: |
Wed, 01 Jan 2025 03:52:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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.
>>
- Re: E-mail package, (continued)
- Re: E-mail package, Christopher Howard, 2024/12/26
- Re: E-mail package, Eric S Fraga, 2024/12/27
- Message not available
- Re: E-mail package, gfp, 2024/12/29
- Re: E-mail package, Björn Bidar, 2024/12/29
- Re: E-mail package, gfp, 2024/12/30
- Re: E-mail package, gfp, 2024/12/30
- Re: E-mail package,
Björn Bidar <=
- Re: E-mail package, Eric S Fraga, 2024/12/27