From: Jason R Mastaler <jason@4b.org>
Subject: Re: maildir support in Pterodactyl Gnus
Date: 09 Nov 1999 16:36:41 -0700 [thread overview]
Message-ID: <m3g0yf8cfq.fsf@bodhi.mastaler.com> (raw)
In-Reply-To: Shenghuo ZHU's message of "09 Nov 1999 01:34:18 -0500"
Shenghuo ZHU <zsh@cs.rochester.edu> writes:
> I think it is a kind of NFS bug. I guess The time span between rename
> and read is too short for NFS. Try the following code, see whether it
> helps.
I think you are right. I duplicated this setup on a local filesystem
and had no problems.
> (defun mail-source-fetch-maildir (source callback)
> "Fetcher for maildir sources."
> (mail-source-bind (maildir source)
> (let ((found 0)
> (mail-source-string (format "maildir:%s" path)))
> (dolist (file (directory-files path t))
> (when (and (file-regular-p file)
> (not (mail-source-movemail file mail-source-crash-box)))
> (incf found (mail-source-callback callback file))))
> found)))
This code fixes the problem, but now when I incorporate new mail, the
contents of the maildir files are cleared (zero bytes), but they are
not being removed.
$ ls -l Maildir/new
total 0
-rw------- 1 jason systaff 0 Nov 9 16:23 942189791.22909.agave.alliance.unm.edu
-rw------- 1 jason systaff 0 Nov 9 16:25 942189909.22917.agave.alliance.unm.edu
next prev parent reply other threads:[~1999-11-09 23:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-08 20:28 Jason R. Mastaler
1999-11-08 23:17 ` Shenghuo ZHU
1999-11-08 23:31 ` Jason R Mastaler
1999-11-09 2:55 ` Shenghuo ZHU
1999-11-09 4:29 ` Jason R Mastaler
1999-11-09 4:48 ` Shenghuo ZHU
1999-11-09 6:01 ` Jason R Mastaler
1999-11-09 6:34 ` Shenghuo ZHU
1999-11-09 23:36 ` Jason R Mastaler [this message]
1999-11-10 22:00 ` Shenghuo ZHU
1999-11-16 0:02 ` Jason R Mastaler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3g0yf8cfq.fsf@bodhi.mastaler.com \
--to=jason@4b.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).