Re: Lost mail & mail spool file locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 12 November 2002 08:37 pm, Michael Schwendt wrote:
> On Tue, 12 Nov 2002 20:21:51 -0500, Michael Fratoni wrote:

> > Good idea, thanks. I'm also going to file a bug against kmail, and
> > see where that goes. I'm guessing kmail isn't honoring the file lock?
>
> Maybe this one is of help:
>
> http://docs.kde.org/3.0/kdenetwork/kmail/faq.html#id2836552

Excellent, thank you! I did look through the kmail config screens for 
lockfile info, and missed it previously. I have it working now. 

The FAQ says:
Procmail lockfile will use a small utility that comes with procmail called 
lockfile. You can use this if your mail folder is in a directory where 
you have write permission. This will not work on your 
/var/spool/mail/user file in most cases. It will create .lock files on 
your account when KMail is checking for new mail. Please note that this 
will only work if procmail is installed on your system.

What I don't understand is why it doesn't work in /var/spool/mail, as I 
can run lockfile -ml and -mu from the command line to create and remove 
the lockfile /var/spool/mail/mfratoni.lock, as /usr/bin/lockfile is 
setgid mail. kmail should be able to do the same. It would appear that 
kmail just checks for write permission, and determines that it can't 
create the lockfile.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE90cT5n/07WoAb/SsRApEaAJ4tjzRDc05fOprvF3ntn+WD1uZVawCgrgd0
dYznJLIhLqA8OTJQueSs9nE=
=oe1e
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux