P3scan from Jack S. Lai is a full-transparent proxy-server for POP3-Clients. It is really useful to protect your network against virus that can come in because your users check external mailboxes not protected against virus.
This patch adds a Sophie routine for P3scan.
Download it ( p3scan-2.1-sophie.patch) or:
wget http://toribio.apollinare.org/p3scan/p3scan-2.1-sophie.patch tar xzf p3scan-2.1.tar.gz -C /var/tmp cp p3scan-2.1-sophie.patch /var/tmp/ cd /var/tmp patch -p0 < p3scan-2.1-sophie.patch
You will get this output:
patching file p3scan-2.1/Makefile patching file p3scan-2.1/README patching file p3scan-2.1/p3scan.conf patching file p3scan-2.1/scanner.h patching file p3scan-2.1/scanner_sophie.c
I usually use RedHat based systems and there are two small issues regarding the installation of P3scan, nothing that you can't solve with a good symbolic link.
The pcre.h header it is not where the P3scan Makefile expects find it, and ginstall is not usually installed, so, just do these symbolic links and everything will be OK.
ln -s /usr/include/pcre/pcre.h /usr/include/pcre.h ln -s /usr/bin/install /usr/bin/ginstall