gfp <[email protected]> writes:Hi,I have an email: [email protected] Additionally I have got aliases: [email protected] [email protected] How can I change the settings in gnus.el ? If I want to send an email gnus always proposes: [email protected] but I want to send an email from the alias: [email protected]_ I don´t know how can I change that. here my gnus.el: ;; get emails (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '((nnimap "posteo" (nnimap-address "posteo.de") (nnnimap-user "[email protected]") (nnimap-authenticator login) (nnimap-stream ssl) (nnimap-server-port 993)) (nntp "eternal" (nntp-address "news.eternal-september.org") (nntp-port-number 119) (nntp-connection-timeout 15)))) ;; send emails according to Arash Esbati (setq gnus-parameters '((".*" (posting-style (name "gfp") (address "[email protected]"))))) ;; (address "[email protected]"))))) (setq message-send-mail-function 'smtpmail-send-it smtpmail-smtp-server "posteo.at" ;; smtpmail-smtp-server "posteo.de" smtpmail-smtp-service 587) thanks GottfriedYou can check `gnus-posting-styles` variable. That is, I have used the configurator to fill it, just in case some syntax error creeps in. I have for example in mine: ("Provider" (address "[email protected]") ("X-Message-SMTP-Method" "smtp smtp.provider.com 587") ("Gcc" "nnimap+Provider:Sent"))
I have got that "gnus-posting-styles" , but it does not work. It should sent mail from "[email protected]" (setq gnus-parameters >> '((".*" >> (posting-style >> (name "gfp") >> (address "[email protected]"))))) >> "[email protected]"))))) Then, what I do is to compose a mail with C-u m with the cursor over the
group having that post style:Start composing a mail. If ARG, use the group under the point to find a posting style. If ARG is 1, prompt for a group name to find the posting style.
OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
