[sam] Re: [cvs] commit: sam whitelist.php sam/docs CHANGES sam/lib SAM.php sam/lib/Driver sql.php sam/templates/menu menu.inc sam/templates/whitelist body.inc

Chuck Hagenbuch chuck@horde.org
Tue, 18 Jun 2002 23:34:57 -0400


Quoting Chris Bowlby <excalibur@hub.org>:

>   Also re-fixed and issue with SAM where the username was being set to t
>   he full email address, this prevented Spam Assassin from seeing anything
>   that was configured for a particular user. For the moment, I am 
>   stripping out the '@domain_name.com' portion and using the resulting 
>   username for username setting. This enabled Spam Assassin to once again 
>   see the preference.

You need to stop assuming this at the driver level, and define a hook 
function so that people have a user-defined function to get the 
SpamAssassin (it's one word, not two, btw) username. It's not necessarily 
created by stripping @domain.com, and a lot of Horde setups won't _have_ 
@domain.com on the username.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in 
the arms of silence. All we ever have is here, now." - Ursula K. Le Guin