On Fri, 2005-08-26 at 21:54 +0400, Danil V. Gerun wrote:
> >>command = /usr/local/sbin/dbmail-smtp -d ${local_part} "${if
> >>def:h_x-spam-flag:{-mSpam}{} }"
> >>ling list [email protected]
> >>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...
Interesting. It's nice (if) it can work with either; I don't
think it used to. We're still running 1.2 :)
> But the point is that *everything* worked greatly before updating to 2.0.6.
Ah, got it.
>
> --
> Best regards,
> Danil V. Gerun.
--
Jesse Norell - [EMAIL PROTECTED]
Kentec Communications, Inc.