$Id: INSTALL,v 1.3 2007/01/03 16:57:15 mardan Exp $ Install: ------------------------------------------------------------------------------- First off all, compile sendmail with libmilter if you haven't allready done that. Secondly, make sure you have sendmail setup as a pass-through MTA using the mailertable otherwise rcpt-relay will do nothing. Third you need BerkelyDB headers. (needed for local caching) Add a user and group 'smmsp' to your system if it doen't excists allready, with a uid and gid of 90 or whatever uid/gid number you like. Now untar the source by typing tar -xvzf rcpt-relay-x.y.tar.gz wherever you stored the source file, by typing 'tar -xvzf rcpt-relay-x.y.tar.gz' cd into rcpt-relay-x.y By default the Makefile goes for -march=i686 but you can edit/tweak/optimize this too your needs. See also Makefile.Solaris-sparc. Now do a 'make'. After compiling the binary copy rcpt-relayd to the /usr/sbin Now do a mkdir /var/rcpt-relay and a chown smmsp.smmsp /var/rcpt-relay Next add to your sendmail.mc the following lines, edit the parameters if you have to. "define(`_FFR_MILTER', `1')dnl" "INPUT_MAIL_FILTER(`rcpt-relay', `S=local:/var/rcpt-relay/rcpt-relay.sock, T=S:1m;R:1m;E:2m')dnl" After this rebuild your sendmail.cf Now, add some startup lines to your sendmail startup script.(see example below) Make sure rcpt-relay is started BEFORE sendmail is! (start) "/usr/sbin/rcpt-relayd" (stop) "killall rcpt-relayd" Or if you use Redhat or a simular distribution you can use the rcpt-relay.init Finally start rcpt-relay and give sendmail a restart. -------------------------------------------------------------------------------