sorry, i forgot to include the procmail log. The mail does get into the DBMAIL database despite all the errors from procmail with the lock issue and write issues.

David


procmail: Match on "^Subject: \[SPAM\]"
procmail: Couldn't determine implicit lockfile from "/usr/sbin/dbmail-smtp"
procmail: Locking ".lock"
procmail: Error while writing to "_aYC.rkkSCB.node1.example.com"
procmail: Lock failure on ".lock"
procmail: Executing "/usr/sbin/dbmail-smtp,-m,"SPAM",-d,[EMAIL PROTECTED]"
procmail: [9754] Tue Mar 29 22:37:32 2005
procmail: Non-zero exitcode (67) from "/usr/sbin/dbmail-smtp"
procmail: Assigning "LASTFOLDER=/usr/sbin/dbmail-smtp -m "SPAM" -d [EMAIL PROTECTED]"
procmail: Couldn't determine implicit lockfile from "/usr/sbin/dbmail-smtp"
procmail: Locking ".lock"
procmail: Error while writing to "_aYC,rkkSCB.node1.example.com"
procmail: Lock failure on ".lock"
procmail: Executing "/usr/sbin/dbmail-smtp,-d,[EMAIL PROTECTED]"
procmail: Non-zero exitcode (67) from "/usr/sbin/dbmail-smtp"

----- 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


Reply via email to