On Sat, Mar 01 2025, Clemens Schüller <cs.mlists+info-g...@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_addr...@posteo.net") (X-Message-SMTP-Method "smtp posteo.de 465 email_addr...@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