Throwmail

Throwmail was written as a direct replacement for the system MTA although currently it doesn't support local mail delivery. It uses the interface between mail clients and mail transport agents most mailers use. To ease the installation, it will ignore options it doesn't understand.

here is the latest version.

Quick Installation

Currently Throwmail needs libESMTP to send mail.

run these commands:

Configuration

There are two configuration files, the system config and the user config. The system config resides in /etc and should have global settings in it and the user config resides in the user's home directory and has user specific configuration. The options do not care which file they are in, and the users config overides the global config.

Configuration options
spool boolean its presence without an option tells throwmail to spool the mail for later delivery.
spoodir <dir>The directory throwmail should spool the mail in. This directory needs to be writable by any user using throwmail.
mailserver <mail server>The name of the mail server to send mail through, usually your isp's mail server.
from <your email address>Who to send the email as.

Sample Configuration

/etc/mail/throwmailrc
spooldir /var/spool/throwmail

~/.throwmailrc
mailserver smtp-server.twcny.rr.com
from foo@bar.com

Usage

Throwmail takes the message to send on stdin and the email addresses to send to on the command line as an argument. If spooling is turned on the message is spooled in the configured spool directory until throwmailrunq is run. If you decide to spool because you have a dialup connection, throwmailrunq makes it easy to automatically send spooled messages when a dialup connection is made by putting a call to it in your ip-up scripts. Throwmailrunq could also be run fron a cron entry or on the commandline.

Throwmail is written by Steve Przepiora.