procmail
[Top] [All Lists]

mail getting lost somewhere between procmail and kmail

2001-10-23 00:17:50
I'm running Debian Woody and procmail 3.152-2 (the version available in 
debian testing)  My mail retrieval string is:

fetchmail --> procmail --> mbox --> kmail

However, something breaks between procmail and kmail.  If kmail is not open, 
procmail delivers to /var/mail/kurtl just fine, as I can see by "cat 
/var/mail/kurtl".  However, when I launch kmail to retreive messages, the 
messages disappear into the ether.  I know they leave my mbox since "cat 
/var/mail/kurtl" shows that the file is now blank, but they never make it to 
kmail's ~/Mail/inbox, either.

If I remove procmail from the mail retrieval string so it becomes:

fetchmail --> mbox --> kmail

Everything works just great and kmail happily retrieves the mail that 
fetchmail delivers.  If I add procmail back in, all mail disappears.

I've ensured that kmail is configured to use mutt-privileged dotlocking, so 
the files should be getting locked correctly.  

Any ideas are appreciated.  I've included my simple .procmailrc file as well 
as a snippet from procmail's verbose logging below, in case they're helpful.

--kurt



Here's a sample snippet from /var/log/procmail:

-----------------------------------------
procmail: Assigning "SPAMFILE=/home/kurtl/Mail/spam"
procmail: No match on "^Subject:.*spamtrash"
procmail: Locking "/var/mail/kurtl.lock"
procmail: Assigning "LASTFOLDER=/var/mail/kurtl"
procmail: Opening "/var/mail/kurtl"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/kurtl.lock"
procmail: Notified comsat: "kurtl(_at_)0:/var/mail/kurtl"
 Subject: test pair.com 11:33
  Folder: /var/mail/kurtl                                                 1289
----------------------------------------

and, here's my very simple .procmailrc file.  (just trying to get it working 
before I get fancy):

VERBOSE=on
PATH=/usr/local/bin:/usr/bin:/bin
MAILDIR=/var/mail
DEFAULT=/var/mail/kurtl
LOGFILE=/var/log/procmail
SPAMFILE=/home/kurtl/Mail/spam
 
 
:0
* ^Subject:.*spamtrash
$SPAMFILE

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>