From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.help Subject: Re: sending mail with gnus Date: Wed, 08 Jan 2025 21:53:21 +0100 Message-ID: References: <68b5c85c-3294-45ba-a0be-bea2ae128cee@posteo.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40034"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "help-gnu-emacs@gnu.org" To: gfp Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 08 21:53:55 2025 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tVd3r-000AGh-AV for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 08 Jan 2025 21:53:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVd3O-0007Cy-WD; Wed, 08 Jan 2025 15:53:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVd3N-0007Cb-AT for help-gnu-emacs@gnu.org; Wed, 08 Jan 2025 15:53:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVd3N-00062M-2E; Wed, 08 Jan 2025 15:53:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=HL1REtLIQkpCQT+TJB2vc6Cky/f8o54sJ2a24RFE/D0=; b=lmjg4cV0cVgFWmQLnaf2 ILLMkNrK7Fp3NyRTZNLPc286JgjleyZ6Dib45HmpNr4mVo//JufOiMw5mckmPeRExd/zsd3/jp3Aa +rsflMWQXXISHeIKzmwSrr071TI8arvjEN1vyXIGSUmIRxJulWGh7ncSqILGCkLdtjYXXjdDfnlqV k6kXM66datkIyIDjDFl3z+85nGRtlZ2o2z976h0Ji0dOlwIM+KC0Op8U0JPQ248PH9sK/Pg75Ei+e utUIGSUo+jGgBM1LZQEomG8PW6TX5fSXHSj7lsxYd403OZZT8foEa+bIy5UlNNV6VsobFBR08reb+ eFNppio6Gu6T0A==; In-Reply-To: <68b5c85c-3294-45ba-a0be-bea2ae128cee@posteo.at> (gfp@posteo.at's message of "Wed, 8 Jan 2025 13:22:58 +0000") X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:149169 Archived-At: gfp writes: > My gnus.el: > > Reply to mails with matching email address > (setq gnus-posting-styles > '((address "gottfried ") > ("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=C2=B4t 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