Gnus development mailing list
 help / color / mirror / Atom feed
* problems with archive
@ 2011-06-14 18:57 lee
  2011-06-14 21:56 ` lee
  0 siblings, 1 reply; 7+ messages in thread
From: lee @ 2011-06-14 18:57 UTC (permalink / raw)
  To: ding

Hi,

my attempt to have all outgoing messages archived by default have lead
to having all mail groups listed doubly in my group viev like:


        1 : mail.lists.ding.gnus.org
        * : nnfolder+archive:mail.lists.ding.gnus.org


Trying to enter the nnfolder gives the error message:


,----
| gnus-select-newsgroup: Couldn't activate group
| nnfolder+archive:mail.lists.ding.gnus.org: Empty group:
| mail.lists.ding.gnus.org
`----


When I go into the server view, there appears to be for every mail group
I have another server entry:


,----
|      {nnfolder:archive} (opened)
|      {nndoc:gnus-help} (opened)
|      {nnfolder:archive+nnfolder+archive:mail.lists.mutt-users} (opened)
|      {nnfolder:archive+nnfolder+archive:mail.lists.courier-users} (opened)
|      {nnfolder:archive+nnfolder+archive:mail.lists.exim-users} (opened)
|      {nnfolder:archive+nnfolder+archive:mail.lists.debian-isp} (opened)
|      {nnfolder:archive+nnfolder+archive:mail.lists.debian-enterprise} (opened)
|      {nnfolder:archive+nnfolder+archive:mail.lists.courier-imap} (opened)
| [...]
`----


These entries have been created automatically. This seems to be badly
messed up now. How can I fix this?

When killing the {nnfolder:archive} server entry, I´m asked if I want to
kill all it´s groups along with it. I did that two times or so now and
found that after answering yes, all my all email was gone. I had to edit
the active file to be able to access it again. I take it I was lucky
that the emails weren´t actually deleted, and now I´m worried that they
eventually might be expired. Is there a way to automatically regenerate
the active file?

Searching for expire marks finds:


,----
| lee@yun:~/Mail$ find . -name .marks |xargs grep -i expire
| ./mail/0-incoming/.marks:((expire 3 5 15 17 (24 . 25) 28) (read (1 . 42) (44 . 129) (131 . 133) 137 (139 . 147) (149 . 307) (309 . 331)))
| lee@yun:~/Mail$ 
`----


Is there any other place where expiry information is kept?

What about the "read" marks? Is it normal for them to include articles
that don´t exist anymore? If not, could I just remove all ".marks"
files? ATM, losing the marks won´t hurt.



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

* Re: problems with archive
  2011-06-14 18:57 problems with archive lee
@ 2011-06-14 21:56 ` lee
  2011-06-15 17:50   ` Adam Sjøgren
  0 siblings, 1 reply; 7+ messages in thread
From: lee @ 2011-06-14 21:56 UTC (permalink / raw)
  To: ding

lee <lee@yun.yagibdah.de> writes:

> When I go into the server view, there appears to be for every mail group
> I have another server entry:
>
>
> ,----
> |      {nnfolder:archive} (opened)
> |      {nndoc:gnus-help} (opened)
> |      {nnfolder:archive+nnfolder+archive:mail.lists.mutt-users} (opened)
> |      {nnfolder:archive+nnfolder+archive:mail.lists.courier-users} (opened)
> |      {nnfolder:archive+nnfolder+archive:mail.lists.exim-users} (opened)
> |      {nnfolder:archive+nnfolder+archive:mail.lists.debian-isp} (opened)
> |      {nnfolder:archive+nnfolder+archive:mail.lists.debian-enterprise} (opened)
> |      {nnfolder:archive+nnfolder+archive:mail.lists.courier-imap} (opened)
> | [...]
> `----

Ok, I kinda fixed that by putting

,----
| (setq gnus-message-archive-method
|       '(nnfolder "gnus-arc"
| 		 (nnfolder-directory "~/Mail/archive")
| 		 (nnfolder-active-file "~/Mail/archive/active")
| 		 (nnfolder-get-new-mail nil)
| 		 (nnfolder-inhibit-expiry t)))
`----

into ~/.gnus.el. Now I´ve got two archive server entries using the same
mbox file.

The inaccessible duplicate groups are still in the group view, though:

,----
| [...]
|         * : nnfolder+archive:mail.lists.courier-imap                          (      0)  
|         * : nnfolder+archive:mail.lists.courier-users                         (      0)  
|         * : nnfolder+archive:mail.lists.debian-enterprise                     (      0)  
| [...]
`----

How can I get rid of those?

> Is there a way to automatically regenerate the active file?

Fortunately, I found that as well, just press `g' on a server
entry: pretty awesome :)

> Searching for expire marks finds:
>
>
> ,----
> | lee@yun:~/Mail$ find . -name .marks |xargs grep -i expire
> | ./mail/0-incoming/.marks:((expire 3 5 15 17 (24 . 25) 28) (read (1 . 42) (44 . 129) (131 . 133) 137 (139 . 147) (149 . 307) (309 . 331)))
> | lee@yun:~/Mail$ 
> `----

The expire marks are gone after regenerating the metadata, ok :) I don´t
know about the "read" marks, though.

Everything seems ok so far, except for the duplicate nnfolder+archive*
groups :)



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

* Re: problems with archive
  2011-06-14 21:56 ` lee
@ 2011-06-15 17:50   ` Adam Sjøgren
  2011-06-15 20:26     ` lee
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Sjøgren @ 2011-06-15 17:50 UTC (permalink / raw)
  To: ding

On Tue, 14 Jun 2011 23:56:41 +0200, lee wrote:

> |         * : nnfolder+archive:mail.lists.courier-imap                          (      0)  
> |         * : nnfolder+archive:mail.lists.courier-users                         (      0)  
> |         * : nnfolder+archive:mail.lists.debian-enterprise                     (      0)  
> | [...]
> `----

> How can I get rid of those?

Does C-k (i.e. kill) on each line work?


  Best regards,

    Adam

-- 
 "So this is what being a morning person is like, I           Adam Sjøgren
  thought. It's like being 80 years old."                asjo@koldfront.dk




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

* Re: problems with archive
  2011-06-15 17:50   ` Adam Sjøgren
@ 2011-06-15 20:26     ` lee
  2011-06-16  8:41       ` Adam Sjøgren
  2011-06-16  8:58       ` lee
  0 siblings, 2 replies; 7+ messages in thread
From: lee @ 2011-06-15 20:26 UTC (permalink / raw)
  To: ding

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Tue, 14 Jun 2011 23:56:41 +0200, lee wrote:
>
>> |         * : nnfolder+archive:mail.lists.courier-imap                          (      0)  
>> |         * : nnfolder+archive:mail.lists.courier-users                         (      0)  
>> |         * : nnfolder+archive:mail.lists.debian-enterprise                     (      0)  
>> | [...]
>> `----
>
>> How can I get rid of those?
>
> Does C-k (i.e. kill) on each line work?

Yes, it does. I´m afraid that it´ll mess up the metadata when I kill
those groups, though. I tried killing the server, was asked if I wanted
to kill its groups as well, and everything was messed up and I had to
regenerate the metadata for the nnml server.

As far as my very limited understanding goes, these groups shouldn´t
show up with the nnfolder+archive server in the first place, and killing
the server and its groups shouldn´t do any harm to groups or data of
other servers.

Something must be wrong with this server. It cannot be edited and I
cannot kill it without messing up the metadata. How could I get rid of
it?



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

* Re: problems with archive
  2011-06-15 20:26     ` lee
@ 2011-06-16  8:41       ` Adam Sjøgren
  2011-06-16 10:55         ` lee
  2011-06-16  8:58       ` lee
  1 sibling, 1 reply; 7+ messages in thread
From: Adam Sjøgren @ 2011-06-16  8:41 UTC (permalink / raw)
  To: ding

On Wed, 15 Jun 2011 22:26:50 +0200, lee wrote:

> asjo@koldfront.dk (Adam Sjøgren) writes:
>> On Tue, 14 Jun 2011 23:56:41 +0200, lee wrote:

>>> |         * : nnfolder+archive:mail.lists.courier-imap                          (      0)  
>>> |         * : nnfolder+archive:mail.lists.courier-users                         (      0)  
>>> |         * : nnfolder+archive:mail.lists.debian-enterprise                     (      0)  

>>> How can I get rid of those?

>> Does C-k (i.e. kill) on each line work?

> Yes, it does.

Super!


  Best regards,

-- 
 "So this is what being a morning person is like, I           Adam Sjøgren
  thought. It's like being 80 years old."                asjo@koldfront.dk




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

* Re: problems with archive
  2011-06-15 20:26     ` lee
  2011-06-16  8:41       ` Adam Sjøgren
@ 2011-06-16  8:58       ` lee
  1 sibling, 0 replies; 7+ messages in thread
From: lee @ 2011-06-16  8:58 UTC (permalink / raw)
  To: ding

lee <lee@yun.yagibdah.de> writes:

> asjo@koldfront.dk (Adam Sjøgren) writes:
>
>> On Tue, 14 Jun 2011 23:56:41 +0200, lee wrote:
>>
>>> |         * : nnfolder+archive:mail.lists.courier-imap                          (      0)  
>>> |         * : nnfolder+archive:mail.lists.courier-users                         (      0)  
>>> |         * : nnfolder+archive:mail.lists.debian-enterprise                     (      0)  
>>> | [...]
>>> `----
>>
>>> How can I get rid of those?
>>
>> Does C-k (i.e. kill) on each line work?
>
> Yes, it does. I´m afraid that it´ll mess up the metadata when I kill
> those groups, though.

Ok, these groups disappeared after I moved ~/.newsrc.eld out of the
way. The default entry for the archive server is back, and I left it
untouched.

Still gnus keeps messing up its active file; I´ve made a new thread
about that.



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

* Re: problems with archive
  2011-06-16  8:41       ` Adam Sjøgren
@ 2011-06-16 10:55         ` lee
  0 siblings, 0 replies; 7+ messages in thread
From: lee @ 2011-06-16 10:55 UTC (permalink / raw)
  To: ding

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Wed, 15 Jun 2011 22:26:50 +0200, lee wrote:
>
>> asjo@koldfront.dk (Adam Sjøgren) writes:
>>> On Tue, 14 Jun 2011 23:56:41 +0200, lee wrote:
>
>>>> |         * : nnfolder+archive:mail.lists.courier-imap                          (      0)  
>>>> |         * : nnfolder+archive:mail.lists.courier-users                         (      0)  
>>>> |         * : nnfolder+archive:mail.lists.debian-enterprise                     (      0)  
>
>>>> How can I get rid of those?
>
>>> Does C-k (i.e. kill) on each line work?
>
>> Yes, it does.
>
> Super!

Not really, since it didn´t solve the problem :)



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

end of thread, other threads:[~2011-06-16 10:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-14 18:57 problems with archive lee
2011-06-14 21:56 ` lee
2011-06-15 17:50   ` Adam Sjøgren
2011-06-15 20:26     ` lee
2011-06-16  8:41       ` Adam Sjøgren
2011-06-16 10:55         ` lee
2011-06-16  8:58       ` lee

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