p3pmail provides a tool that removes dangerous HTML tags from email.
p3pmail will remove dangerous HTML tags from email messages to make them safer for viewing. It does this by skipping the header of the email message before parsing it for dangerous HTML tags. It will only parse HTML email.
You have to set up a port redirection with iptables so that all connections from e.g. inside your office to any POP3/POP3S/SMTP server outside in the world will not leave your router, but come to a local port, on which P3Scan listens.
P3Scan receives from the Linux kernel the original destination (the email server outside in the world) and will connect to them.
All data we receive from the client will be sent to the server, and vice versa. With a little enhancement: we parse the necessary parts of the protocol and when an email is sent from the server, we store it into a file, invoke our scanning, and send it along if it is good, or in the event of POP3/POP3S we replace it with a virus notification and optionally delete the infected message. For infected SMTP messages, we reject the message.
It should be possible to use all scanners using the scannertype=basic.
Also, P3Scan provides scannertype=avpd for high-speed scanning using 'Kaspersky Anti-Virus for Linux', every C programmer can easily adept other scan-daemons (trophie, sophie, antivir, ...).
Neither the client nor the server has to be configured, none of them will take notice that there's a mail scanner (except the client when he gets a virus notification or if he looks into the header, and the server gets our ip as source).
· An Anti-Virus program
· DSPAM Statistical Spam Protection (optional)
· Mail::SpamAssassin (optional)
· renattach (optional)
What's New in This Release:
· Corrects bug when freshclam updates clamav database.