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.

Here's the command I ran by hand:

cat testmail | /usr/sbin/dbmail-smtp -m "SPAM" -d [EMAIL PROTECTED]

Any help would be greatly appreciated.

 Thanks,
David


> ----- Original Message ----- 
> From: "Paul J Stevens" <[EMAIL PROTECTED]>
> To: "DBMail mailinglist" <[email protected]>
> Sent: Friday, March 18, 2005 6:58 AM
> Subject: Re: [Dbmail] Problem with dbmail-stmp delivery
>
>
> Try the commandline by hand:
>
>  >>procmail: Assigning "LASTFOLDER=/usr/sbin/dbmail-smtp -m INBOX -u mail"
>
> so:
>
> cat testmail | /usr/sbin/dbmail-smtp -m INBOX -u mail
>
>
>
> Christian Haugg wrote:
> > Can anybody help me Please?
> >
> > I Don“t know what does error 67 mean
> >
> > Thanks
> >
> > Christian
> >
> >
> >>Hi,
> >>
> >>i have a problem with a fresh install on a new Server.
> >>I use debain woody with dbmail 2.0.3 (self compiled), postfix and mysql
> >>4.1.10.
> >>
> >>I deliver my mails with procmail
> >>
> >>Here is my /etc/procmailrc
> >>VERBOSE=on
> >>LOGFILE=/var/log/procmail.log
> >>
> >>:0fw
> >>| /usr/bin/spamc
> >>
> >>DELIVER="/usr/sbin/dbmail-smtp"
> >>INBOX="$DELIVER -m INBOX -u $USER"
> >>SPAM="$DELIVER -m INBOX/spam -u $USER"
> >>
> >>:0:
> >>| $INBOX
> >>
> >>
> >>This Error i get back in my procmail.log
> >>procmail: Executing "/usr/sbin/dbmail-smtp,-m,INBOX,-u,mail"
> >>procmail: Non-zero exitcode (67) from "/usr/sbin/dbmail-smtp"
> >>procmail: Assigning "LASTFOLDER=/usr/sbin/dbmail-smtp -m INBOX -u mail"
> >>
> >>
> >>Has anybody an idea what is going wrong in my installation?
> >>
> >>Thanks
> >>
> >>Christian
> >>_______________________________________________
> >>Dbmail mailing list
> >>[email protected]
> >>https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >>
> >
> >
>
> -- 
>    ________________________________________________________________
>    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
>

Reply via email to