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