* mail-source (pgnus 0.74)
@ 1999-01-27 21:24 Jack Vinson
1999-01-27 22:22 ` Michael Welsh Duggan
1999-01-28 10:33 ` Lars Magne Ingebrigtsen
0 siblings, 2 replies; 4+ messages in thread
From: Jack Vinson @ 1999-01-27 21:24 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 3205 bytes --]
As I expected and was warned, things break with the change to mail-source.
I am running on NTemacs 20.3.1, if that means anything. I sure I will turn
up some others.
1) I have been using epop3mail (extended pop3 mail) to retrieve my mail
instead of the standard movemail. This is set up by setting the
following
(setq nnmail-movemail-program 'epop3-mail
nnmail-spool-file "po:jvinson@chevax.ecs.umass.edu")
Of course, this does not work now. The new mail-retrieval code expects
nnmail-spool-file to simply be po:jvinson with some setting for
the environment variable MAILHOST. (chevax.ecs.umass.edu in my case).
When I do this, Gnus is able to retrieve my mail, although I assume it
uses regular old movemail. I have to set mail-source-movemail-program
to get this to happen correctly.
The interesting thing about epop3mail was that it could have handled
nnmail-spool-file as a list like
'(po:jvinson@chevax.ecs.umass.edu po:jvinson@another.mail.host)
1a) When I restart emacs and Gnus 0.74 with what I think are the correct
variable settings, Gnus now marks _all_ of my mail groups with *'s.
Why would that happen?
2) When I run gnus-group-get-new-news on my mail groups only
(gnus-group-get-new-news 2), the mail-source functions repeatedly
attempt to retrieve mail from my mail server(s). As a result, I get a
pair of
nnml: Reading incoming mail from pop...
nnml: Reading incoming mail...done
for every mail group I have. Besides, why should "nnml" be retrieving
the mail. Shouldn't this all be handled by mail-source? Or did we set
it up so that each backend can have its own retrieval method?
The other "feature" of this is that *some* of my mail groups (that have
no new mail) get listed with a * for the number of articles.
When I do (gnus-group-get-new-news) Gnus only checks one time for all
incoming mail. And the message counts are displayed as expected.
3) When I create a message buffer without starting Gnus, I get complaints
from emacs that it is not able to save the file. The buffer has a the
file name "*message*" and it attempts to save to my mail/drafts
directory. Should their be a real filename associated with this
message?
I think this has been happening for a while.
This is related to Drafts. When I attempt to save the file, it tries to
put it in message-directory/drafts. However, when I create a message
*after* gnus has been started it saves drafts in
gnus-directory/drafts/drafts. Note the double *draft* directory.
4) There is a new variable /mail-source-directory/. It defaults to
"~/Mail/." In the past all mail-related variables seemed to default to
the value of /message-directory/. A lot of the nnmail variables are
still set this way. Is this something that can be done a little better?
Which variable should be used?
5) It appears that all of my incoming mail is being marked as read.
Whenever I get new mail, it does not appear in the message count of my
groups and I need to enter the groups with C-u RET and scan through for
messages that do not look familiar. This is a rather large problem.
[-- Attachment #2: Environment settings --]
[-- Type: text/plain, Size: 7096 bytes --]
(setq gnus-directory "W:/jmvins/private/News/")
(setq gnus-default-nntp-server "")
(setq gnus-select-method
'(nntp "news.monsanto.com"))
(setq gnus-message-archive-group 'jmv-archive-group)
(setq gnus-secondary-select-methods
'((nnml "")))
(setq gnus-asynchronous t)
(setq gnus-kill-files-directory "w:/jmvins/private/News/")
(setq gnus-use-adaptive-scoring t)
(setq gnus-use-cache t)
(setq gnus-expert-user t)
(setq gnus-auto-expirable-newsgroups "nnml:\\(misc\\|vinson\\|Boing\\|ding\\|ntemacs\\|SuperCite\\|bbdb\\|tandem\\|Campus\\|BullTek\\|SPAM\\|cheme\\|OnSale\\|Amazon\\|Bicycle_Stuff\\)")
(setq gnus-group-uncollapsed-levels 3)
(setq gnus-group-change-level-function 'gnus-topic-change-level)
(setq gnus-article-save-directory "W:/jmvins/private/News")
(setq gnus-fetch-old-headers 'some)
(setq gnus-summary-gather-subject-limit 'fuzzy)
(setq gnus-summary-same-subject " =#=")
(setq gnus-summary-zcore-fuzz 5)
(setq gnus-thread-hide-subtree t)
(setq gnus-auto-select-same t)
(setq gnus-thread-sort-functions
'(gnus-thread-sort-by-number gnus-thread-sort-by-date gnus-thread-sort-by-total-score))
(setq gnus-summary-generate-hook
'(jmv-gnus-prepare-groups))
(setq gnus-select-group-hook
'(jmv-gnus-select-groups))
(setq gnus-extra-headers
'(To Newsgroups))
(setq gnus-ignored-from-addresses "\\(jvinson@chevax\\.ecs\\.umass\\.edu\\|nobody\\)")
(setq gnus-group-line-format "%M %S%5y: %(%-30uc%) %D\n")
(setq gnus-group-mode-hook
'(gnus-topic-mode))
(setq gnus-group-catchup-group-hook
'(gnus-topic-update-topic))
(setq gnus-visible-headers "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^Followup-To:\\|^Reply-To:\\|^Organization:\\|^Summary:\\|^Keywords:\\|^To:\\|^Cc:\\|^Posted-To:\\|^Mail-Copies-To:\\|^Apparently-To:\\|^Resent-\\^X-Face")
(setq gnus-default-article-saver 'gnus-summary-save-in-mail)
(setq gnus-article-prepare-hook
'(bbdb/gnus-update-record))
(setq gnus-startup-file "W:/jmvins/private/.newsrc")
(setq gnus-init-file "W:/jmvins/private/emacs/gnus-startup")
(setq gnus-activate-foreign-newsgroups 5)
(setq gnus-ignored-newsgroups "^\\(to\\.\\|de\\.\\)")
(setq gnus-check-bogus-groups-hook
'(gnus-topic-clean-alist))
(setq gnus-startup-hook
'(bbdb-insinuate-gnus))
(setq gnus-save-newsrc-hook
'(bbdb-offer-save))
(setq gnus-bug-create-help-buffer nil)
(setq gnus-buffer-configuration
'((bug
(vertical 1.0
("*Gnus Bug*" 1.0 point)))
(reply
(vertical 1.0
(article 0.5)
(message 1.0 point)))
(group
(vertical 1.0
(group 1.0 point)
(if gnus-carpal
'(group-carpal 4))))
(summary
(vertical 1.0
(summary 1.0 point)
(if gnus-carpal
'(summary-carpal 4))))
(article
(cond
((and gnus-use-picons
(eq gnus-picons-display-where 'picons))
'(frame 1.0
(vertical 1.0
(summary 0.25 point)
(if gnus-carpal
'(summary-carpal 4))
(article 1.0))
(vertical
((height . 5)
(width . 15)
(user-position . t)
(left . -1)
(top . 1))
(picons 1.0))))
(gnus-use-trees
'(vertical 1.0
(summary 0.25 point)
(tree 0.25)
(article 1.0)))
(t
'(vertical 1.0
(summary 0.25 point)
(if gnus-carpal
'(summary-carpal 4))
(article 1.0)))))
(server
(vertical 1.0
(server 1.0 point)
(if gnus-carpal
'(server-carpal 2))))
(browse
(vertical 1.0
(browse 1.0 point)
(if gnus-carpal
'(browse-carpal 2))))
(message
(vertical 1.0
(message 1.0 point)))
(pick
(vertical 1.0
(article 1.0 point)))
(info
(vertical 1.0
(info 1.0 point)))
(summary-faq
(vertical 1.0
(summary 0.25)
(faq 1.0 point)))
(edit-article
(vertical 1.0
(article 1.0 point)))
(edit-form
(vertical 1.0
(group 0.5)
(edit-form 1.0 point)))
(edit-score
(vertical 1.0
(summary 0.25)
(edit-score 1.0 point)))
(post
(vertical 1.0
(post 1.0 point)))
(forward
(vertical 1.0
(message 1.0 point)))
(reply-yank
(vertical 1.0
(message 1.0 point)))
(mail-bounce
(vertical 1.0
(article 0.5)
(message 1.0 point)))
(pipe
(vertical 1.0
(summary 0.25 point)
(if gnus-carpal
'(summary-carpal 4))
("*Shell Command Output*" 1.0)))
(score-trace
(vertical 1.0
(summary 0.5 point)
("*Score Trace*" 1.0)))
(score-words
(vertical 1.0
(summary 0.5 point)
("*Score Words*" 1.0)))
(split-trace
(vertical 1.0
(summary 0.5 point)
("*Split Trace*" 1.0)))
(category
(vertical 1.0
(category 1.0)))
(compose-bounce
(vertical 1.0
(article 0.5)
(message 1.0 point)))))
(setq nnmail-split-methods
'(("SPAM" gnus-spam-spamp)
("ding" "^\\(From.*Majordomo@hpc.uh.edu\\|Return-path:.*owner-ding.*@hpc.uh.edu\\)")
("Amber" "^From.*\\(kitten.*arizona\\|ROB@ccc.govt.nz\\|ra_carey@yahoo.com\\|x97grp@juliet.stfx.ca\\|aphillips@genesys-soft.com\\|teresa@noao.edu\\|racarey@calcna.ab.ca\\|x97grp@stfx.ca\\|jklane@nf.sympatico.ca\\)")
("BDK" "^From.*\\(hyprotech.com\\|salomone@arcride.edu.ar\\)")
("ntemacs" "^Sender.*ntemacs-users")
("tandem" "^From.*\\(tandem@hobbes\\|listserv@hobbes\\).ucsd.edu")
("tandem" "^To.*tandem@hobbes.ucsd.edu")
("Bicycle_Stuff" "^From.*majordomo@cyclery.com")
("Bicycle_Stuff" "^\\(To:\\|Cc:\\).*\\(midwest-bicycle-rides@cyclery.com\\|BIKES@indigo.ie\\)")
("Bicycle_Stuff" "^From.*seankelly.com")
("cheme" "^Sender.*cast10.*che.wisc.edu")
("Gani" "^From.*kt.dtu.dk")
("AIChE_1997" "^From.*\\(annual97-submit@www1.che.ufl.edu\\|ddorland@d.umn.edu\\|losan97@d.umn.edu\\|annual97-process@www1.che.ufl.edu\\)")
("CFD_CFX" "^From.*\\(aeat.com\\|vanchi@worldnet\\|vanchi@netsense\\)")
("Campus" "^Subject: \\(Campus\\|Re: Campus\\|AA Campus\\|Re: AA Campus\\)")
("bbdb" "^From info-bbdb")
("SuperCite" "^Sender: owner-supercite")
("BullTek" "^From.*\\(bulltek@earthlink.net\\|bulltek.com\\)")
("Qphysics" "\\(qphysics@is.aist-nara.ac.jp\\|qphysics@cs.washington.edu\\)")
("vinson" "^From:.*\\(vinson\\|jmvins\\)")
("Boing" "^From.*\\(daemon\\|postmaster\\)")
("OnSale" "^From: ONSALE")
("Amazon" "^From.*amazon.com")
("misc" "")))
(setq nnmail-crosspost nil)
(setq nnmail-spool-file "po:jvinson")
(setq nnmail-message-id-cache-file "W:/jmvins/private/.nnmail-cache")
(setq nnmail-extra-headers
'(To Newsgroups))
(setq message-directory "W:/jmvins/private/Mail/")
(setq message-send-mail-function 'smtpmail-send-it)
(setq message-post-method
'(nnspool ""))
(setq message-setup-hook
'(mail-zippy
(lambda nil
(gin-mode 1)
(font-lock-mode 1)
(substitute-key-definition 'next-line 'mail-abbrev-next-line message-mode-map global-map)
(substitute-key-definition 'end-of-buffer 'mail-abbrev-end-of-buffer message-mode-map global-map))
mail-abbrevs-setup))
(setq message-mode-hook
'(gnus-configure-posting-styles))
(setq message-header-setup-hook
'(gnus-inews-insert-archive-gcc gnus-inews-insert-gcc))
(setq message-cite-function 'sc-cite-original)
(setq message-signature nil)
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
--
Jack Vinson <jvinson@chevax.ecs.umass.edu> http://www.cis.upenn.edu/~vinson/
Zippy: FEELINGS are cascading over me!!!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mail-source (pgnus 0.74)
1999-01-27 21:24 mail-source (pgnus 0.74) Jack Vinson
@ 1999-01-27 22:22 ` Michael Welsh Duggan
1999-01-27 23:45 ` Simon Josefsson
1999-01-28 10:33 ` Lars Magne Ingebrigtsen
1 sibling, 1 reply; 4+ messages in thread
From: Michael Welsh Duggan @ 1999-01-27 22:22 UTC (permalink / raw)
Jack Vinson <jvinson@chevax.ecs.umass.edu> writes:
> 1a) When I restart emacs and Gnus 0.74 with what I think are the correct
> variable settings, Gnus now marks _all_ of my mail groups with *'s.
> Why would that happen?
> 5) It appears that all of my incoming mail is being marked as read.
> Whenever I get new mail, it does not appear in the message count of my
> groups and I need to enter the groups with C-u RET and scan through for
> messages that do not look familiar. This is a rather large problem.
These two are related. I just figured out what was causing this. See
<v1tsocwxw5v.fsf@peoria.mt.cs.cmu.edu> for details.
> 1) I have been using epop3mail (extended pop3 mail) to retrieve my mail
> instead of the standard movemail. This is set up by setting the
> following
> (setq nnmail-movemail-program 'epop3-mail
> nnmail-spool-file "po:jvinson@chevax.ecs.umass.edu")
>
> Of course, this does not work now. The new mail-retrieval code expects
> nnmail-spool-file to simply be po:jvinson with some setting for
> the environment variable MAILHOST. (chevax.ecs.umass.edu in my case).
> When I do this, Gnus is able to retrieve my mail, although I assume it
> uses regular old movemail. I have to set mail-source-movemail-program
> to get this to happen correctly.
>
> The interesting thing about epop3mail was that it could have handled
> nnmail-spool-file as a list like
> '(po:jvinson@chevax.ecs.umass.edu po:jvinson@another.mail.host)
This problem was also noted by another user in
<ilu1zkgv2b3.fsf@unikabox.pdc.kth.se>. Although
`mail-source-movemail-program' is used for file and directory moves,
it doesn't handle "po:foo" args anymore.
On the other hand, until this is fixed you might want to consider the
following solution which doesn't use epop3mail:
(setq nnmail-spool-file '((pop :user "jvinson" :server "chevax.ecs.umass.edu")
(pop :user "jvinson" :server "another.mail.host")))
If "jvinson" is also what
(or (user-login-name) (getenv "LOGNAME") (getenv "USER")) returns, you
can elide the :user argument.
> 2) When I run gnus-group-get-new-news on my mail groups only
> (gnus-group-get-new-news 2), the mail-source functions repeatedly
> attempt to retrieve mail from my mail server(s). As a result, I get a
> pair of
> nnml: Reading incoming mail from pop...
> nnml: Reading incoming mail...done
> for every mail group I have. Besides, why should "nnml" be retrieving
> the mail. Shouldn't this all be handled by mail-source? Or did we set
> it up so that each backend can have its own retrieval method?
>
> The other "feature" of this is that *some* of my mail groups (that have
> no new mail) get listed with a * for the number of articles.
>
> When I do (gnus-group-get-new-news) Gnus only checks one time for all
> incoming mail. And the message counts are displayed as expected.
For what it's worth, I get the same behavior. I am looking into it
right now.
--
Michael Duggan
(md5i@cs.cmu.edu)
.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mail-source (pgnus 0.74)
1999-01-27 22:22 ` Michael Welsh Duggan
@ 1999-01-27 23:45 ` Simon Josefsson
0 siblings, 0 replies; 4+ messages in thread
From: Simon Josefsson @ 1999-01-27 23:45 UTC (permalink / raw)
Cc: ding
Michael Welsh Duggan <md5i@cs.cmu.edu> writes:
> This problem was also noted by another user in
> <ilu1zkgv2b3.fsf@unikabox.pdc.kth.se>. Although
> `mail-source-movemail-program' is used for file and directory moves,
> it doesn't handle "po:foo" args anymore.
>
> On the other hand, until this is fixed you might want to consider the
> following solution which doesn't use epop3mail:
>
> (setq nnmail-spool-file '((pop :user "jvinson" :server "chevax.ecs.umass.edu")
> (pop :user "jvinson" :server "another.mail.host")))
For me, this still prompts me for a password and then give me a
"connection refused" (since we run Kerberos POP and not POP). Perhaps
it isn't using epop3mail but it isn't using
mail-source-movemail-program.
(Gnus then exit and I end up in the splash screen so I can't get it
running. I've reverted to 0.72.)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mail-source (pgnus 0.74)
1999-01-27 21:24 mail-source (pgnus 0.74) Jack Vinson
1999-01-27 22:22 ` Michael Welsh Duggan
@ 1999-01-28 10:33 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-01-28 10:33 UTC (permalink / raw)
Jack Vinson <jvinson@chevax.ecs.umass.edu> writes:
> 1) I have been using epop3mail (extended pop3 mail) to retrieve my mail
> instead of the standard movemail. This is set up by setting the
> following
> (setq nnmail-movemail-program 'epop3-mail
> nnmail-spool-file "po:jvinson@chevax.ecs.umass.edu")
>
> Of course, this does not work now. The new mail-retrieval code expects
> nnmail-spool-file to simply be po:jvinson with some setting for
> the environment variable MAILHOST. (chevax.ecs.umass.edu in my case).
> When I do this, Gnus is able to retrieve my mail, although I assume it
> uses regular old movemail.
No, it uses pop3.el, but 0.75 will allow you to specify :program.
> I have to set mail-source-movemail-program
> to get this to happen correctly.
This variable is gone in 0.75.
> The interesting thing about epop3mail was that it could have handled
> nnmail-spool-file as a list like
> '(po:jvinson@chevax.ecs.umass.edu po:jvinson@another.mail.host)
You can specify a number of pop sources in the new nnmail-spool-file.
> 1a) When I restart emacs and Gnus 0.74 with what I think are the correct
> variable settings, Gnus now marks _all_ of my mail groups with *'s.
> Why would that happen?
This should now be fixed.
> 2) When I run gnus-group-get-new-news on my mail groups only
> (gnus-group-get-new-news 2), the mail-source functions repeatedly
> attempt to retrieve mail from my mail server(s). As a result, I get a
> pair of
> nnml: Reading incoming mail from pop...
> nnml: Reading incoming mail...done
> for every mail group I have.
Erm; yes; there should be some sort of thing there to limit the number
of times things try to get new mail to once.
> Besides, why should "nnml" be retrieving
> the mail. Shouldn't this all be handled by mail-source? Or did we set
> it up so that each backend can have its own retrieval method?
No, things still work the same as before -- the only new thing so far
is the syntax of the mail sources, really. Oh, and that things don't
work yet. :-)
> 3) When I create a message buffer without starting Gnus, I get complaints
> from emacs that it is not able to save the file.
`(setq debug-on-error t)', repeat the bug and mail me the resulting
backtrace.
> This is related to Drafts. When I attempt to save the file, it tries to
> put it in message-directory/drafts. However, when I create a message
> *after* gnus has been started it saves drafts in
> gnus-directory/drafts/drafts. Note the double *draft* directory.
Yes; that is as it should be.
> 4) There is a new variable /mail-source-directory/. It defaults to
> "~/Mail/." In the past all mail-related variables seemed to default to
> the value of /message-directory/. A lot of the nnmail variables are
> still set this way. Is this something that can be done a little better?
> Which variable should be used?
mail-source should function independently of Message, so I don't think
defaulting either to the other makes much sense.
The only thing that mail-source-directory is used for is storing the
Incoming* files in the alpha Gnus cycles, anyway.
> 5) It appears that all of my incoming mail is being marked as read.
> Whenever I get new mail, it does not appear in the message count of my
> groups and I need to enter the groups with C-u RET and scan through for
> messages that do not look familiar. This is a rather large problem.
This sounds like the overview-files-aren't-created bug.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-01-28 10:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-27 21:24 mail-source (pgnus 0.74) Jack Vinson
1999-01-27 22:22 ` Michael Welsh Duggan
1999-01-27 23:45 ` Simon Josefsson
1999-01-28 10:33 ` Lars Magne Ingebrigtsen
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).