procmail: not sorting properly and cannot write to file
by rshepard from LinuxQuestions.org on (#4TQBK)
Running 14.2/x86_64 and using mbox mail storage format. On this new desktop procmail is no longer sorting some incoming messages to the proper folder despite having multiple recipes in ~/.procmailrc. And for some folders the log shows an error writing to it despite all files in ~/mail/ having 666 permissions.
Here's an example for one mail list and what the log shows:
~/.procmailrc
[code]
:0:
* \[GRASS-user\]
spatial-analyses
:0:
* ^List-Id:.*<grass-user\.lists\.osgeo\.org>
spatial-analyses
:0:
* ^(From|Cc|To).*osgeo\.org
spatial-analyses
[\code]
~/procmail/log:
[code]
procmail: Match on "\[GRASS-user\]"
procmail: Locking "spatial-analyses.lock"
procmail: Assigning "LASTFOLDER=spatial-analyses"
procmail: Opening "spatial-analyses"
procmail: Acquiring kernel-lock
procmail: Error while writing to "spatial-analyses"
procmail: Truncated file to former size
[\code]
The file's permissions:
-rw-rw-rw- 1 rshepard users 54142630 Nov 5 14:03 spatial-analyses
As I don't know what other information to provide I'll wait for someone to ask for more.
I want to resolve these issues as soon as possible
Regards,
Rich


Here's an example for one mail list and what the log shows:
~/.procmailrc
[code]
:0:
* \[GRASS-user\]
spatial-analyses
:0:
* ^List-Id:.*<grass-user\.lists\.osgeo\.org>
spatial-analyses
:0:
* ^(From|Cc|To).*osgeo\.org
spatial-analyses
[\code]
~/procmail/log:
[code]
procmail: Match on "\[GRASS-user\]"
procmail: Locking "spatial-analyses.lock"
procmail: Assigning "LASTFOLDER=spatial-analyses"
procmail: Opening "spatial-analyses"
procmail: Acquiring kernel-lock
procmail: Error while writing to "spatial-analyses"
procmail: Truncated file to former size
[\code]
The file's permissions:
-rw-rw-rw- 1 rshepard users 54142630 Nov 5 14:03 spatial-analyses
As I don't know what other information to provide I'll wait for someone to ask for more.
I want to resolve these issues as soon as possible
Regards,
Rich