I'm seeing the same thing here....  

On Sat, 2004-03-20 at 07:48, Paul J Stevens wrote:
> Hi all,
> 
> I'm busy testing rc4, and I think I found a show-stopper.
> 
> Looks like delivery to mailboxes doesn't work. All mail gets delivered
> to INBOX.
> 
> When I do 'cat testmail|/usr/sbin/dbmail-smtp -m Trash -u pablo' mail 
> gets delivered to INBOX.
> 
> As far as I can tell, deliver_to_mailbox is assigned in main.c, but 
> never used.
> 
> A simple/dirty patch that solves the problem but makes dbmail-smtp 
> dependant on the order of options (like 1.2):
> 
> diff -urNad /usr/src/dbmail/dbmail-2.0/dbmail-2.1/main.c dbmail-2.1/main.c
> --- /usr/src/dbmail/dbmail-2.0/dbmail-2.1/main.c        2004-03-20 
> 13:42:03.000000000 +0100
> +++ dbmail-2.1/main.c   2004-03-20 13:43:19.000000000 +0100
> @@ -165,6 +165,9 @@
>  
> 
>                          dsnuser_init(&dsnuser);
>                          dsnuser.address = strdup(optarg);
> +                        if (deliver_to_mailbox) {
> +                               dsnuser.mailbox = 
> strdup(deliver_to_mailbox);
> +                       }
>  
> 
>                          /* Add argument onto the users list. */
>                          if (list_nodeadd
> 

Reply via email to