[imp] spamassassin/razor tie-in ...

Marc G. Fournier scrappy@hub.org
Thu, 25 Apr 2002 15:10:54 -0300 (ADT)


in imp/config/conf.php, there is a sectoin dealign with reporting spam:

/**
 ** Spam Reporting
 **/

// Should we display a "report this message as spam" link in the
// message view?
$conf['spam']['reporting'] = false;

// If so, where should those messages be reported to?
$conf['spam']['email'] = 'postmaster@' . $GLOBALS['registry']->getParam('server_name');

What would it take to make this allow the admin to setup a program,
instead of email address?  I'd like to set it up so that its enabled, but
that it just pipes the message through "/usr/local/bin/spamassassin -r" so
that it gets submit'd to razor ...