Scripting white/black lists on a per user basis.
Glenn Steen
glenn.steen at gmail.com
Sun Nov 19 10:51:35 GMT 2006
On 19/11/06, Chandler, Jay <chandler at chapman.edu> wrote:
>
>
> Is there a way to write a ruleset so that Mailscanner takes the user portion
> of user at domain.com, and checks ~user/.spamasassin/user_prefs for white and
> black list information?
>
> If not, I presume the solution is to write a script that scrapes the entire
> user tree for user_prefs files, and formats them into FROM addy TO addy
> whitelist information, and stick them in the site rulesets-- anyone have a
> script that does something like this?
> -
MailScanner as such is more "gateway centric" (than a "normal"
SA+procmail setup), so it soesn't really do this, no.
But having said that, there are solutions ... MailWatch provides
SQL-based white/blacklists, that should be per recipient, provided you
1) split mails/recipient and 2) allow users access to MailWatch. I
don't use this myself, so someone who does would have to fill in any
details:-).
One should perhaps be able to do something with a Custom Function to,
but why bother if there already is a working solution about;-).
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list