Welcome, Guest
Please Login or Register.
Lost Password?
Re:Support for SpamAssassin user_prefs stored in L (1 viewing)
Post Reply

TOPIC: Re:Support for SpamAssassin user_prefs stored in L

#6895
TonyShadwick (User)
Posts: 140
graphgraph
Support for SpamAssassin user_prefs stored in LDAP 2007/08/28 18:59  
SpamAssassin supports reading user_prefs out of LDAP. Would be nice for the Usermin/Webmin modules to support it as well. :) Can you tell I'm pushing hard for LDAP support? ;)
  The administrator has disabled public write access.
#6934
Joe (Admin)
Posts: 4213
graph
Re:Support for SpamAssassin user_prefs stored in LDAP 2007/08/29 20:41  
Can you tell I'm pushing hard for LDAP support?

You do it so well, we hardly noticed. ;-)

Seriously, I think LDAP is great for large-scale hosting...and we're happy to keep pushing the support forward one piece at a time. This is a reasonable request--not even really Blue Skies. I'll file an RFE in the tracker, and we'll see what Jamie thinks.
  The administrator has disabled public write access.
#6936
JamieCameron (Admin)
Posts: 374
graphgraph
Re:Support for SpamAssassin user_prefs stored in L 2007/08/29 21:00  
Hi Tony,
Do you have a pointer to some docs on getting spamassassin / LDAP integration setup?
Actually, I should also add support for using MySQL to store settings too while I am at it..
  The administrator has disabled public write access.
#6968
TonyShadwick (User)
Posts: 140
graphgraph
Re:Support for SpamAssassin user_prefs stored in L 2007/08/30 20:27  
http://search.cpan.org/src/FELICITY/Mail-SpamAssassin-3.0.0/ldap/README

The short of it is that the admin needs to add the SpamAssassin schema to ldap, they provide you with connection details, and you use the SpamAssassin module to push out the info using those connection details. In fact, it's a safe bet that the user has LDAP Users and Groups configured properly prior to this step, so you could just do a cursory check that they have the SpamAssassin schema set up, if not, ask them if it's okay to do so, do it, and use those connection details for SA.

MySQL isn't so different.

http://search.cpan.org/src/FELICITY/Mail-SpamAssassin-3.0.0/sql/README

It wants you to load some .sql files (pretty standard), it wants connection details, and the module does teh rest for you.
  The administrator has disabled public write access.
#7760
JamieCameron (Admin)
Posts: 374
graphgraph
Re:Support for SpamAssassin user_prefs stored in L 2007/10/07 12:32  
Hi Tony,

I've just started work on implementing MySQL and LDAP storage support in the SpamAssassin modules for Webmin and Usermin. If you are interested in getting a beta version to play with, let me know..
  The administrator has disabled public write access.
#7767
TonyShadwick (User)
Posts: 140
graphgraph
Re:Support for SpamAssassin user_prefs stored in L 2007/10/08 09:33  
I am. I am. :)
  The administrator has disabled public write access.
#7795
JamieCameron (Admin)
Posts: 374
graphgraph
Re:Support for SpamAssassin user_prefs stored in L 2007/10/09 08:45  
Hi Tony,

I have just released Usermin development version 1.303, available from http://www.webmin.com/devel.html . Once you install it, you can configure the SpamAssassin module to use an LDAP database for showing and storing parameters (at Webmin -> Usermin Configuration -> Usermin Module Configuration -> SpamAssassin Mail Filter).

Anyway, check it out and let me know how it goes for you. I'm not 100% sure that it uses the correct format for the 'spamassassin' LDAP attribute.
  The administrator has disabled public write access.
#7820
TonyShadwick (User)
Posts: 140
graphgraph
Re:Support for SpamAssassin user_prefs stored in L 2007/10/10 06:40  
I'll check it. I also need to make sure Virtualmin uses/respects the changes too. :)
  The administrator has disabled public write access.
#7825
JamieCameron (Admin)
Posts: 374
graphgraph
Re:Support for SpamAssassin user_prefs stored in L 2007/10/10 09:00  
There isn't really anything needed on the Virtualmin side - all it needs to do is call spamc, which is already possible. Let me know if you find anything I am missing though..
  The administrator has disabled public write access.
#13519
ctucker50 (User)
Posts: 7
graphgraph
Re:Support for SpamAssassin user_prefs stored in L 2008/06/07 14:31  
Along these same lines, I have an existing server using amavisd-new, spamd, and LDAP to store the custom spamassassin settings on a per-user basis. Amavisd knows how to read LDAP to retrieve the spam setting for a user. This setup handles mail many times faster than the procmail setup on Virtualmin Pro and I would like to move this configuration to the Virtualmin Pro box but don't see a way to do this with the current modules. Does anybody have something started or should create a custom module? I suppose I can leverage the existing spamassassin module into an amavisd/spamd module but would rather start further ahead that what is now there.

Chris
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.