smtpwire
This program sits on the normal mail port - port 25 - and pretends to be a
fully functional mail deamon.
It allows ALL mail traffic for a server to be sucked in and treated like an
incoming data stream like a wire service.
If only a few logons on a particular server are required and NOT all, do NOT
use this program but use the normal 'sendmail' routines and add 'sffmail' to
the 'aliases' file.
It allows NO relays, aliases or other dodgy bits - all that is done in other
Fip programs downstream (if you really need them of course).
If you need outgoings, use 'ipsmtp' and point it - using the -h (hostname)
switch at your in-house email server.
To get mail to your system you will need to sweet-talk the mail administrator
to replay those logons you are interested in to the host running 'smtpwire'.
A small progs.FipHdr is added with date and time fields, sender and receiver logons
before the file is passed on - normally to spool/xsmtp for 'ipchkmail' to sort
out.
The Sender is the progs.FipHdr fields SA and the Receipient the DA progs.FipHdr (and DZ to
the no angle brackets-non-domain, stripped version)
To install on a Unix box, you will need to take sendmail down first before
replacing it (so please do make sure no-one else needs mail on that system !).
Note that on some flavours of Unix, 'smtpwire' needs to be started by someone
with 'root' priviledges if the port number is less than 1024 - which port 25
normally is !
It is usually started by :
On Unix it is the 'sendmail' with the '-bd' switches running :
ps -ef | grep sendm
root 163 1 0 09:40:22 ? 0:00 /usr/lib/sendmail -bd -q1h
On Solaris - /etc/rc2.d/S88sendmail
Stop sendmail with 'S88sendmail stop'
Then stop it from restarting by renaming this to something NOT starting with
'S99'
On Linux - progs.RedHat - /etc/rc.d/rc2.d/S80sendmail
Stop sendmail with 'S80sendmail stop'
Then stop it from restarting by renaming this to something NOT starting with
'S99'
Input Parameters :
All Optional :
-A : name of the archive file if not the -n name field default: 'name'
-c : the chrset of the source (SC header field) default: ascii
-C : always close the underlying socket default: no
-d : the name of a DUPLICATE wire where 2 copies of the same
file is required (SD header field). default: none
-f : Extra FIP header information default: none
For fixed header info in FIP. eg -f #QA:AA#QB:BASIC
As this flag is normally the last specified, its contents
can be used to overwrite any unique fields such as DU, DP,
SN etc.
-h : hostname/internet address to select default: systemname on boot
for servers with more than one card/address
To specify ALL ipaddresses on this box : '-h +'
-I : id of this instance default: ignored
Where there are several copies of 'smtpwire' running (more relevant for
Win2k)
-l : no logging at all default: file
-L : log all connections and files default: no
-s : same as -h
-o : Output folder in /fip/spool default: spool/xsmtp
-O : Name of output format (DF field) default: SMTPWIRE
-r : the name of a DIFFERENT routing table to 'name'
(SR field : used by iproute) default: name
-w : max timeout with no data default: 60 secs
ie between packets. Set to ZERO to disable or 10 (or more) secs
-u : logon for files created if NOT that
which was used to start 'smtpwire' default: same
-Z : do NOT archive any incoming files default: archive
-v : Print the version number and exit
Version Control
;000m 23may00 original version
;a 18oct00 added -u plus bugette for MS EXCHG relays
;b-d 15nov00 MSexchg seems to allow multiple Senders !!
- 503 already have sender now ignored
;e 29oct01 WINNT filenames better
;f 21jul03 better handling of to/from names; added DZ
;g-i 26jul03 added -C; added -w; better logging of incoming files
allow multiple incoming files in one connection
;j-m speedy, -I wireId added
(copyright) 2011 and previous years progs.FingerPost Ltd.
Topic revision: r1 - 21 Jan 2005 - 13:44:30 -
TWikiGuest