Queued mail with msmtpq

101 views
Skip to first unread message

Marcin Borkowski

unread,
Nov 22, 2014, 5:40:29 AM11/22/14
to Mu Discuss
Hi there,

I want to set up a mail queue with mu4e and msmtpq. I don't want to
reinvent the wheel, however, so I'm asking here: does anyone have a
working setup of this? (If not, I'll try to make it work and I'll post
it here.)

Best,

--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

Christian Neumann

unread,
Nov 22, 2014, 6:37:38 AM11/22/14
to mu-di...@googlegroups.com
Hey,

I use msmtp like this (multiple accounts, msmtp chooses configuration
based on From header set by Emacs):

Emacs:

(setq message-send-mail-function 'message-send-mail-with-sendmail
sendmail-program "/usr/bin/msmtp"
mail-specify-envelope-from t
;; needed for debians message.el cf. README.Debian.gz
message-sendmail-f-is-evil nil
mail-envelope-from 'header
message-sendmail-envelope-from 'header
)

(setq my-mu4e-account-alist
'(
("Account1"
(user-mail-address "cneumann@XXX")
(message-signature-file "~/.XXX")
(user-full-name "XXX")
)
("Account2"
(user-mail-address "cneumann2@XXX")
(message-signature-file "~/.XXX")
(user-full-name "XXX")
)
))

Msmtp:

# Set default values for all following accounts.
[...]

account one
from cneumann1@XXX
[...]

account two
from cneumann2@XXX
[...]

Hope that helps,
Christian

Josiah Schwab

unread,
Nov 22, 2014, 12:39:18 PM11/22/14
to mu-di...@googlegroups.com
Hi Marcin,

> I want to set up a mail queue with mu4e and msmtpq. I don't want to
> reinvent the wheel, however, so I'm asking here: does anyone have a
> working setup of this? (If not, I'll try to make it work and I'll post
> it here.)

I am using msmtpq. Let me refer you to the following thread

https://groups.google.com/d/msg/mu-discuss/1yVvv70Gm5g/uSQWJIrzP3sJ

and the msmtp thread cited therein

http://sourceforge.net/p/msmtp/mailman/message/31464483/

Hope that helps,
Josiah
Reply all
Reply to author
Forward
0 new messages