Index of /~stough/emacs-vm-mac/emacs-vm-mac/msmtp-queue
Name Last modified Size Description
Parent Directory -
build 05-May-2008 12:08 105
msmtp-queue 05-May-2008 12:08 290
msmtp-queue.cm 05-May-2008 12:08 100
msmtp-queue.sig 05-May-2008 12:08 106
msmtp-queue.sml 30-Mar-2009 09:12 9.1K
mysendmail 05-May-2008 12:08 243
msmtp-queue: a queueing program for use with msmtp
msmtp is a very useful SMTP client; see http://msmtp.sourceforge.net/.
But it doesn't come with a good queueing facility, and thus
I wrote msmtp-queue.
msmtp-queue is written in Standard ML, and you'll need the
Standard ML of New Jersey (SML/NJ) implementation of SML in order
to compile and use it (see http://www.smlnj.org).
msmtp-queue assumes that msmtp is at /usr/local/bin/msmtp; edit
the program to change this.
Run the build script to build a heap image for msmtp-queue, which
will be called msmtp-queue.ARCH-OPSYS, where ARCH is your machine's
architecture, and OPSYS is your operating system.
The script msmtp-queue is used to invoke the program; edit it
saying where you've put the heap image.
msmtp-queue queues messages in $HOME/.msmtp-queue; its daemon's
process id is written to the file $HOME/.msmtp-queue.pid.
msmtp-queue takes the following options:
-quit
stop the daemon
-wakeup
wakeup the daemon
-queue
queue the message on the standard input, and wakeup the daemon
-daemon SLEEP
start the daemon, causing it to wakeup and process the queue
every SLEEP seconds
When processing the queue, the daemon gives up, but keeps running,
upon the first failure.
The script mysendmail queues the message on its standard input in the
msmtp queue. If you are using Emacs/VM to send mail, put
(setq sendmail-program "/Users/stough/bin/mysendmail")
in your .emacs file.
Alley Stoughton
Kansas State University
Department of Computing and Information Sciences
stough@cis.ksu.edu