From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5552 Path: news.gmane.org!not-for-mail From: Torsten Bronger Newsgroups: gmane.emacs.gnus.user Subject: Re: fetchmail as cronjob + gnus -- safe? Date: Wed, 17 Aug 2005 22:21:10 +0200 Organization: Phoenix Foundation Message-ID: <87wtmk9ux5.fsf@wilson.rwth-aachen.de> References: <87fyt8skhg.fsf@wilson.rwth-aachen.de> <87d5oce4eb.fsf@MagnumOpus.local> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138671244 27866 80.91.229.2 (31 Jan 2006 01:34:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:34:04 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:35:28 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-X-Trace: news.dfncis.de 5V9F07K+7r+3lL2hOmXrcwCajnZ25gXmgrDbx6TfdldPa2EdFC4yUJMp9f X-Orig-Path: wilson.rwth-aachen.de!news X-PGP-Fingerprint: C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77 X-PGP-Affinity: will accept encrypted message for GPG X-Home-Page: http://www.wikipedia.org/wiki/User:Bronger X-Face: +wpw"|jN2Fde|7_lKBa0\7!_6suIE_m! x)'S9ytBu8tkt'k779jbzQ4o|p+@H_DCrIdnKG]E*w X-Binford: 6100 (more power) X-Accept-Language: de, en User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:gpThb7u26QuNmKU5o4VNdVzO3M4= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5694 Original-Lines: 35 X-Gnus-Article-Number: 5694 Tue Jan 17 17:35:28 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5552 Archived-At: Hallöchen! "Charles philip Chan" 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