[CentOS] The case of the missing mail

Wed Dec 22 17:19:43 UTC 2010
Anne Wilson <cannewilson at googlemail.com>

On Wednesday 22 December 2010 16:51:02 Paul Heinlein wrote:
> On Wed, 22 Dec 2010, Anne Wilson wrote:
> > On Wednesday 22 December 2010 13:33:10 Anne Wilson wrote:
> >> I became suspicious that I should have received a certain message,
> >> and reading pm.log I discovered that it had indeed arrived and had
> >> been allocated to /var/mail/anne, despite procmailrc telling it
> >> that
> >> 
> >> MAILDIR=/home/anne/Maildir/
> >> 
> >> Any idea what might have caused this?  It seems to have been
> >> working like this only in the last 24 hours or so.
> > 
> > Also, since /var/mail/anne is mbox and /home/anne/Maildir/ is
> > maildir, I need to find a way of getting the messages into the
> > correct directory.  I could clip them into separate files, but I
> > assume that the cryptic names of files are used for indexing.
> 
> There are a few things that are likely to cause the symptoms you
> describe:
> 
>   1. Lax permissions on ~/.procmailrc: make sure that file isn't
>      accessible by group or world (0600 works for me).
> 
It was 0700 - I've changed it to 0600.

>   2. Lax permissions on your $HOME. Procmail gets picky when
>      things are group-writeable.
> 
The directory itself is not group- or world-writable.  There are one or two 
files inside that are group-writable, but most aren't.  I could change those, 
I suppose, but they are nothing related to the mail system.

>   3. SELinux issues. Run "ausearch -m avc | grep procmail" to
>      see if anything needs to be relabeled.
> 
I'm not running SELinux

> /var/log/maillog will usually supply part of the answer as well.

There's nothing obvious, at first scan.  Everything seems to be "Delivered to 
command /usr.bin/procmail" which of course is correct.  The only messages 
affected are thos which should be in my Inbox, having failed to match any 
recipe.

Anne
-- 
KDE Community Working Group
New to KDE Software? - get help from http://userbase.kde.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20101222/cee23ce1/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20101222/cee23ce1/attachment-0005.sig>