Gnus development mailing list
 help / color / mirror / Atom feed
* Unplugged gnus does not read from mail-sources
@ 2001-01-24 21:14 Gerd Boerrigter
  2001-01-24 22:07 ` ShengHuo ZHU
  0 siblings, 1 reply; 9+ messages in thread
From: Gerd Boerrigter @ 2001-01-24 21:14 UTC (permalink / raw)


Hi,

I have the following setup in my .gnus:

,----[ .gnus ]
| (setq gnus-select-method '(nntp "localhost"))
| 
| ;; methods for reading mail.
| (setq gnus-secondary-select-methods
|       '((nnml "")
|         (nnimap "localhost"
|                 (nnimap-address "localhost")
|                 )
|       ))
| (setq mail-sources
|       '((file)
|         (directory :path "~/Mail/Spool"
|                    :suffix ""
|                    ))
|         )
`----

and also some additional servers configured through the
menus/configure:

,----[ *Server* ]
|      {nnfolder:archive} (opened)
|      {nnimap:mail.external-server.com} (denied)
|      {nndraft:} (opened)
|      {nnimap:localhost} (opened)
|      {nnml:} (opened)
|      {nntp:localhost} (opened)
`----

The only agentized server is the mail.external-server.com, because the
others are local and don't need to be agents.  (BTW, where can I see
if a server is agentized?  They look all alike in the server buffer,
no hint what server is an agent, and who is not.)

If gnus is unplugged, it doesn't get the new mail from the
mail-sources.  Only if I put gnus to plugged mode, the mail from the
mail-sources is read.  Of course, that makes problems with my external
imap server, because I am offline.  Shouldn't an unplugged gnus still
read the mail from the mail-sources and only the agent servers are
treated special?  How can I make that gnus still uses mail-sources,
even if unplugged?  Anything I am overlooking?

Thanks,
Gerd



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

* Re: Unplugged gnus does not read from mail-sources
  2001-01-24 21:14 Unplugged gnus does not read from mail-sources Gerd Boerrigter
@ 2001-01-24 22:07 ` ShengHuo ZHU
  2001-01-24 22:25   ` dot gnus files Dirk Gomez
  2001-02-02 21:22   ` Unplugged gnus does not read from mail-sources Gerd Boerrigter
  0 siblings, 2 replies; 9+ messages in thread
From: ShengHuo ZHU @ 2001-01-24 22:07 UTC (permalink / raw)


Gerd Boerrigter <gerd.boerrigter@gmx.net> writes:

[...]

> The only agentized server is the mail.external-server.com, because the
> others are local and don't need to be agents.  (BTW, where can I see
> if a server is agentized?  They look all alike in the server buffer,
> no hint what server is an agent, and who is not.)

The feature has been added.

> If gnus is unplugged, it doesn't get the new mail from the
> mail-sources.  Only if I put gnus to plugged mode, the mail from the
> mail-sources is read.  Of course, that makes problems with my external
> imap server, because I am offline.  Shouldn't an unplugged gnus still
> read the mail from the mail-sources and only the agent servers are
> treated special?  How can I make that gnus still uses mail-sources,
> even if unplugged?  Anything I am overlooking?

Use :plugged option. For example,

 (setq mail-sources
       '((file :plugged t)
         (directory :path "~/Mail/Spool"
                    :suffix ""
                    :plugged t
                    )))


ShengHuo



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

* dot gnus files
  2001-01-24 22:07 ` ShengHuo ZHU
@ 2001-01-24 22:25   ` Dirk Gomez
  2001-01-25  1:10     ` Nick Papadonis
  2001-01-26 14:40     ` Charles Sebold
  2001-02-02 21:22   ` Unplugged gnus does not read from mail-sources Gerd Boerrigter
  1 sibling, 2 replies; 9+ messages in thread
From: Dirk Gomez @ 2001-01-24 22:25 UTC (permalink / raw)


Already asked this...some examples somewhere? Like in some groups I want to show the recipient of the mail, not the sender etc...



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

* Re: dot gnus files
  2001-01-24 22:25   ` dot gnus files Dirk Gomez
@ 2001-01-25  1:10     ` Nick Papadonis
  2001-01-25  1:14       ` Lee Cantey
  2001-01-26 14:40     ` Charles Sebold
  1 sibling, 1 reply; 9+ messages in thread
From: Nick Papadonis @ 2001-01-25  1:10 UTC (permalink / raw)
  Cc: ding

Your sent mail folder? :)
Dirk Gomez <dirk@arsdigita.com> writes:

> Already asked this...some examples somewhere? Like in some groups I want to show the recipient of the mail, not the sender etc...
> 

-- 
- Nick



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

* Re: dot gnus files
  2001-01-25  1:10     ` Nick Papadonis
@ 2001-01-25  1:14       ` Lee Cantey
  0 siblings, 0 replies; 9+ messages in thread
From: Lee Cantey @ 2001-01-25  1:14 UTC (permalink / raw)


>>>>> On Wed Jan 24, Nick writes:

> Your sent mail folder? :) Dirk Gomez <dirk@arsdigita.com> writes:

>> Already asked this...some examples somewhere? Like in some groups I
>> want to show the recipient of the mail, not the sender etc...
>>

You may want to look at gnus-ignored-from-addresses.

Lee



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

* Re: dot gnus files
  2001-01-24 22:25   ` dot gnus files Dirk Gomez
  2001-01-25  1:10     ` Nick Papadonis
@ 2001-01-26 14:40     ` Charles Sebold
  1 sibling, 0 replies; 9+ messages in thread
From: Charles Sebold @ 2001-01-26 14:40 UTC (permalink / raw)


On 29 Teveth 5761, Dirk Gomez wrote:

> Already asked this...some examples somewhere? Like in some groups I
> want to show the recipient of the mail, not the sender etc...

Check the info file, under "To From Newsgroups", I believe.

I have in my .gnus:

(setq gnus-summary-line-format "%U%R%z %d %I%(%[%4L:%ub%-16,16f %]%) %s
")
(setq gnus-extra-headers
      '(To Newsgroups))
(setq nnmail-extra-headers gnus-extra-headers)
(setq gnus-ignored-from-addresses "Charles Sebold\\|SEBOLD.*lcms\\.org")

The important thing about the gnus-summary-line-format is the use of
"f", which allows Gnus to substitute whatever is appropriate.

Afer setting all of the above you will have to run
nnml-generate-nov-databases to get it to use the correct headers.
-- 
Charles Sebold
Random Answer to an Emacs Very Frequently Asked Question:
 C-up, S-f1, etc. may require special terminal settings under Emacs on a tty.
--
2nd of Shevat, 5761
--
A novice was trying to fix a broken Lisp machine by turning the power
off and on. Knight, seeing what the student was doing, spoke sternly:
"You cannot fix a machine by just power-cycling it with no understanding
of what is going wrong." Knight turned the machine off and on. The
machine worked.



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

* Re: Unplugged gnus does not read from mail-sources
  2001-01-24 22:07 ` ShengHuo ZHU
  2001-01-24 22:25   ` dot gnus files Dirk Gomez
@ 2001-02-02 21:22   ` Gerd Boerrigter
  2001-02-02 21:57     ` ShengHuo ZHU
  1 sibling, 1 reply; 9+ messages in thread
From: Gerd Boerrigter @ 2001-02-02 21:22 UTC (permalink / raw)


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

ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Gerd Boerrigter <gerd.boerrigter@gmx.net> writes:
> 
> [...]
> 
> > The only agentized server is the mail.external-server.com, because the
> > others are local and don't need to be agents.  (BTW, where can I see
> > if a server is agentized?  They look all alike in the server buffer,
> > no hint what server is an agent, and who is not.)
> 
> The feature has been added.

Thanks.  That was unbelievable fast.  Sorry that I didn't had the time
to check back sooner.

[...]
> Use :plugged option. For example,

For some reason I didn't check the mail-source variable.  But even
there it is kind of hidden at the end.  I was checking the Agent nodes
and could not find anything there.  Maybe an addition there would be
good.  Here is one at the end of Agent Basics:


[-- Attachment #2: Type: text/plain, Size: 382 bytes --]

--- gnus.texi	Wed Jan 24 21:33:27 2001
+++ gnus2.texi	Tue Jan 30 22:05:10 2001
@@ -14511,6 +14511,12 @@
 Decide on download policy.  @xref{Agent Categories}.
 
 @item
+
+If you still want gnus to read mail from other mail sources even if
+unplugged, you can use @samp{:plugged t} in @code{mail-sources}
+(@pxref{Mail Source Specifiers}).
+
+@item
 Uhm... that's it.
 @end itemize
 

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


Gerd

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

* Re: Unplugged gnus does not read from mail-sources
  2001-02-02 21:22   ` Unplugged gnus does not read from mail-sources Gerd Boerrigter
@ 2001-02-02 21:57     ` ShengHuo ZHU
  2001-02-02 22:54       ` Gerd Boerrigter
  0 siblings, 1 reply; 9+ messages in thread
From: ShengHuo ZHU @ 2001-02-02 21:57 UTC (permalink / raw)


Gerd Boerrigter <gerd.boerrigter@gmx.net> writes:


[...]

> --- gnus.texi	Wed Jan 24 21:33:27 2001
> +++ gnus2.texi	Tue Jan 30 22:05:10 2001
> @@ -14511,6 +14511,12 @@
>  Decide on download policy.  @xref{Agent Categories}.
>  
>  @item
> +
> +If you still want gnus to read mail from other mail sources even if
> +unplugged, you can use @samp{:plugged t} in @code{mail-sources}
> +(@pxref{Mail Source Specifiers}).
> +
> +@item
>  Uhm... that's it.
>  @end itemize

Actually, there are already some words about checking new mails when
unplugged in this node.

ShengHuo

-- 
(setq gnus-posting-styles '((".*" (signature-file "~/.signature"))))



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

* Re: Unplugged gnus does not read from mail-sources
  2001-02-02 21:57     ` ShengHuo ZHU
@ 2001-02-02 22:54       ` Gerd Boerrigter
  0 siblings, 0 replies; 9+ messages in thread
From: Gerd Boerrigter @ 2001-02-02 22:54 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Actually, there are already some words about checking new mails when
> unplugged in this node.

Now that I know it was there I found that line.  I probably should not
configure gnus (and read documentation) late at night.

Thanks,
Gerd



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

end of thread, other threads:[~2001-02-02 22:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24 21:14 Unplugged gnus does not read from mail-sources Gerd Boerrigter
2001-01-24 22:07 ` ShengHuo ZHU
2001-01-24 22:25   ` dot gnus files Dirk Gomez
2001-01-25  1:10     ` Nick Papadonis
2001-01-25  1:14       ` Lee Cantey
2001-01-26 14:40     ` Charles Sebold
2001-02-02 21:22   ` Unplugged gnus does not read from mail-sources Gerd Boerrigter
2001-02-02 21:57     ` ShengHuo ZHU
2001-02-02 22:54       ` Gerd Boerrigter

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