You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Pe...@bmt.cz on 2012/11/30 16:03:39 UTC

problem with the - virtual-config-dir

Hallo!

Product:  Spamassassin
Component: spamd
Version: 3.4.0
OS: Ubuntu 10.04

When I do not use escape, so everything works.
example

OPTIONS="--create-prefs --max-children 2 --username spamd -H ${SAHOME} -s $
{SAHOME}spamd.log -x -D
--virtual-config-dir=/var/log/spamassassin/users/frimlik.cz/zbynek"

But when I using escapes for directory name so use  basic setting.
example:

email: zbynek@frimlik.cz
OPTIONS="--create-prefs --max-children 2 --username spamd -H ${SAHOME} -s $
{SAHOME}spamd.log -x -D
--virtual-config-dir=/var/log/spamassassin/users/%d/%l"





Thank you for your help
Petr


Re: problem with the - virtual-config-dir

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 11/30/2012 10:03 AM, Petr.Riha@bmt.cz wrote:
> Product:  Spamassassin
> Component: spamd
> Version: 3.4.0
> OS: Ubuntu 10.04
>
> When I do not use escape, so everything works.
> example
>
> OPTIONS="--create-prefs --max-children 2 --username spamd -H ${SAHOME} -s $
> {SAHOME}spamd.log -x -D
> --virtual-config-dir=/var/log/spamassassin/users/frimlik.cz/zbynek"
>
> But when I using escapes for directory name so use  basic setting.
> example:
>
> email: zbynek@frimlik.cz
> OPTIONS="--create-prefs --max-children 2 --username spamd -H ${SAHOME} -s $
> {SAHOME}spamd.log -x -D
> --virtual-config-dir=/var/log/spamassassin/users/%d/%l"
>
Petr,

When you use %d/%l, you have to call spamc with spamc -u 
peter.riha@bmt.cz for example.  How are you calling spamc?

regards,
KAM