ssmtp TIS-0.5alpha
^^^^^ ^^^^^^^^^^^^

A dirty hack designed to eliminate sendmail (and other "smart" MTA's)
on the firewall completely. Based on ssmtp program (i left the original
name unchanged, although code differs much), see source comments for
more information and original authors list.

setting it up
^^^^^^^ ^^ ^^

Make and install the program, then edit the netperm-table to specify
MTA options like:

smapd:          sendmail /usr/local/etc/ssmtp (or whatever your binary
                location is)

ssmtp:		relay mylocalnet.net -via mymailhub.internal.net
ssmtp:		default-relay extmailhub.myisp.net

ssmtp know nothing about MX'es and other things like that. It does
SMTP _only_ and uses static routes defined in netperm-table to deliver
mail.

Optional netperm-table entries are:

intranet-hosts <hostmask>	specify message originators to be
				treated as intranet (for filtering
				purposes)

hide-intranet [-log-headers]	remove message route for intranet-hosts
				and replace it with smap id for future
				reference
				(-log-headers saves removed Received:
				lines into syslog; you probably don't
				need this if you are big-brother-friendy 
				enough to save duplicates of outgoing 
				messages or have other reasons to do so ;)

BUGS
^^^^

report to me if you find any.
It is the first release, so i expect many of those. 

Sendmail emulation is really bad, but we do not need anything better
to work with smapd and scripts like /etc/daily.

Code requires more audit to find possible buffer overrun vulnerabilities.

ToDo
^^^^

Fix possible security problems, general code cleanup/whatever..
Better handling of mail failures/postmaster noticiation/etc.
Implemet some MIME content filtering (thinking heavy about that, probably
on the way)
PGP enforcer? ;-) Content audit? 

Revision history
^^^^^^^^ ^^^^^^^

0.1alpha	First version

0.2alpha	Improved mail handling when one message should be relayed
		to more than one mailhub

0.3alpha	legacy bugfix release

0.4alpha	Intranet route filtering

0.5alpha	nospam! compatibility fix

Email
^^^^^

home: ark@mpak.convey.ru
work: ark@eltex.ru

                                     _     _  _  _  _      _  _
 {::} {::} {::}  CU in Hell          _| o |_ | | _|| |   / _||_|   |_ |_ |_
 (##) (##) (##)        /Arkan#iD    |_  o  _||_| _||_| /   _|  | o |_||_||_|
 [||] [||] [||]            Do i believe in Bible? Hell,man,i've seen one!
