command = /usr/local/sbin/dbmail-smtp -d ${local_part} "${if def:h_x-spam-flag:{-mSpam}{} }"
ling list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail

 I don't use -m, and didn't test this, but it seems from
memory you have to use -u, not -d, with -m specifying a mailbox.
-d picks an alias, -u a userid (and you may have one alias
going to 5 userid's, so how would it know which "Spam" box
to pick?).


Well, this configuration has been working properly for some months.
I've tested it at first.

And due to the sources of main.c:
- while parsing the command line parameters in a cycle: if we have -m
then we set the mailbox to its value (deliver_to_mailbox);
- we continue parsing other parameters;
- then after all
/* If the MAILBOX delivery mode has been selected... */
/* Loop through the dsnusers list, setting the destination mailbox. */

and in sort_and_deliver(...) we have:
if (mailbox == NULL)
                mailbox = "INBOX";

It should be clear now...


But the point is that *everything* worked greatly before updating to 2.0.6.




--
Best regards,
Danil V. Gerun.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to