From: gfp <gfp@posteo.at>
To: Arash Esbati <arash@gnu.org>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: sending mail with gnus
Date: Wed, 8 Jan 2025 22:11:25 +0000 [thread overview]
Message-ID: <4bf582ca-094d-43db-9dbb-d8df0ed6ef5b@posteo.at> (raw)
In-Reply-To: <m2h669yqm6.fsf@macmutant.fritz.box>
[-- Attachment #1.1.1: Type: text/plain, Size: 2722 bytes --]
Hi Arash,
thanks for your help.
I appreciate that very much.
1.
How do you do this? to get this line:
--8<---------------cut here---------------start------------->8---
2.
I fiddled around for many hours today to get gnus SMTP working
and to my own great astonishment
I just managed it some seconds before I got your email.
my gnus.el:
;; get emails
(setq gnus-select-method '(nnnil ""))
(setq gnus-secondary-select-methods
'((nnimap "posteo"
(nnimap-address "posteo.de")
(nnnimap-user "gottfried@posteo.de")
(nnimap-authenticator login)
(nnimap-stream ssl)
(nnimap-server-port 993))))
;; Reply emails
(setq gnus-posting-styles
'((smtpmail-smtp-service)
(smtpmail-smtp-server "smtp.posteo.de")
(smtpmail-smtp-user "gottfried@posteo.de")
(smtpmail-smtp-port 465)))
So I don´t need your help at the moment. But I will keep it as record,
in case I need it.
Interestingly even I changed my /.authinfo file into /.authinfo.gpg
it worked.
I am happy,
but unfortunately it takes many hours
to set up every small step in Emacs and Gnus.
Further questions will arise...
Kind regards
Gottfried
Am 08.01.25 um 21:53 schrieb Arash Esbati:
> gfp <gfp@posteo.at> writes:
>
>> 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")))
>>
>>
>> in the gnus manual it says:
>> ;(setq message-send-mail-function 'smtpmail-send-it
>> ; smtpmail-default-smtp-server "smtp Posteo-posteo.de
>> 465 gottfried@posteo.de")
>>
>> but it doesn´t work as well.
>
> I don't use posteo, but I think the following snippets should get you
> going:
>
> --8<---------------cut here---------------start------------->8---
> ;; ~/.gnus
> (setq gnus-parameters
> '((".*"
> (posting-style
> (name "gfp")
> (address "gottfried@posteo.de")
> ;; ("X-Message-SMTP-Method" "smtp posteo.de 465")
> ))))
>
> (setq message-send-mail-function 'smtpmail-send-it
> smtpmail-smtp-server "posteo.de"
> smtpmail-smtp-service 465)
>
> ;; ~/.authinfo
> machine posteo.de port 465 login gottfried@posteo.de password PASSWORD
> --8<---------------cut here---------------end--------------->8---
>
> Note that I like to use `gnus-parameters' as one-stop shop for setting
> all parameters for my groups, incl. the posting style.
>
> Best, Arash
[-- 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 --]
next prev parent reply other threads:[~2025-01-08 22:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-08 13:22 sending mail with gnus gfp
2025-01-08 14:03 ` gfp
2025-01-08 16:17 ` Leo Butler
2025-01-08 20:46 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2025-01-08 20:53 ` Arash Esbati
2025-01-08 22:11 ` gfp [this message]
2025-01-08 22:36 ` Arash Esbati
2025-01-09 3:30 ` Leo Butler
2025-01-09 9:16 ` gfp
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4bf582ca-094d-43db-9dbb-d8df0ed6ef5b@posteo.at \
--to=gfp@posteo.at \
--cc=arash@gnu.org \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.