On 28 Nov 2018, at 17:53, Eggert Ehmke wrote:

Do you mean the --username option in /etc/default/spamassassin?

No. Postfix is running the 'spamc' program in some fashion, usually via a pipe transport configured in master.cf. That transport (typically an intermediary script) needs to be passed the recipient address by Postfix and may need to transform it in some fashion (e.g. strip the domain maybe) to use it as the argument to the '-u' option in an invocation of spamc.

It is set to the generic user --username=debian-spamd


Thank you


Am Mittwoch, 28. November 2018, 22:41:38 CET schrieb RW:
On Tue, 27 Nov 2018 18:01:04 +0100

Eggert Ehmke wrote:
I have Spamassassin running on Debian with Postfix, Dovecot etc. It
seems to work, Spam is filtered to my Quarantine. I have some virtual
mailboxes in /var/mail/vhosts and have set up the Option

-x --virtual-config-dir=/var/mail/vhosts/%d/%l/spamassassin
This does not work, in the log file  /var/log/spamassassin/spamd.log

I find these lines:

warn: plugin: eval failed: bayes: (in learn) locker: safe_lock:
cannot create tmp lockfile /var/
mail/vhosts///spamassassin/bayes.lock.domain.de.3653
for /var/mail/vhosts///spa


So the user name and the domain are  not replaced in the pattern.
What may be wrong??

Are you sure the recipient address is being passed to spamc via the -u
option?


--
Bill Cole

Reply via email to