| <<O>> Difference Topic DocInstall100 (r1.6 - 09 Mar 2003 - ChrisLowth) |
| Changed: | |
| < < | If you generate your sendmail.cf file using the sendmail.mc and "m4" method (you will know if you do), then add the following two lines to the file (check out alternative 2 if you use RedHat's linuxconf or other methods instead). .. |
| > > | If you generate your sendmail.cf file using the sendmail.mc and "m4" method (you will know if you do), then change (or add) the following two lines to the file (check out alternative 2 if you use RedHat's linuxconf or other methods instead). .. |
| Added: | |
| > > | Note that the PROCMAIL_MAILER_PATH definition should appear before the "MAILER(procmail)" line in the file (if it exists). The LOCAL_MAILER_PATH definition should appear at the end of the file. |
| <<O>> Difference Topic DocInstall100 (r1.5 - 04 Oct 2002 - ChrisLowth) |
| Changed: | |
| < < |
Sendmail.cf edits |
| > > |
|
| Changed: | |
| < < | edit the /etc/sendmail.cf file to replace the references to program "procmail" with "protector", the following two changes need to be made.. |
| > > |
edit the /etc/sendmail.cf file to replace the references to program "procmail" with "protector", there are two ways of doing this, depending on how you sendmail.cf file was generated.
Sendmail configuration - alternative 1 - sendmail.mcIf you generate your sendmail.cf file using the sendmail.mc and "m4" method (you will know if you do), then add the following two lines to the file (check out alternative 2 if you use RedHat's linuxconf or other methods instead). ..define(`LOCAL_MAILER_PATH', `/usr/bin/protector') define(`PROCMAIL_MAILER_PATH', `/usr/bin/protector')
Then regenerate the sendmail.cf file as usual, using the command..
m4 sendmail.mc > sendmail.cf
Sendmail configuration - alternative 2 - sendmail.cfIf you do not use the "sendmail.mc" method of generating you sendmail configuration, then you should edit the /etc/sendmail.cf file directly. The following two changes need to be made.. |
| Added: | |
| > > |
Stop and Restart sendmail |
| <<O>> Difference Topic DocInstall100 (r1.4 - 07 Jul 2002 - ChrisLowth) |
| Deleted: | |
| < < |
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
Second edit |
| Added: | |
| > > |
Second editNote : If your sendmail.cf does not have an Mprocmail entry, then you can skip this edit..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 |
| <<O>> Difference Topic DocInstall100 (r1.3 - 28 Jun 2002 - ChrisLowth) |
| Added: | |
| > > | %META:TOPICMOVED{by="chris.lowth" date="1025269911" from="Protector.DocInstall" to="Protector.DocInstall100"}% |
| <<O>> Difference Topic DocInstall100 (r1.2 - 08 Jun 2002 - ChrisLowth) |
| Changed: | |
| < < | Edit the /etc/sendmail.cf file to replace the references to program "procmail" with "protector", the following two changes need to be made.. |
| > > | 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.. |
| Added: | |
| > > |
Installing for other mail servers.. |
| Added: | |
| > > |
|
| <<O>> Difference Topic DocInstall100 (r1.1 - 30 May 2002 - ChrisLowth) |
| Added: | |
| > > |
%META:TOPICINFO{author="chris.lowth" date="1022792700" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="Documents"}%
How to install protector 1.00.11 for RedHat Linux or Sun SolarisTo compile and install protector-1.00.11 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
Sendmail.cf editsEdit the /etc/sendmail.cf file to replace the references to program "procmail" with "protector", the following two changes need to be made..First editMprocmail, 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
Second editMlocal, 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
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. |
| Topic DocInstall100 . { View | Diffs | r1.6 | > | r1.5 | > | r1.4 | More } |
|
Revision r1.1 - 30 May 2002 - 21:05 GMT - ChrisLowth Revision r1.6 - 09 Mar 2003 - 19:02 GMT - ChrisLowth |
Copyright © 2001 by the contributing authors.
All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |