* procmail and Gnus 0.74 ?
@ 1999-02-02 11:13 Jari Aalto
1999-02-02 21:32 ` Lars Magne Ingebrigtsen
1999-02-03 15:25 ` Scott Hofmann
0 siblings, 2 replies; 6+ messages in thread
From: Jari Aalto @ 1999-02-02 11:13 UTC (permalink / raw)
I noticed that newest gnus changed the way incoming mail is read.
What's the right way now to read mail from procmail spool files
in ~/Mail/spool? All files end to string ".spool".
I tried this but, it doesn't seem to be the correct answer:
(let* ((spool (concat (file-name-as-directory nnfolder-directory)
"spool"))
(exist-p (file-directory-p spool))
)
...zap...
(setq mail-spool-file
(list
(list 'directory ':path spool ':suffix ".spool") ;; .prcml
;; "po:jaalto@mail.cs.tpu.fi"
;; "po:ssjaaa@pop.uta.fi"
;; (list 'pop ':server "mail.cs.tpu.fi" ':user "jaalto")
)))
jari
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: procmail and Gnus 0.74 ?
1999-02-02 11:13 procmail and Gnus 0.74 ? Jari Aalto
@ 1999-02-02 21:32 ` Lars Magne Ingebrigtsen
1999-02-03 0:04 ` Stephen Zander
1999-02-03 15:25 ` Scott Hofmann
1 sibling, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-02-02 21:32 UTC (permalink / raw)
Jari Aalto <jari.aalto@ntc.nokia.com> writes:
> (setq mail-spool-file
> (list
> (list 'directory ':path spool ':suffix ".spool") ;; .prcml
Looks OK to me, although you don't have to quote keywords -- they are
self-quoting, like nil and t and lambda and stuff:
:path
=> :path
Anyway, the directory fetching probably works better in 0.75.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: procmail and Gnus 0.74 ?
1999-02-02 21:32 ` Lars Magne Ingebrigtsen
@ 1999-02-03 0:04 ` Stephen Zander
1999-02-03 1:23 ` Lars Magne Ingebrigtsen
1999-02-03 5:03 ` Jim Meyering
0 siblings, 2 replies; 6+ messages in thread
From: Stephen Zander @ 1999-02-03 0:04 UTC (permalink / raw)
>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
Lars> Anyway, the directory fetching probably works better in
Lars> 0.75.
Actually, no. I get no directory fetching at all with 0.75. The
folloing is the pertinent part of my ~/.gnus.el
;;
;; Select method
;;
(setq gnus-select-method '(nnml "")
gnus-large-newsgroup nil
nnml-directory (concat gnus-directory "nnml/")
;nnmail-use-procmail t
;nnmail-spool-file 'procmail
;nnmail-procmail-directory (concat gnus-directory ".incoming/")
mail-spool-file '((directory :path "~/News/.incoming/")))
Leaving the nnmail-* variables uncommented resulted in a backtrace
(which I can send if you want). From the manual I'd though the
mail-sppol-file spec above would have worked.
--
Stephen
---
It should be illegal to yell "Y2K" in a crowded economy. :-) -- Larry Wall
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: procmail and Gnus 0.74 ?
1999-02-03 0:04 ` Stephen Zander
@ 1999-02-03 1:23 ` Lars Magne Ingebrigtsen
1999-02-03 5:03 ` Jim Meyering
1 sibling, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-02-03 1:23 UTC (permalink / raw)
Stephen Zander <gibreel@pobox.com> writes:
> Leaving the nnmail-* variables uncommented resulted in a backtrace
> (which I can send if you want). From the manual I'd though the
> mail-sppol-file spec above would have worked.
That should be `nnmail-spool-file'.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: procmail and Gnus 0.74 ?
1999-02-03 0:04 ` Stephen Zander
1999-02-03 1:23 ` Lars Magne Ingebrigtsen
@ 1999-02-03 5:03 ` Jim Meyering
1 sibling, 0 replies; 6+ messages in thread
From: Jim Meyering @ 1999-02-03 5:03 UTC (permalink / raw)
Cc: ding
Stephen Zander <gibreel@pobox.com> writes:
| >>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
| Lars> Anyway, the directory fetching probably works better in
| Lars> 0.75.
|
| Actually, no. I get no directory fetching at all with 0.75. The
| folloing is the pertinent part of my ~/.gnus.el
|
| ;;
| ;; Select method
| ;;
| (setq gnus-select-method '(nnml "")
| gnus-large-newsgroup nil
| nnml-directory (concat gnus-directory "nnml/")
| ;nnmail-use-procmail t
| ;nnmail-spool-file 'procmail
| ;nnmail-procmail-directory (concat gnus-directory ".incoming/")
| mail-spool-file '((directory :path "~/News/.incoming/")))
|
| Leaving the nnmail-* variables uncommented resulted in a backtrace
| (which I can send if you want). From the manual I'd though the
| mail-sppol-file spec above would have worked.
Maybe that was because of these typos in the docs?
Here's a patch:
--- gnus.texi.~1~ Tue Feb 2 22:58:56 1999
+++ gnus.texi Tue Feb 2 22:59:37 1999
@@ -10091,7 +10091,7 @@ If you want to fetch mail both from your
mail server, you'd say something like:
@lisp
-(setq mail-spool-file
+(setq nnmail-spool-file
'((file)
(pop :server "pop3.mail.server"
:password "secret")))
@@ -10100,7 +10100,7 @@ mail server, you'd say something like:
Or, if you don't want to use any of the keyword defaults:
@lisp
-(setq mail-spool-file
+(setq nnmail-spool-file
'((file :path "/var/spool/mail/user-name")
(pop :server "pop3.mail.server"
:user "user-name"
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: procmail and Gnus 0.74 ?
1999-02-02 11:13 procmail and Gnus 0.74 ? Jari Aalto
1999-02-02 21:32 ` Lars Magne Ingebrigtsen
@ 1999-02-03 15:25 ` Scott Hofmann
1 sibling, 0 replies; 6+ messages in thread
From: Scott Hofmann @ 1999-02-03 15:25 UTC (permalink / raw)
Cc: Ding mailing list
>>>>> "JA" == Jari Aalto <jari.aalto@ntc.nokia.com> writes:
JA> I noticed that newest gnus changed the way incoming mail is read.
JA> What's the right way now to read mail from procmail spool files
JA> in ~/Mail/spool? All files end to string ".spool".
JA> I tried this but, it doesn't seem to be the correct answer:
JA> (let* ((spool (concat (file-name-as-directory nnfolder-directory)
JA> "spool"))
JA> (exist-p (file-directory-p spool))
JA> )
I'm using the following setup successfully with pgnus-0.75:
;; gnus customizations
(setq gnus-procmail-suffix ".spool"
gnus-nntp-server nil;; required to use gnus-select-method
gnus-select-method (list 'nntp "news.mindspring.com")
gnus-secondary-select-methods '((nnml ""))
gnus-uncacheable-groups "^nnml"
)
;; this stuff should make us work with procmail nicely
(setq nnml-directory "/home/shofmann/Mail/spool"
nnml-nov-is-evil t
)
(setq nnmail-use-procmail t
nnmail-spool-file '((directory :path "/home/shofmann/Mail/spool"
:suffix ".spool"))
)
I hope this helps,
scott
--
J. Scott Hofmann Software Engineer
shofmann at mindspring dot com Interactive Television Company
http://www.seas.gwu.edu/student/shofmann/ (703) 525-5625 x28
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-02-03 15:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-02 11:13 procmail and Gnus 0.74 ? Jari Aalto
1999-02-02 21:32 ` Lars Magne Ingebrigtsen
1999-02-03 0:04 ` Stephen Zander
1999-02-03 1:23 ` Lars Magne Ingebrigtsen
1999-02-03 5:03 ` Jim Meyering
1999-02-03 15:25 ` Scott Hofmann
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).