info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[announce] MBFL tag 1.3b5, sending mail with message.el and bash


From: marcomaggi
Subject: [announce] MBFL tag 1.3b5, sending mail with message.el and bash
Date: Thu, 21 May 2009 23:59:52 -0700 (PDT)
User-agent: G2/1.0

MBFL is a collection of libraries for the GNU Bash shell. It
is an attempt to make  GNU Bash a viable solution for medium
sized scripts.  The package supports only GNU+Linux systems.

  As  a  usage example,  the  MBFL  distribution includes  a
script ("sendmail-mbfl.sh")  that acts as a  mail client: it
reads  fully composed  email messages  and delivers  them to
SMTP servers.

  The session  can be plain  or encrypted with TLS;  for the
TLS layer, it can use  both the "openssl" program that comes
with OpenSSL  and the  "gnutls-cli" program that  comes with
GNU TLS.

  Also   available   is   an   interface   for   GNU   Emacs
("sendmail-smtp.el"), which  can be used to  send email with
the   script    through   the   "message-send-mail-function"
interface (offered by the "message.el" library).

  The home page of MBFL is at:

          <http://marcomaggi.github.com/mbfl.html>

the latest beta  and stable version of MBFL  should be found
here:

            <http://gna.org/projects/mbfl/>

while development takes place at:

      <http://github.com/marcomaggi/mbfl/tree/master>

 A   full  discussion   of  the   "sendmail-mbfl.sh"  script
implementation is in the MBFL documentation:

   <http://marcomaggi.github.com/docs/mbfl.html#sendmail>

briefly, to use the Emacs library we must:

1) Install the MBFL package; by using the "configure" option
   "--enable-sendmail",  we   request  installation  of  the
   script and the Emacs library; else we can install them by
   hand from the directory "examples".

2) Add to our "~/.emacs" something like:

    (require 'sendmail-mbfl)
    (setq message-send-mail-function 'send-mail-with-mbfl)

3) Prepare an "~/.hostinfo" file that looks like:

machine localhost service smtp port 25 session plain auth none
machine relay.poste.it service smtp port 465 session tls auth login
machine smtp.gmail.com service smtp port 587 session starttls auth
plain

4) Prepare an "~/.authinfo" file that looks like:

machine smtp.gmail.com login the-user-name password the-pass-word
machine relay.poste.it login the-user-name password the-pass-word

5) Compose an email  message with "message-mail" and send it
   with "message-send".

  The Emacs library can be customised with the group "sendmail-mbfl".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]