unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Why isn't Gnus reading my mail?
@ 2003-11-23 21:09 Dan Anderson
  2003-11-24  7:20 ` Jesper Harder
  2003-12-17 20:19 ` Kai Grossjohann
  0 siblings, 2 replies; 16+ messages in thread
From: Dan Anderson @ 2003-11-23 21:09 UTC (permalink / raw)



I am trying to set up Gnus to read my mail.  I went through the manual
and think I have figured out what to do.  So I put the following in my
~/.gnus:

,----[ My ~/.gnus: ]
| ;; -*- emacs-lisp -*-
| ;; GNUs configuration file.
| 
| (setq user-mail-address "dan@mathjunkies.com")
| (setq user-full-name "Dan Anderson")
| (setq message-user-organization "")
| (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
| (setq gnus-secondary-methods '((nnmaildir "")))
| (setq mail-sources '((pop :server "mail.mathjunkies.com"
|                           :user "username"
|                           :password "password")))
| (setq smtpmail-default-smtp-server "mail.mathjunkies.com")
`----

But, when I open up Gnus I have the following problems:

1.  The organization  isn't set to "".   It's using Road  Runner -- my
    cable modem provider.
2.  I can't read any mail.  I've got my newsgroups but no mail.

What am I doing wrong?

Thanks for your help,

Dan

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

* Re: Why isn't Gnus reading my mail?
  2003-11-23 21:09 Why isn't Gnus reading my mail? Dan Anderson
@ 2003-11-24  7:20 ` Jesper Harder
  2003-11-24  8:56   ` Artur Hefczyc
  2003-11-24 15:24   ` Dan Anderson
  2003-12-17 20:19 ` Kai Grossjohann
  1 sibling, 2 replies; 16+ messages in thread
From: Jesper Harder @ 2003-11-24  7:20 UTC (permalink / raw)


Dan Anderson <dan@mathjunkies.com> writes:

> I am trying to set up Gnus to read my mail.  I went through the manual
> and think I have figured out what to do.  So I put the following in my
> ~/.gnus:
>
> ,----[ My ~/.gnus: ]
> | (setq message-user-organization "")
> | (setq gnus-secondary-methods '((nnmaildir "")))
> | (setq mail-sources '((pop :server "mail.mathjunkies.com"
> |                           :user "username"
> |                           :password "password")))
> `----
>
> But, when I open up Gnus I have the following problems:
>
> 1.  The organization  isn't set to "".   It's using Road  Runner -- my
>     cable modem provider.

That's something your provider does, not Gnus.  You'll probably need
to set the organization to something (other than the empty string),
to prevent them from inserting it.

> 2.  I can't read any mail.  I've got my newsgroups but no mail.

Try nnml instead of nnmaildir.

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

* Re: Why isn't Gnus reading my mail?
  2003-11-24  7:20 ` Jesper Harder
@ 2003-11-24  8:56   ` Artur Hefczyc
  2003-11-24 15:23     ` Dan Anderson
  2003-11-24 15:24   ` Dan Anderson
  1 sibling, 1 reply; 16+ messages in thread
From: Artur Hefczyc @ 2003-11-24  8:56 UTC (permalink / raw)


Jesper Harder <harder@myrealbox.com> writes:

>> ,----[ My ~/.gnus: ]
>> | (setq message-user-organization "")
>> | (setq gnus-secondary-methods '((nnmaildir "")))
>> | (setq mail-sources '((pop :server "mail.mathjunkies.com"
>> |                           :user "username"
>> |                           :password "password")))
>> `----
>> 2.  I can't read any mail.  I've got my newsgroups but no mail.
> Try nnml instead of nnmaildir.

I use nnmaildir and I am satisfied with it. Here is my nnmaildir
configuration:
(add-to-list 'gnus-secondary-select-methods
             '(nnmaildir ""
                         (directory "/home/kobit/Mail")
                         (get-new-mail t)
                         (directory-files nnheader-directory-files-safe)))

I think the most important parameter for maildir back end is 'directory'.

Artur
-- 
Artur Hefczyc, Open Source Developer:
http://www.geotools.org/
http://generguide.sourceforge.net/
http://wttools.sourceforge.net/
http://maven-plugins.sourceforge.net/

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

* Re: Why isn't Gnus reading my mail?
  2003-11-24  8:56   ` Artur Hefczyc
@ 2003-11-24 15:23     ` Dan Anderson
  2003-11-25 20:00       ` Artur Hefczyc
  0 siblings, 1 reply; 16+ messages in thread
From: Dan Anderson @ 2003-11-24 15:23 UTC (permalink / raw)


Artur Hefczyc <DONTkobit@SPAMplusnet.MEpl> writes:
> I use nnmaildir and I am satisfied with it. Here is my nnmaildir
> configuration:
> (add-to-list 'gnus-secondary-select-methods
>              '(nnmaildir ""
>                          (directory "/home/kobit/Mail")
>                          (get-new-mail t)
>                          (directory-files nnheader-directory-files-safe)))
> 
> I think the most important parameter for maildir back end is 'directory'.

        Thanks  for your  help so  far, but  when I  tried  using your
configuration I got told that Gnus couldn't open my dir when I cut and
pasted  your code  and changed  the directory.   I'm curious,  are you
having  fetchmail  grab  your  mail  for  you  and  spooling  it  into
/home/kobit/mail, or are  you having Gnus fetch it?  Is  there a way I
can tell Gnus that I'm creating a directory and I want to format it as
nnmail?

Many thanks,

Dan

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

* Re: Why isn't Gnus reading my mail?
  2003-11-24  7:20 ` Jesper Harder
  2003-11-24  8:56   ` Artur Hefczyc
@ 2003-11-24 15:24   ` Dan Anderson
  2003-11-24 15:40     ` David Kastrup
  1 sibling, 1 reply; 16+ messages in thread
From: Dan Anderson @ 2003-11-24 15:24 UTC (permalink / raw)


Jesper Harder <harder@myrealbox.com> writes:

> Dan Anderson <dan@mathjunkies.com> writes:
> Try nnml instead of nnmaildir.

        That isn't an  option for me.  I keep  several hundred megs of
e-mail and if  Gnus tried slurping the entire file  into memory my box
would have no ram left for programs.

-Dan

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

* Re: Why isn't Gnus reading my mail?
  2003-11-24 15:24   ` Dan Anderson
@ 2003-11-24 15:40     ` David Kastrup
  2003-11-24 18:34       ` Dan Anderson
       [not found]       ` <mailman.524.1069702617.399.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 16+ messages in thread
From: David Kastrup @ 2003-11-24 15:40 UTC (permalink / raw)


Dan Anderson <dan@mathjunkies.com> writes:

> Jesper Harder <harder@myrealbox.com> writes:
> 
> > Try nnml instead of nnmaildir.
> 
>         That isn't an option for me.  I keep several hundred megs of
> e-mail and if Gnus tried slurping the entire file into memory my box
> would have no ram left for programs.

Seems like you are confused about what nnml actually _is_.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

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

* Re: Why isn't Gnus reading my mail?
  2003-11-24 15:40     ` David Kastrup
@ 2003-11-24 18:34       ` Dan Anderson
  2003-11-24 21:48         ` David Kastrup
       [not found]         ` <mailman.535.1069714269.399.help-gnu-emacs@gnu.org>
       [not found]       ` <mailman.524.1069702617.399.help-gnu-emacs@gnu.org>
  1 sibling, 2 replies; 16+ messages in thread
From: Dan Anderson @ 2003-11-24 18:34 UTC (permalink / raw)
  Cc: help-gnu-emacs

On Mon, 2003-11-24 at 10:40, David Kastrup wrote:
> Dan Anderson <dan@mathjunkies.com> writes:
> 
> > Jesper Harder <harder@myrealbox.com> writes:
> > 
> > > Try nnml instead of nnmaildir.
> > 
> >         That isn't an option for me.  I keep several hundred megs of
> > e-mail and if Gnus tried slurping the entire file into memory my box
> > would have no ram left for programs.
> 
> Seems like you are confused about what nnml actually _is_.

What am I missing?

Thanks,

Dan

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

* Re: Why isn't Gnus reading my mail?
  2003-11-24 18:34       ` Dan Anderson
@ 2003-11-24 21:48         ` David Kastrup
       [not found]         ` <mailman.535.1069714269.399.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 16+ messages in thread
From: David Kastrup @ 2003-11-24 21:48 UTC (permalink / raw)
  Cc: help-gnu-emacs

Dan Anderson <dan@mathjunkies.com> writes:

> On Mon, 2003-11-24 at 10:40, David Kastrup wrote:
> > Dan Anderson <dan@mathjunkies.com> writes:
> > 
> > > Jesper Harder <harder@myrealbox.com> writes:
> > > 
> > > > Try nnml instead of nnmaildir.
> > > 
> > >         That isn't an option for me.  I keep several hundred megs of
> > > e-mail and if Gnus tried slurping the entire file into memory my box
> > > would have no ram left for programs.
> > 
> > Seems like you are confused about what nnml actually _is_.
> 
> What am I missing?

The Gnus manual?

C-h i d m gnus RET i nnml RET

nnml does not read every mail into memory.  It keeps each mail in a
separate file and maintains a fast data base for accessing those.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

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

* Re: Why isn't Gnus reading my mail?
       [not found]       ` <mailman.524.1069702617.399.help-gnu-emacs@gnu.org>
@ 2003-11-24 22:26         ` Reiner Steib
  0 siblings, 0 replies; 16+ messages in thread
From: Reiner Steib @ 2003-11-24 22:26 UTC (permalink / raw)


On Mon, Nov 24 2003, Dan Anderson wrote:

> On Mon, 2003-11-24 at 10:40, David Kastrup wrote:
>> Dan Anderson <dan@mathjunkies.com> writes:
[...]
>> > I keep several hundred megs of e-mail and if Gnus tried slurping
>> > the entire file into memory my box would have no ram left for
>> > programs.
>> 
>> Seems like you are confused about what nnml actually _is_.
>
> What am I missing?

(info "(gnus)Choosing a Mail Back End")
(info "(gnus)Mail Spool")
(info "(gnus)Comparing Mail Back Ends")

nnml uses "one file per article" just like nnmaildir.  Both should
more or less work equally well for large groups.  Both back ends *do
not* put all messages into memory at once.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

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

* Re: Why isn't Gnus reading my mail?
       [not found]         ` <mailman.535.1069714269.399.help-gnu-emacs@gnu.org>
@ 2003-11-25  2:55           ` Dan Anderson
  2003-11-25  3:48             ` David Kastrup
  0 siblings, 1 reply; 16+ messages in thread
From: Dan Anderson @ 2003-11-25  2:55 UTC (permalink / raw)


David Kastrup <dak@gnu.org> writes:
> nnml does not read every mail into memory.  It keeps each mail in a
> separate file and maintains a fast data base for accessing those.

        Ahhh, I'm sorry.   I thought that you were  talking about mbox
format which does slurp all  files into memory.  It's hard to remember
everything I need to know to configure Gnnus.

Thanks for your help,

Dan

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

* Re: Why isn't Gnus reading my mail?
  2003-11-25  2:55           ` Dan Anderson
@ 2003-11-25  3:48             ` David Kastrup
  0 siblings, 0 replies; 16+ messages in thread
From: David Kastrup @ 2003-11-25  3:48 UTC (permalink / raw)


Dan Anderson <dan@mathjunkies.com> writes:

> David Kastrup <dak@gnu.org> writes:
> > nnml does not read every mail into memory.  It keeps each mail in a
> > separate file and maintains a fast data base for accessing those.
> 
>         Ahhh, I'm sorry.   I thought that you were  talking about mbox
> format which does slurp all  files into memory.  It's hard to remember
> everything I need to know to configure Gnnus.

You don't need to.  That's the purpose of the manual.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

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

* Re: Why isn't Gnus reading my mail?
  2003-11-24 15:23     ` Dan Anderson
@ 2003-11-25 20:00       ` Artur Hefczyc
  2003-11-25 20:21         ` Dan Anderson
  0 siblings, 1 reply; 16+ messages in thread
From: Artur Hefczyc @ 2003-11-25 20:00 UTC (permalink / raw)


Dan Anderson <dan@mathjunkies.com> writes:

>         Thanks  for your  help so  far, but  when I  tried  using your
> configuration I got told that Gnus couldn't open my dir when I cut and

Did you create mail main directory? Double check it. And if you are in
group buffer press '^'. It will move you to server buffer. Look how
your maildir backend is marked. Read *Messages* buffer after starting
gnus.

> pasted  your code  and changed  the directory.   I'm curious,  are you
> having  fetchmail  grab  your  mail  for  you  and  spooling  it  into
> /home/kobit/mail, or are  you having Gnus fetch it?  Is  there a way I
> can tell Gnus that I'm creating a directory and I want to format it as
> nnmail?

Hm, my mail system is rather complicated. I tried to solve problem with
viruses and spam which fulfeels my mail boxes every day so I use
mailfilter+fetchmail+procmail+spamassasin to get mails from POP
accounts filter it and clean put to my local machine (/var/mail/kobit)
spool.

GNUS automatically gets new mails from this location. Parameter
(get-new-mail t)
tells GNUS to do so.

If anyone is interested in filtering mail with above tools I can send
description.

Artur
-- 
Artur Hefczyc, Open Source Developer:
http://www.geotools.org/
http://generguide.sourceforge.net/
http://wttools.sourceforge.net/
http://maven-plugins.sourceforge.net/

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

* Re: Why isn't Gnus reading my mail?
  2003-11-25 20:00       ` Artur Hefczyc
@ 2003-11-25 20:21         ` Dan Anderson
  2003-11-25 20:30           ` Henrik Enberg
  2003-11-26  9:27           ` Artur Hefczyc
  0 siblings, 2 replies; 16+ messages in thread
From: Dan Anderson @ 2003-11-25 20:21 UTC (permalink / raw)


Artur Hefczyc <DONTkobit@SPAMplusnet.MEpl> writes:
> If anyone is interested in filtering mail with above tools I can send
> description.

I'd love to  know how you do  it.  I get bombarded with  lots of mails
and would love to tell Gnus to send spam to /dev/null.

Thanks for your help,

-Dan

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

* Re: Why isn't Gnus reading my mail?
  2003-11-25 20:21         ` Dan Anderson
@ 2003-11-25 20:30           ` Henrik Enberg
  2003-11-26  9:27           ` Artur Hefczyc
  1 sibling, 0 replies; 16+ messages in thread
From: Henrik Enberg @ 2003-11-25 20:30 UTC (permalink / raw)


Dan Anderson <dan@mathjunkies.com> writes:

> Artur Hefczyc <DONTkobit@SPAMplusnet.MEpl> writes:
>> If anyone is interested in filtering mail with above tools I can send
>> description.
>
> I'd love to  know how you do  it.  I get bombarded with  lots of mails
> and would love to tell Gnus to send spam to /dev/null.

If you use fancy splitting, you can use the symbok `junk' instead of a
group, and the message will go to the big bucket in the sky.

        ("subject" "grow a \\(big\\|huge\\) penis" junk)

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

* Re: Why isn't Gnus reading my mail?
  2003-11-25 20:21         ` Dan Anderson
  2003-11-25 20:30           ` Henrik Enberg
@ 2003-11-26  9:27           ` Artur Hefczyc
  1 sibling, 0 replies; 16+ messages in thread
From: Artur Hefczyc @ 2003-11-26  9:27 UTC (permalink / raw)


Dan Anderson <dan@mathjunkies.com> writes:

> Artur Hefczyc <DONTkobit@SPAMplusnet.MEpl> writes:
>> If anyone is interested in filtering mail with above tools I can send
>> description.
>
> I'd love to  know how you do  it.  I get bombarded with  lots of mails
> and would love to tell Gnus to send spam to /dev/null.

Ok, I will try to write short article as soon as possible. The
advantages of using external filtering is that a lot of mail with spam
and viruses will not be downloaded to your home machine at all, the
rest will be filtered by spamassasin, so there is no need to involve
gnus in filtering mail.

Although I am sure GNUS can do it very well, but moving filtering
outside emacs make it much faster...

Just be patient, I hope article will be ready by the end of week...

Artur
-- 
Artur Hefczyc, Open Source Developer:
http://www.geotools.org/
http://generguide.sourceforge.net/
http://wttools.sourceforge.net/
http://maven-plugins.sourceforge.net/

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

* Re: Why isn't Gnus reading my mail?
  2003-11-23 21:09 Why isn't Gnus reading my mail? Dan Anderson
  2003-11-24  7:20 ` Jesper Harder
@ 2003-12-17 20:19 ` Kai Grossjohann
  1 sibling, 0 replies; 16+ messages in thread
From: Kai Grossjohann @ 2003-12-17 20:19 UTC (permalink / raw)


Dan Anderson <dan@mathjunkies.com> writes:

> | (setq gnus-secondary-methods '((nnmaildir "")))

gnus-secondary-select-methods, not
gnus-secondary-methods.

But I guess you figured that out by now.

Kai

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

end of thread, other threads:[~2003-12-17 20:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-23 21:09 Why isn't Gnus reading my mail? Dan Anderson
2003-11-24  7:20 ` Jesper Harder
2003-11-24  8:56   ` Artur Hefczyc
2003-11-24 15:23     ` Dan Anderson
2003-11-25 20:00       ` Artur Hefczyc
2003-11-25 20:21         ` Dan Anderson
2003-11-25 20:30           ` Henrik Enberg
2003-11-26  9:27           ` Artur Hefczyc
2003-11-24 15:24   ` Dan Anderson
2003-11-24 15:40     ` David Kastrup
2003-11-24 18:34       ` Dan Anderson
2003-11-24 21:48         ` David Kastrup
     [not found]         ` <mailman.535.1069714269.399.help-gnu-emacs@gnu.org>
2003-11-25  2:55           ` Dan Anderson
2003-11-25  3:48             ` David Kastrup
     [not found]       ` <mailman.524.1069702617.399.help-gnu-emacs@gnu.org>
2003-11-24 22:26         ` Reiner Steib
2003-12-17 20:19 ` Kai Grossjohann

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 read-only IMAP folder(s) and NNTP newsgroup(s).