You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by RW <rw...@googlemail.com> on 2013/06/02 21:24:08 UTC

Re: Problem with virtual config dir and variables not expanding

On Mon, 6 May 2013 12:22:36 +0200
Alexander Nestorov wrote:

> dovecot-spamassassin   unix  -       n       n       -       -
> pipe flags=DRhu user=dovecot:the_chosen_ones
> argv=/usr/bin/vendor_perl/spamc -e /usr/lib/dovecot/deliver -d
> ${recipient}
> 
> According to docs SA should create use_prefs for each user in it's own
> dir, e.g: /home/vhosts/mydomain.com/mail/alex,
> but I'm getting instead /home/vhosts//mail// in /var/log/mail.log, so
> the variables aren't expanded.
> 
> Why is this happening? What am I missing?

You haven't told spamc the username (-u) . You can only omit this if
you're using unix home directories.