Tommy Braun wrote:
> 
> sorry, I am not uptodate and need to check out, if this
> 
> http://da.andaka.org/Doku/courier-spamassassin.html
> 
> document is still the state of the art regarding courier, spamassassin
> and user prefs for virtual users?

I looked at that at one point, but never attempted it.  I don't know
if it will work with the current SA version or not.

> Unfortunately there is still not one single line of documentation on
> the integration of courier and spamassassin on the spamassassin site -
> why? if anybody has a good working virtual users with individual
> spamassassin prefs - would you mind posting that to the spamassassin
> wiki? THANKS!

If I have some free time, I might post something.

> Any other hints and things-you-should-know are very welcome!
> 
> Please don“t hesitate to send me links to the most basic things.
> 
> Thank you very much for your attention!

What I do is simply work with the built-in options of spamc and spamd.

My virtual users have home directories like this:

    /virtualhome/domain/user

With a "Maildir" folder for mail delivery.

I run spamd like this:

    /usr/bin/spamd -d -u mailacctuser -x
--virtual-config-dir='/virtualhome/%d/%l/spamassassin'

Where "mailacctuser" is the user who owns all of the virtual user's
home directories.

And then, I call spamc from maildrop like this:

    import USER
    exception {
        xfilter "/usr/bin/spamc -u $USER"
    }

Spamd will parse the email address provided by the -u option into its
local and domain parts and use that to find the configuration
directory.  It will create the spamassassin directory if it doesn't
already exist.  All Bayes and AWL files will be created within this
directory.  You can also put the user_prefs file here for per-user
configuration.

-- 
Bowie


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to