Summary: | Pop up error message if KMail can't lock /var/spool/mail and | ||
---|---|---|---|
Product: | [Applications] kmail | Reporter: | Unknown <null> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | wishlist | CC: | luigi.toscano |
Priority: | NOR | ||
Version: | 1.3.2 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Duncan Sands
2001-11-23 08:26:20 UTC
On Friday 23 November 2001 09:26 duncan.sands@wanadoo.fr wrote: > > I have two mail boxes one I get via POP > the other is a local mailbox. For some > reason kmail never picks up mail from the > local mailbox even if I tell it to check > mail in that mailbox. The POP account works > fine. Here is the start of my kmailrc: Do you have write access in /var/mail/ to create a lockfile? Regards Michael Häckel On Friday 23 November 2001 9:42 am you wrote: > On Friday 23 November 2001 09:26 duncan.sands@wanadoo.fr wrote: > > I have two mail boxes one I get via POP > > the other is a local mailbox. For some > > reason kmail never picks up mail from the > > local mailbox even if I tell it to check > > mail in that mailbox. The POP account works > > fine. Here is the start of my kmailrc: > > Do you have write access in /var/mail/ to create a lockfile? No I don't. Presumably that was the problem because I just changed the locking method to fcntl and now it works. Shouldn't kmail give an error if it can't write a lockfile or at least fall back to another method. And just how many people do have write access to the mail directory...? Thanks for sorting this out Duncan. On Friday 23 November 2001 09:54 Duncan Sands wrote:
>
> No I don't. Presumably that was the problem because I just
> changed the locking method to fcntl and now it works.
> Shouldn't kmail give an error if it can't write a lockfile or at
> least fall back to another method. And just how many people
> do have write access to the mail directory...?
The problem is that locking the local account is not very easy at all as
normal user. fcntl doesn't work on NFS mounted directories.
For example mutt comes with a different small application that can lock the
file with root access. KMail can also use this applicaton but that works
only if you have it installed.
The applications that usually deal with these files like sendmail and
pop3/imap server don't have a problem with that since they have the required
write access.
Nevertheless the current situation should be improved somehow.
Regards
Michael Häckel
On Friday 23 November 2001 12:46 pm you wrote: > On Friday 23 November 2001 09:54 Duncan Sands wrote: > > No I don't. Presumably that was the problem because I just > > changed the locking method to fcntl and now it works. > > Shouldn't kmail give an error if it can't write a lockfile or at > > least fall back to another method. And just how many people > > do have write access to the mail directory...? > > The problem is that locking the local account is not very easy at all as > normal user. fcntl doesn't work on NFS mounted directories. > > For example mutt comes with a different small application that can lock > the file with root access. KMail can also use this applicaton but that > works only if you have it installed. > > The applications that usually deal with these files like sendmail and > pop3/imap server don't have a problem with that since they have the > required write access. > > Nevertheless the current situation should be improved somehow. Thank you for your informative reply. As a stopgap measure kmail could pop up an error box if it can't get a lock (rather than silently not reading mail). Duncan. Situation should have improved by now. E. g. with suid mut_dotlock. Maybe close ítem. Replaced duncan.sands@wanadoo.fr with null@kde.org due to bounces by reporter Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented. Thank you for your understanding. Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2. |