You have to use -u with -m instead of -d.
Eg. /usr/sbin/dbmail-smtp -m "SPAM" -u username


---- Original Message ----
From: David Young <[email protected]>
To: "DBMail mailinglist" <[email protected]>
Subject: Re: [Dbmail] Problem with dbmail-stmp delivery
Sent: Tue, 29 Mar 2005 23:16:53 -0800

> No, the message ended up in mailbox "INBOX" instead of "SPAM" which is what 
> I specified with the -m option in both cases (command line and procmail)
> 
> 
> ----- Original Message ----- 
> From: "Paul J Stevens" <[EMAIL PROTECTED]>
> To: "DBMail mailinglist" <[email protected]>
> Sent: Tuesday, March 29, 2005 11:07 PM
> Subject: Re: [Dbmail] Problem with dbmail-stmp delivery
> 
> 
> >
> >
> > David Young wrote:
> >> Hi, I'm having a similar problem when I try and sort my SPAM mails with
> >> procmail.  I am trying to delivery all mail with "Subject: SPAM" into a
> >> folder called SPAM.  The problem is that procmail delivers the email
> >> correctly, but dbmail-smtp doesn't seem to see the "-m SPAM" option and
> >> delivers the mail to the INBOX anyway.
> >>
> >> I tried running by hand as Paul had suggested awhile back and dbmail-smtp
> >> just returns with no errors.
> >
> > Yes, but did it deliver to the correct mailbox in that case??
> >
> >
> >
> >>
> >> Here's the command I ran by hand:
> >>
> >> cat testmail | /usr/sbin/dbmail-smtp -m "SPAM" -d [EMAIL PROTECTED]
> >
> > Problem is this works for me. What does your procmail log have to say.
> >
> >
> > -- 
> >   ________________________________________________________________
> >   Paul Stevens                                         [EMAIL PROTECTED]
> >   NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
> >   The Netherlands_______________________________________www.nfg.nl
> > _______________________________________________
> > Dbmail mailing list
> > [email protected]
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
> > 
> 
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 
-- End Original Message --


--
Jesse Norell
jesse @ kci.net

Reply via email to