unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* wrong argument in gnus.el
@ 2025-01-02 10:11 gfp
  2025-01-02 15:24 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: gfp @ 2025-01-02 10:11 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 2056 bytes --]

Hi,

I got a wrong argument in my gnus.el
Does somebody know what is my mistake and how to change it?

thanks

Gottfried

Debugger entered--Lisp error: (wrong-number-of-arguments setq 3)
   signal(wrong-number-of-arguments (setq 3))
   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 () #<bytecode 
0x1243f1206641c4da>) #f(compiled-function () #<bytecode 
0x4d131ce0e73e6cb>) t)
   command-line()
   normal-top-level()


here is my gnus.el:

;;gnus for getting emails
(setq gnus-select-method '(nnnil nil))
(setq gnus-secondary-select-methods
       '((nnimap "posteo"
                 (nnimap-address "posteo.de")
                 (nnnimap-user "gottfried")
                 (nnmail-expiry-target "nnimap+posteo:[posteo]/Papierkorb")
                 (nnmail-expiry-wait 'immediate))))

(setq user-full-name '"gfp")
(setq gnus-third-select-methods '(nntp "news.eternal-september.org"))

;; Reply to mails with matching email address
(setq gnus-posting-styles
       '(address "gottfried <gottfried@posteo.de>")
        ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465 
gottfried@posteo.de"))

;; to see always all groups
(setq gnus-permanently-visible-groups ".*")

;; nice overview of all groups with unread/total count
(setq gnus-group-line-format "%5M %5y/%-8t • %c\n")

;;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")))))


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2451 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-02 10:11 wrong argument in gnus.el gfp
@ 2025-01-02 15:24 ` Eli Zaretskii
  2025-01-02 15:24 ` Michael Heerdegen via Users list for the GNU Emacs text editor
  2025-01-02 20:59 ` gfp
  2 siblings, 0 replies; 14+ messages in thread
From: Eli Zaretskii @ 2025-01-02 15:24 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Thu,  2 Jan 2025 10:11:31 +0000
> From: gfp <gfp@posteo.at>
> 
> I got a wrong argument in my gnus.el
> Does somebody know what is my mistake and how to change it?

Below.

> ;;gnus for getting emails
> (setq gnus-select-method '(nnnil nil))
> (setq gnus-secondary-select-methods
>        '((nnimap "posteo"
>                  (nnimap-address "posteo.de")
>                  (nnnimap-user "gottfried")
>                  (nnmail-expiry-target "nnimap+posteo:[posteo]/Papierkorb")
>                  (nnmail-expiry-wait 'immediate))))
> 
> (setq user-full-name '"gfp")

This looks suspicious: you don't need the apostrophe ' .

> ;; Reply to mails with matching email address
> (setq gnus-posting-styles
>        '(address "gottfried <gottfried@posteo.de>")
>         ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465 
> gottfried@posteo.de"))

This is wrong, and is the reason for the error.  It should probably
be something like

(setq gnus-posting-styles
       '((address "gottfried <gottfried@posteo.de>")
         ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465 
           gottfried@posteo.de")))
> ;;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")))))

This is probably redundant: it doesn't have any effect AFAICT.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-02 10:11 wrong argument in gnus.el gfp
  2025-01-02 15:24 ` Eli Zaretskii
@ 2025-01-02 15:24 ` Michael Heerdegen via Users list for the GNU Emacs text editor
  2025-01-02 20:59 ` gfp
  2 siblings, 0 replies; 14+ messages in thread
From: Michael Heerdegen via Users list for the GNU Emacs text editor @ 2025-01-02 15:24 UTC (permalink / raw)
  To: help-gnu-emacs

gfp <gfp@posteo.at> writes:

> Does somebody know what is my mistake and how to change it?
>
> Debugger entered--Lisp error: (wrong-number-of-arguments setq 3)

The error message says that you somewhere call `setq' with three
arguments, which is an error.  Can you find that call?

Michael.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-02 10:11 wrong argument in gnus.el gfp
  2025-01-02 15:24 ` Eli Zaretskii
  2025-01-02 15:24 ` Michael Heerdegen via Users list for the GNU Emacs text editor
@ 2025-01-02 20:59 ` gfp
  2025-01-04 15:24   ` gfp
  2 siblings, 1 reply; 14+ messages in thread
From: gfp @ 2025-01-02 20:59 UTC (permalink / raw)
  To: gfp; +Cc: help-gnu-emacs@gnu.org

gfp <gfp@posteo.at> writes:

>
> I got a wrong argument in my gnus.el
> Does somebody know what is my mistake and how to change it?
>
...
>
> here is my gnus.el:
>
...
> ;; Reply to mails with matching email address
> (setq gnus-posting-styles
>       '(address "gottfried <gottfried@posteo.de>")
>        ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465
>        gottfried@posteo.de"))

You have provided three arguments to ‘setq’.  ‘setq’ accepts any even number
of arguments, starting with 2.  So, it can have 2 or 4 or 6 or 8, etc., number
of arguments.  The argument pairs must be a symbol, followed by a value.
To read a brief description of ‘setq’, type C-h f setq RET

A longer description can be read in Emacs’s Info reader by evaluating the
following expression in Emacs:

   (info "(elisp) Setting Variables")

Here are the arguments that you have provided:

1. gnus-posting-styles -- a symbol
2. '(address "gottfried <gottfried@posteo.de>") -- a value
3. ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465
    gottfried@posteo.de") -- a value

There is a section of the GNUS Info manual that describes posting styles
that you can read by evaluating the following expression in Emacs:

   (info "(gnus) Posting Styles")

-- 
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
       [not found] ` <0cd25b63-778f-456f-a11f-b2afe70f20a3@posteo.de>
@ 2025-01-03 18:36   ` Gottfried
  2025-01-04  2:34     ` Michael Heerdegen via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 14+ messages in thread
From: Gottfried @ 2025-01-03 18:36 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org, Eli Zaretskii


[-- Attachment #1.1.1: Type: text/plain, Size: 3161 bytes --]


Hi Eli,

thanks very much, this helped.

Now I can open Emacs without error message.
-------------------------------------------------------
next problem:

When opening gnus   it can´t open my emails.

Opening nnimap server on posteo...failed: NO (AUTHENTICATIONFAILED)
Authentication failed.

1.
I have got this in my ".authinfo" file:

machine posteo login gottfried@posteo.de password my_password port 993
imaps
machine posteo login gottfried@posteo.de password my_password port 465

or only one sentence:
machine posteo login gottfried@posteo.de port imaps password my_password
but this sentence seems to be wrong. missing the port number.

I don´t know which of the two is better?

Independently of that there is may be an other mistake somewhere.

2.
I tried to put the .authinfo file in my .config/emacs folder
or also in my /home/gfp folder
In both cases it doesn´t work.

Is it better to put the .authinfo file into .config/emacs or into the
home folder /home/gfp ?

thanks for help.
Without help I am lost.

Gottfried

>>
>> Message: 1
>> Date: Thu, 02 Jan 2025 17:24:00 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>> To: help-gnu-emacs@gnu.org
>> Subject: Re: wrong argument in gnus.el
>> Message-ID: <86pll5jl2n.fsf@gnu.org>
>>
>>> Date: Thu,  2 Jan 2025 10:11:31 +0000
>>> From: gfp <gfp@posteo.at>
>>>
>>> I got a wrong argument in my gnus.el
>>> Does somebody know what is my mistake and how to change it?
>>
>> Below.
>>
>>> ;;gnus for getting emails
>>> (setq gnus-select-method '(nnnil nil))
>>> (setq gnus-secondary-select-methods
>>>         '((nnimap "posteo"
>>>                   (nnimap-address "posteo.de")
>>>                   (nnnimap-user "gottfried")
>>>                   (nnmail-expiry-target 
>>> "nnimap+posteo:[posteo]/Papierkorb")
>>>                   (nnmail-expiry-wait 'immediate))))
>>>
>>> (setq user-full-name '"gfp")
>>
>> This looks suspicious: you don't need the apostrophe ' .
>>
>>> ;; Reply to mails with matching email address
>>> (setq gnus-posting-styles
>>>         '(address "gottfried <gottfried@posteo.de>")
>>>          ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465
>>> gottfried@posteo.de"))
>>
>> This is wrong, and is the reason for the error.  It should probably
>> be something like
>>
>> (setq gnus-posting-styles
>>         '((address "gottfried <gottfried@posteo.de>")
>>           ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465
>>             gottfried@posteo.de")))
>>> ;;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")))))
>>
>> This is probably redundant: it doesn't have any effect AFAICT.


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-03 18:36   ` Gottfried
@ 2025-01-04  2:34     ` Michael Heerdegen via Users list for the GNU Emacs text editor
  2025-01-04  9:30       ` Björn Bidar
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Heerdegen via Users list for the GNU Emacs text editor @ 2025-01-04  2:34 UTC (permalink / raw)
  To: help-gnu-emacs

Gottfried <gottfried@posteo.de> writes:

> 1.
> I have got this in my ".authinfo" file:
>
> machine posteo login gottfried@posteo.de password my_password port 993
> imaps
> machine posteo login gottfried@posteo.de password my_password port 465
>
> or only one sentence:
> machine posteo login gottfried@posteo.de port imaps password my_password
> but this sentence seems to be wrong. missing the port number.
>
> I don´t know which of the two is better?

I don't have a clue.  My guess is that the posteo entry is not found in
your file because the machine name must be something like
"imap.posteo.de" or "posteo.de".  The name of the server you want to log
in to.  Maybe someone else knows.

> Independently of that there is may be an other mistake somewhere.
>
> 2.
> I tried to put the .authinfo file in my .config/emacs folder
> or also in my /home/gfp folder
> In both cases it doesn´t work.
>
> Is it better to put the .authinfo file into .config/emacs or into the
> home folder /home/gfp ?

It is searched for at any of the locations in `auth-sources', which
defaults to ("~/.authinfo" "~/.authinfo.gpg" "~/.netrc").


Michael.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-04  2:34     ` Michael Heerdegen via Users list for the GNU Emacs text editor
@ 2025-01-04  9:30       ` Björn Bidar
  2025-01-04 16:53         ` Michael Heerdegen via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 14+ messages in thread
From: Björn Bidar @ 2025-01-04  9:30 UTC (permalink / raw)
  To: Michael Heerdegen via Users list for the GNU Emacs text editor
  Cc: Michael Heerdegen

Michael Heerdegen via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Gottfried <gottfried@posteo.de> writes:
>
>> 1.
>> I have got this in my ".authinfo" file:
>>
>> machine posteo login gottfried@posteo.de password my_password port 993
>> imaps
>> machine posteo login gottfried@posteo.de password my_password port 465
>>
>> or only one sentence:
>> machine posteo login gottfried@posteo.de port imaps password my_password
>> but this sentence seems to be wrong. missing the port number.
>>
>> I don´t know which of the two is better?
>
> I don't have a clue.  My guess is that the posteo entry is not found in
> your file because the machine name must be something like
> "imap.posteo.de" or "posteo.de".  The name of the server you want to log
> in to.  Maybe someone else knows.

It should be imap.posteo.de yes.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-02 20:59 ` gfp
@ 2025-01-04 15:24   ` gfp
  2025-01-04 16:42     ` tpeplt
  0 siblings, 1 reply; 14+ messages in thread
From: gfp @ 2025-01-04 15:24 UTC (permalink / raw)
  To: gfp; +Cc: help-gnu-emacs@gnu.org

Hi,
thanks
I learned now how to use info.
Secondly to read the relevant info nodes.

Gottfried

Am 02.01.25 um 21:59 schrieb gfp:
> gfp <gfp@posteo.at> writes:
> 
>>
>> I got a wrong argument in my gnus.el
>> Does somebody know what is my mistake and how to change it?
>>
> ...
>>
>> here is my gnus.el:
>>
> ...
>> ;; Reply to mails with matching email address
>> (setq gnus-posting-styles
>>        '(address "gottfried <gottfried@posteo.de>")
>>         ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465
>>         gottfried@posteo.de"))
> 
> You have provided three arguments to ‘setq’.  ‘setq’ accepts any even number
> of arguments, starting with 2.  So, it can have 2 or 4 or 6 or 8, etc., number
> of arguments.  The argument pairs must be a symbol, followed by a value.
> To read a brief description of ‘setq’, type C-h f setq RET
> 
> A longer description can be read in Emacs’s Info reader by evaluating the
> following expression in Emacs:
> 
>     (info "(elisp) Setting Variables")
> 
> Here are the arguments that you have provided:
> 
> 1. gnus-posting-styles -- a symbol
> 2. '(address "gottfried <gottfried@posteo.de>") -- a value
> 3. ("X-Message-SMTP-Method" "smtp Posteo-posteo.de 465
>      gottfried@posteo.de") -- a value
> 
> There is a section of the GNUS Info manual that describes posting styles
> that you can read by evaluating the following expression in Emacs:
> 
>     (info "(gnus) Posting Styles")
> 





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-04 15:24   ` gfp
@ 2025-01-04 16:42     ` tpeplt
  2025-01-05 10:58       ` Gottfried
  0 siblings, 1 reply; 14+ messages in thread
From: tpeplt @ 2025-01-04 16:42 UTC (permalink / raw)
  To: gfp; +Cc: help-gnu-emacs@gnu.org

gfp <gfp@posteo.at> writes:

> Hi,
> thanks
> I learned now how to use info.
> Secondly to read the relevant info nodes.
>
> Gottfried

In case you are not aware, Info has a tutorial similar to Emacs’s
tutorial (which is accessible by typing C-h t).  To read Info’s
tutorial, type ‘h’ when your Emacs is viewing any Info page/node.

Again, if you choose to use ‘gnus’, then you might want or need to read
the Introduction to Emacs Lisp manual.  Two paths to read that manual:

1. Evaluate (info "(eintr) Top") in Emacs
2. From the menu bar: Help -> More Manuals -> Intro to Emacs Lisp

If ‘gnus’ appears to require too much effort given your time constraint,
then Emacs’s mail reader/writer ‘Rmail’ is simpler (and more limited in
its capabilities than ‘gnus’).  It is documented in the Emacs user
manual at (info "(emacs) Rmail").

-- 
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-04  9:30       ` Björn Bidar
@ 2025-01-04 16:53         ` Michael Heerdegen via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 14+ messages in thread
From: Michael Heerdegen via Users list for the GNU Emacs text editor @ 2025-01-04 16:53 UTC (permalink / raw)
  To: help-gnu-emacs

Björn Bidar <bjorn.bidar@thaodan.de> writes:

> It should be imap.posteo.de yes.

Thanks for confirming.

I think once Gottfried has successfully got it running it would be good
if he then finally switched to an encrypted .authinfo.gpg file.

Michael.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-04 16:42     ` tpeplt
@ 2025-01-05 10:58       ` Gottfried
  2025-01-05 11:16         ` Gottfried
  2025-01-05 15:20         ` Arash Esbati
  0 siblings, 2 replies; 14+ messages in thread
From: Gottfried @ 2025-01-05 10:58 UTC (permalink / raw)
  To: help-gnu-emacs, gfp


[-- Attachment #1.1.1: Type: text/plain, Size: 1767 bytes --]

Hi,

thanks

The strange thing is that
with my earlier settings
when I had two email addresses with posteo and gmail
gnus showed me all folders which I had in posteo,
it means it entered into my posteo account.
Now, when I deleted my gmail account
I can´t enter into my posteo account.

I tried different settings.
Nothing worked.

So may be I have to give up gnus at the moment,
because to learn Lisp from scratch and to use it properly
would take a long time,
and try may be a different Emacs email reader
in order to see if I can get my emails from posteo.

In Emacs Manual I see only Rmail and Gnus
I don´t see mu, mu4e, mutt.
But AFAIU mu, mu4e and mutt can also be used with Emacs.
Are they more difficult so set up?
Why they are not in the Emacs Manual?

Gottfried


Am 04.01.25 um 17:42 schrieb tpeplt:
> gfp <gfp@posteo.at> writes:
> 
>> Hi,
>> thanks
>> I learned now how to use info.
>> Secondly to read the relevant info nodes.
>>
>> Gottfried
> 
> In case you are not aware, Info has a tutorial similar to Emacs’s
> tutorial (which is accessible by typing C-h t).  To read Info’s
> tutorial, type ‘h’ when your Emacs is viewing any Info page/node.
> 
> Again, if you choose to use ‘gnus’, then you might want or need to read
> the Introduction to Emacs Lisp manual.  Two paths to read that manual:
> 
> 1. Evaluate (info "(eintr) Top") in Emacs
> 2. From the menu bar: Help -> More Manuals -> Intro to Emacs Lisp
> 
> If ‘gnus’ appears to require too much effort given your time constraint,
> then Emacs’s mail reader/writer ‘Rmail’ is simpler (and more limited in
> its capabilities than ‘gnus’).  It is documented in the Emacs user
> manual at (info "(emacs) Rmail").


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-05 10:58       ` Gottfried
@ 2025-01-05 11:16         ` Gottfried
  2025-01-05 15:20         ` Arash Esbati
  1 sibling, 0 replies; 14+ messages in thread
From: Gottfried @ 2025-01-05 11:16 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,
I am sorry, now I found Mu4e in the Emacs manual.

Gottfried


Am 05.01.25 um 11:58 schrieb Gottfried:
> Hi,
> 
> thanks
> 
> The strange thing is that
> with my earlier settings
> when I had two email addresses with posteo and gmail
> gnus showed me all folders which I had in posteo,
> it means it entered into my posteo account.
> Now, when I deleted my gmail account
> I can´t enter into my posteo account.
> 
> I tried different settings.
> Nothing worked.
> 
> So may be I have to give up gnus at the moment,
> because to learn Lisp from scratch and to use it properly
> would take a long time,
> and try may be a different Emacs email reader
> in order to see if I can get my emails from posteo.
> 
> In Emacs Manual I see only Rmail and Gnus
> I don´t see mu, mu4e, mutt.
> But AFAIU mu, mu4e and mutt can also be used with Emacs.
> Are they more difficult so set up?
> Why they are not in the Emacs Manual?
> 
> Gottfried




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-05 10:58       ` Gottfried
  2025-01-05 11:16         ` Gottfried
@ 2025-01-05 15:20         ` Arash Esbati
  2025-01-05 16:08           ` Gottfried
  1 sibling, 1 reply; 14+ messages in thread
From: Arash Esbati @ 2025-01-05 15:20 UTC (permalink / raw)
  To: Gottfried; +Cc: help-gnu-emacs, gfp

Gottfried <gottfried@posteo.de> writes:

> So may be I have to give up gnus at the moment, because to learn Lisp
> from scratch and to use it properly would take a long time,

I don't think you need to learn Lisp from scratch in order to use Gnus.
A minimal setup like this should get you going:

--8<---------------cut here---------------start------------->8---
;; ~/.gnus file:
(setq gnus-select-method '(nnnil ""))
(setq gnus-secondary-select-methods
      '((nnimap "posteo"
                (nnimap-address "posteo.de")
                (nnnimap-user "gottfried")
                (nnimap-authenticator login)
                (nnimap-stream ssl)
                (nnimap-server-port 993))))

;; ~/.authinfo file:
machine posteo.de login gottfried password YOURPASS
--8<---------------cut here---------------end--------------->8---

I don't use posteo, I just had a brief look at this page:

https://posteo.de/en/help/how-do-i-set-up-posteo-in-an-email-client-pop3-imap-and-smtp

Best, Arash



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: wrong argument in gnus.el
  2025-01-05 15:20         ` Arash Esbati
@ 2025-01-05 16:08           ` Gottfried
  0 siblings, 0 replies; 14+ messages in thread
From: Gottfried @ 2025-01-05 16:08 UTC (permalink / raw)
  To: Arash Esbati; +Cc: help-gnu-emacs, gfp

Hi Arash,

thanks

I tried that but it does also not work.

Warning: Opening nnimap server on posteo...failed: NO 
(AUTHENTICATIONFAILED) Authentication failed.


In opened gnus the message came up:
IMAP user at posteo (gfp)
IMAP password for gottfried@posteo

Should it not say:
IMAP password for gottfried@posteo.de?
or is this because it says in gnus.el: ´((nnimap "posteo"

May be there is another problem which we don´t know yet.

1.
I log into posteo@de with my name gottfried and the address: posteo.de
(gottfried@posteo.de)

but I added an alias address with the name: gfp,
that´s why probable "gfp" came up in opening gnus.
gfp@posteo.at

but this also is only available through my main account:
gottfried@posteo.de

I guess this should´nt be the problem here.
But, why did it then come up?

2.
other problems
Can it be mbox or maildir makes a difference?

Am 05.01.25 um 16:20 schrieb Arash Esbati:
> Gottfried <gottfried@posteo.de> writes:
> 
>> So may be I have to give up gnus at the moment, because to learn Lisp
>> from scratch and to use it properly would take a long time,
> 
> I don't think you need to learn Lisp from scratch in order to use Gnus.
> A minimal setup like this should get you going:
> 
> --8<---------------cut here---------------start------------->8---
> ;; ~/.gnus file:
> (setq gnus-select-method '(nnnil ""))
> (setq gnus-secondary-select-methods
>        '((nnimap "posteo"
>                  (nnimap-address "posteo.de")
>                  (nnnimap-user "gottfried")
>                  (nnimap-authenticator login)
>                  (nnimap-stream ssl)
>                  (nnimap-server-port 993))))
> 
> ;; ~/.authinfo file:
> machine posteo.de login gottfried password YOURPASS
> --8<---------------cut here---------------end--------------->8---
> 
> I don't use posteo, I just had a brief look at this page:
> 
> https://posteo.de/en/help/how-do-i-set-up-posteo-in-an-email-client-pop3-imap-and-smtp
> 
> Best, Arash





^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-01-05 16:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 10:11 wrong argument in gnus.el gfp
2025-01-02 15:24 ` Eli Zaretskii
2025-01-02 15:24 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2025-01-02 20:59 ` gfp
2025-01-04 15:24   ` gfp
2025-01-04 16:42     ` tpeplt
2025-01-05 10:58       ` Gottfried
2025-01-05 11:16         ` Gottfried
2025-01-05 15:20         ` Arash Esbati
2025-01-05 16:08           ` Gottfried
     [not found] <mailman.69.1735837219.11928.help-gnu-emacs@gnu.org>
     [not found] ` <0cd25b63-778f-456f-a11f-b2afe70f20a3@posteo.de>
2025-01-03 18:36   ` Gottfried
2025-01-04  2:34     ` Michael Heerdegen via Users list for the GNU Emacs text editor
2025-01-04  9:30       ` Björn Bidar
2025-01-04 16:53         ` Michael Heerdegen via Users list for the GNU Emacs text editor

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).