Gnus development mailing list
 help / color / mirror / Atom feed
* PATCH: pop3.el (pop3-movemail): handle network errors
@ 1999-04-07 16:32 Peter von der Ahé
  1999-04-07 17:42 ` Stainless Steel Rat
  0 siblings, 1 reply; 4+ messages in thread
From: Peter von der Ahé @ 1999-04-07 16:32 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

Hi!

I have an unreliable pop server which sometimes refuses connections.
Thus I would like if pop3-movemail could handle a file-error from
open-network-stream.

I have made a patch, against p0.80, which makes pop3-movemail more
robust in case of errors and offer the user the ability to probagate
the error or try to recover the error.

I'm not sure that this right place for error handling.  Some error
handling is reguired (the crashbox file should to be written to disk),
but the error needs to be propagated back to Gnus - any suggestions on
how to handle the error in Gnus?


[-- Attachment #2: patch against p0.80 --]
[-- Type: application/x-patch, Size: 3902 bytes --]

[-- Attachment #3: Type: text/plain, Size: 563 bytes --]


(Note that many lines in the patch comes from re-indentation).

My nnmail-spool-file is, in case you wonder:

  `((pop :program "/root/popgetmail %u %t"
         :server "daimi.au.dk"
         :user "pahe")
    (pop :password ,my-secret-pop-password
         :server "ahe.dk"
         :user "DELETED TO AVOID SPAMMING")
    (directory :path "/users/pahe/Gnus/Mail/" :suffix ".spool"))

Kind Regards
Peter

-- 
		  · Peter von der Ahé · Systems programmer ·
	      · Office phone: +45 89 42 31 41 · Office: 540.030 ·
		    · <URL:http://www.daimi.au.dk/~pahe/> ·

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-04-07 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-07 16:32 PATCH: pop3.el (pop3-movemail): handle network errors Peter von der Ahé
1999-04-07 17:42 ` Stainless Steel Rat
1999-04-07 19:21   ` Peter von der Ahé
1999-04-07 21:10     ` Stainless Steel Rat

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