cornel panceac wrote:
talkin' about perl, i remember once i used something called milter for things like this .
milters are plugins for sendmail that are used to filter ALL the mail passing through a given sendmail installation. most commonly used for anti-spam and anti-virus plugins.