info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuring smtp server per account


From: Leo Butler
Subject: Re: Configuring smtp server per account
Date: Sun, 2 Mar 2025 03:52:47 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

On Sat, Mar 01 2025, Clemens Schüller <cs.mlists+info-gnus@mailbox.org> wrote:

> Hello!
>
> On 01. Mar. 2025 at 21:29 Juan José García-Ripoll wrote:
>
>> Hi,
>>
>> I have a question that I don't manage to solve, though at some point it
>> seemed to work.
>>
>> Essentially, I have multiple email accounts and when I reply to each of
>> them I want to use a different smtp server.
>
> Maybe the exal-change-smtp part[1] is the right solution for you.

I think you want `gnus-posting-styles'. This will allow you to configure
replies based on a few different criteria. E.g.

--8<---------------cut here---------------start------------->8---
(setq gnus-posting-styles '(("Posteo.Net:.+"
                             (address "email_address@posteo.net")
                             (X-Message-SMTP-Method "smtp posteo.de 465 
email_address@posteo.net"))))
--8<---------------cut here---------------end--------------->8---

would configure Gnus to set the email address and configure the smtp
server to use when the name of the group matches the given regexp (you
would need a server named "Posteo.Net".

(info "(gnus)Posting Styles")

Leo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]