Aric Gregson
2015-08-29 23:39:09 UTC
I am not able to successfully set up multiple smtp servers using the
X-Message-SMTP-Method in posting styles. I am trying to migrate away
from msmtp, which works great, but I'd like to keep all my passwords in
an encrypted file, which is not working with msmtp.
Here is my present set-up:
(setq gnus-posting-styles
'(("***mail" (address "aorchid@***.com")
(reply-to "aorchid@***.com")
(eval (setq mml2015-signers '("aorchid@***.com")))
(X-Message-SMTP-Method "smtp ***.com 587 aorchid")
(body "\nThanks, Aric\n"))
("***2"
(address "aorchid@***2.com")
(signature-file "~/.signature_bike")
(eval (setq mml2015-signers '("aorchid@***2.com")))
(X-Message-SMTP-Method "smtp outbound.mailhop.org 465 xochitl")
(body "\nThanks, Aric\n")
...))
(require 'smtpmail)
(setq message-send-mail-function 'smtpmail-send-it)
When I try to send the message, Gnus asks me for the smtp server name
and the credentials and then tries to write them to my .emacs file.
What am I doing wrong here?
Thanks,
X-Message-SMTP-Method in posting styles. I am trying to migrate away
from msmtp, which works great, but I'd like to keep all my passwords in
an encrypted file, which is not working with msmtp.
Here is my present set-up:
(setq gnus-posting-styles
'(("***mail" (address "aorchid@***.com")
(reply-to "aorchid@***.com")
(eval (setq mml2015-signers '("aorchid@***.com")))
(X-Message-SMTP-Method "smtp ***.com 587 aorchid")
(body "\nThanks, Aric\n"))
("***2"
(address "aorchid@***2.com")
(signature-file "~/.signature_bike")
(eval (setq mml2015-signers '("aorchid@***2.com")))
(X-Message-SMTP-Method "smtp outbound.mailhop.org 465 xochitl")
(body "\nThanks, Aric\n")
...))
(require 'smtpmail)
(setq message-send-mail-function 'smtpmail-send-it)
When I try to send the message, Gnus asks me for the smtp server name
and the credentials and then tries to write them to my .emacs file.
What am I doing wrong here?
Thanks,