Am 2019-08-06 15:04, schrieb Nagy Tibor via dovecot:
I have an *Ubuntu 16.04* mail server with postfix/spamassassin/*dovecot-2.2.2**2* with virtual mailboxes in maildir format. The whole process is working excellently since a year. Spams are marked with "*****SPAM*****" in subject and with "X-Spam-Flag: YES" in email header.
I tried now to add sieve to dovecot to move the SPAM messages into the Junk folder without any success, I don't see any sign that sieve does something at all. The output of "dovecot -n":
[ ... ]
Jul 30 20:05:13 zg-3 postfix/cleanup[4450]: 5F7FEA3CBC: message-id=c6b3bca5-ece3-9e69-8e30-28173abc2ec6@hu.inter.net Jul 30 20:05:13 zg-3 postfix/qmgr[1557]: 5F7FEA3CBC: from=nagyt@hu.inter.net, size=3304, nrcpt=1 (queue active) Jul 30 20:05:13 zg-3 postfix/virtual[4455]: 5F7FEA3CBC: to=tibor@softxs.ch, relay=virtual, delay=0.02, delays=0.01/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Your Postfix does not deliver via dovecot's LDA, thus sieve never gets called.
Jul 30 20:05:13 zg-3 postfix/qmgr[1557]: 5F7FEA3CBC: removed
What can be wrong?
Alexander