Hi folks,

for the needs of one of my customers I have written a small patch for
ConfSourceSQL.pm which basically adds two functionalities:

1) Alias address support (if $username is listed as an alias for "xyz"
   in a separate alias table, $username is set to "xyz"). This basically
   allows the reuse of the same SQL settings for different users or for
   a group of addresses that belong to the same user.

2) Domain-wide pref support. In an environment where $username is set to
   a full e-mail address (e.g. a vpopmail environment with
   qmail-scanner, which is what I'm actually using), you only have the
   ability to retrieve preferences for either the user or global
   settings. This patch adds the functionality that SpamAssassin also
   looks for domain-wide settings if $username contains a full e-mail
   address.

The patch can be found here:

http://jonaspasche.de/qmail/spamassassin-advancedsql.patch

Additional documentation can be found here:

http://jonaspasche.de/qmail/spamassassin-advancedsql.patch.README

I really appreciate feedback on this issue. If somebody of the main
developers decides that it could be a good thing to include in the
official source, just do it.

Jonas



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to