Chris Lowth's Home | Protector Home | Topic Index | Changes | Search |
To compile and install protector-1.00.6 you will need to have the GNU make (gmake) and GNU C compiler (gcc) Compiler software installed on your machine. For RedHat linux, these are included on the standard installation CDs. For Solaris, you can download them free of charge from http://www.sunfreeware.com/. You must then ensure that /usr/local/bin is included in your PATH setting before this procedure can be used.
To install the programs, scripts etc..
gmake build gmake install
To install protector for use with the default mail server "sendmail", you must edit the /etc/sendmail.cf file to replace the references to program "procmail" with "protector", the following two changes need to be made..
Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40, T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u
Should be changed to read...
Mlocal, P=/usr/bin/protector, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40, T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u
Mprocmail, P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, T=DNS/RFC822/X-Unix, A=procmail -Y -m $h $f $u
Should be changed to read...
Mprocmail, P=/usr/bin/protector, F=DFMSPhnu9, S=11/31, R=21/31, T=DNS/RFC822/X-Unix, A=procmail -Y -m $h $f $u
Note that in both the above edits - not all ocurrances of the string "procmail" are changed - only where the name is supplied as part of a P= string.
NB : If your sendmail.cf is created using the "m4 sendmail.mc" logic, you will (naturally) loose these edits if you run "m4 sendmail.mc" again
Now, Stop and re-start sendmail. On linux you do it like this..
cd /etc/rc.d/init.d sh sendmail stop sh sendmail start
And that should be that.
If you want to know what combination of mime types protector lets through, or to add or remove some - check out the "part_filter" script.
All material on this page, and the "protector" software to which it relates is Copyright (C) 2002 by Chris Lowth. "Protector" is free, open source software, licensed according to the terms of the GNU Public License |