unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Leo Butler <Leo.Butler@umanitoba.ca>
To: gfp <gfp@posteo.at>
Cc: Arash Esbati <arash@gnu.org>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: sending mail with gnus
Date: Thu, 9 Jan 2025 03:30:53 +0000	[thread overview]
Message-ID: <87y0zkbr4j.fsf@t14.reltub.ca> (raw)
In-Reply-To: <4bf582ca-094d-43db-9dbb-d8df0ed6ef5b@posteo.at> (gfp@posteo.at's message of "Wed, 8 Jan 2025 22:11:25 +0000")

On Wed, Jan 08 2025, gfp <gfp@posteo.at> wrote:

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

How did you send this email? This email that I am replying to does not
have a User-Agent set in the headers. You can check the headers of the
other emails, they all have some variation on:

User-Agent: Gnus/5.13 (Gnus v5.13)

(In Gnus, in the message buffer, type t to show the headers).

Leo

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

-- 
---
Best regards,
Dr Butler

  parent reply	other threads:[~2025-01-09  3:30 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
2025-01-08 22:36     ` Arash Esbati
2025-01-09  3:30     ` Leo Butler [this message]
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

  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=87y0zkbr4j.fsf@t14.reltub.ca \
    --to=leo.butler@umanitoba.ca \
    --cc=arash@gnu.org \
    --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).