You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by jdavidbakr <me...@jdavidbaker.com> on 2008/09/21 01:03:22 UTC
Re: user_pref for virtual mails
I've spamassassin running successfully on my server, and am wanting to add
user_prefs for each mailbox through the --virtual-config-dir flag. Postfix
is set up to use virtual mailboxes through MySQL. I have this as my
SPAMDOPTIONS:
-d -c -m5 -H -u spamd --virtual-config-dir=/var/mail/vhosts/%d/%l -x
It appears to be working except it's not expanding %d and %l - in the logs
it says:
spamd: using default config for filter: /var/mail/vhosts///user_prefs
so it's obviously replacing %d and %l with null. Any ideas what's going
wrong? I can't find anything in the documentation dealing with this
happening.
Matt Kettler-3 wrote:
>
> Nicolas Letellier wrote:
>> Hello.
>>
>> I use spamassassin on my Postfix/Dovecot mail server.
>>
>> Mailboxes are in /var/www/mail/vmail/domain.tld/user
>>
>> Is there a possibility to have a user_prefs for each mailbox?
>>
>> I don't see a similar option in
>> http://wiki.apache.org/spamassassin/WhereDoLocalSettingsGo?highlight=(user_prefs)
>> or here:
>> http://svn.apache.org/repos/asf/spamassassin/branches/3.2/README
>>
>>
> Take a look at the --virtual-config-dir option to spamd.
>
> Alternatively, you can have them in SQL, in which case you should read:
>
> http://svn.apache.org/repos/asf/spamassassin/branches/3.2/sql/README
>
>
>
>
>
--
View this message in context: http://www.nabble.com/user_pref-for-virtual-mails-tp19177301p19589873.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.