[imp] IMP and SPAMC

Jacob McNutt jacob.mcnutt at pobox.com
Wed Jul 21 11:42:14 PDT 2004


I'm guessing this would be the correct format for the line in conf.php?

conf['spam']['program'] = '/usr/bin/spamc -u ' . Auth::getAuth();




Quoting Jan Schneider <jan at horde.org>:

> Zitat von Jacob McNutt <jacob.mcnutt at pobox.com>:
>
> > I'm having an issue with reporting spam through IMP via SPAMC...
> > specifically,
> > that the client doesn't know the user that is reporting it, so it
> > tends to fail
> > (it tries to report it as the web service account).
> >
> > I'm currently using it only for one person, so I can use the command
> > line option
> > (spamc -u <username>) for SPAMC to report as a specific user, but is there
> a
> > variable I can pass to the command that would allow it to be reported as
> the
> > user currently reporting it?
>
> Not a variable, but a function call: Auth::getAuth().
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting.php
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>





More information about the imp mailing list