Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* [announce] MBFL tag 1.3b5, sending mail with message.el and bash
@ 2009-05-22  6:59 marcomaggi
  0 siblings, 0 replies; only message in thread
From: marcomaggi @ 2009-05-22  6:59 UTC (permalink / raw)
  To: info-gnus-english

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".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-22  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-22  6:59 [announce] MBFL tag 1.3b5, sending mail with message.el and bash marcomaggi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).