[imp] spamassassin/razor tie-in ...
Jan Schneider
jan@horde.org
Fri, 26 Apr 2002 01:18:41 +0200
Zitat von "Marc G. Fournier" <scrappy@hub.org>:
> Would it be as simple as:
> + $raw_msg = imap_fetchheader($imp['stream'], $index, FT_UID) .
> "\n" . imap_body($imp['stream'], $index, FT_UID);
> + exec("echo $raw_msg | " . $conf['spam']['program'] . ' -a ' .
> $spell_opt, $warnings);
Oooooh, piping a spam message through exec(). Bad, bad, bad, bad idea! ;-)
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft