procmail
[Top] [All Lists]

mail gets stuck in /var/spool/mail/$USER

2005-08-04 10:38:43
I am using procmail-fetchmail-postfix-mutt on FC4. I find some mails are
staying put in /var/spool/mail/sharukh.

For example if I send a mail to myself(_at_)localhost, the mail goes to
/var/spool/mail/sharukh instead of going to $HOME/mail/INBOX. In fact all
mail bound for $HOME/mail/INBOX gets stuck in /var/spool/mail/sharukh.
This is FC4.

INBOX is around 51 mb in size, but this should not be a problem as I've
had it go up to 89 mb previously. I usually move all mail to an archive
once a year. But see below :( . The perms on INBOX are 600.

This is the relevant bit from procmail.log :

--------------------------------------------
procmail: Locking "/home/sharukh/mail/INBOX.lock"
procmail: [5085] Thu Aug  4 22:26:16 2005
procmail: Assigning "LASTFOLDER=/home/sharukh/mail/INBOX"
procmail: Opening "/home/sharukh/mail/INBOX"
procmail: Acquiring kernel-lock
procmail: Error while writing to "/home/sharukh/mail/INBOX"
procmail: Truncated file to former size
procmail: Assigning "LASTFOLDER=/var/mail/sharukh"
procmail: Opening "/var/mail/sharukh"
procmail: Acquiring kernel-lock
procmail: Unlocking "/home/sharukh/mail/INBOX.lock"
procmail: Notified comsat: "sharukh(_at_)0:/var/mail/sharukh"
From sharukh(_at_)pavri(_dot_)net  Thu Aug  4 22:26:15 2005
 Subject: testing
  Folder: /var/mail/sharukh                             805
procmail: Unlocking "/home/sharukh/.lockmail"

----------------------------------------------

What I did was mv INBOX INBOX.old and sent myself another mail. This time
it got thru to INBOX with this in the procmail.log:

-----------------------------------------------

procmail: Locking "/home/sharukh/mail/INBOX.lock"
procmail: Assigning "LASTFOLDER=/home/sharukh/mail/INBOX"
procmail: Opening "/home/sharukh/mail/INBOX"
procmail: Acquiring kernel-lock
procmail: Unlocking "/home/sharukh/mail/INBOX.lock"
procmail: Notified comsat: "sharukh(_at_)5591:/home/sharukh/mail/INBOX"
From sharukh(_at_)pavri(_dot_)net  Thu Aug  4 22:31:56 2005
 Subject: testing 2
  Folder: /home/sharukh/mail/INBOX              829
procmail: Unlocking "/home/sharukh/.lockmail"

-------------------------------------------------

So what is the problem here ? There is enough disc space:

-----------------------

sharukh(_at_)carbon mail]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             9.5G  3.3G  5.7G  37% /
/dev/shm              251M     0  251M   0% /dev/shm
/dev/hda6             9.7G  471M  8.7G   6% /home

-----------------------

regards and thanks,

Sharukh.
-- 
Dr. Sharukh K. R. Pavri.                        Homoeopath, Linuxer.
    Don't drink and drive -- you might hit a bump and spill it.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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