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:56 am, Michael Schwendt wrote:
> On Mon, 11 Nov 2002 21:22:22 -0500, Michael Fratoni wrote:
> > I've noticed that I had an incoming mail message go missing, and am
> > looking at possible ways to prevent it in the future. Pointers to
> > what I've missed much appreciated.
> >
> > I use fetchmail (in daemon mode) to pop mail from my mailserver as
> > well as a couple of external servers. The mail is filtered via
> > procmail and spam assassin, and delivered to
> > /var/spool/mail/mfratoni. I then view the mail with kmail.
>
> Most likely it was due to procmail not using the same file locking
> mechanism than kmail (or even no file locking at all like Mozilla
> Mail, IIRC). You can add "VERBOSE=yes" to your ~/.procmailrc and see
> what lock file procmail uses. Then find out what locks kmail uses.

Yes, I've done that, and procmail seems to do the right thing:
procmail: Locking "/var/spool/mail/mfratoni.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/mfratoni"
procmail: Opening "/var/spool/mail/mfratoni"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/mfratoni.lock"
procmail: Notified comsat: "mfratoni@55372:/var/spool/mail/mfratoni"

> Until you've found a bullet-proof way, you could store all your
> incoming mails in a backup folder with a procmail rule at the top of
> your procmailrc:
> :0 c:
>
> backup

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?

- -- 
- -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)

iD8DBQE90akvn/07WoAb/SsRAohyAJ9CWwou1hfLTpv4NGkyAu66lAer7QCeIzNM
ew7fEaTQM1volsaCNBJF/s8=
=pJql
-----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