Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Torsten Bronger <bronger@physik.rwth-aachen.de>
Subject: Re: fetchmail as cronjob + gnus -- safe?
Date: Wed, 17 Aug 2005 22:21:10 +0200	[thread overview]
Message-ID: <87wtmk9ux5.fsf@wilson.rwth-aachen.de> (raw)
In-Reply-To: <87d5oce4eb.fsf@MagnumOpus.local>

Hallöchen!

"Charles philip Chan" <cpchan@sympatico.ca> writes:

> On 17 Aug 2005, bronger@physik.rwth-aachen.de wrote:
>
>> Theoretically it is possible that both actions happen at the same
>> time.  Is this dangerous, or is some locking mechanism used to do
>> it safely?
>
> I have been doing this for many years with no problems at all.

So far, I called fetchmail from Gnus, and Gnus waited for fetchmail
to complete.

> After all this is what fetchmail was designed for.

Yes, but I wasn't sure how *Gnus* reads from the mailbox and empties
it.

Two years ago, I had real concurrency problems with the tool chain
explained in the Gnus manual: It meant to read from
/var/mail/bronger directly, calling Spamassassin, and writing back
to /var/mail/bronger.  Meanwhile sendmail had appended further
emails to the file and bang! they went lost.

Once bitten, twice shy, so I'm keen to know whether Gnus is
explicitly concurrency safe in this respect.  So far it needn't be
on my system.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus


  reply	other threads:[~2005-08-17 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 14:31 Torsten Bronger
2005-08-17 19:42 ` Charles philip Chan
2005-08-17 20:21   ` Torsten Bronger [this message]
2005-08-18  2:19     ` Johan Bockgård

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=87wtmk9ux5.fsf@wilson.rwth-aachen.de \
    --to=bronger@physik.rwth-aachen.de \
    /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).