info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IMAP copies of usenet posts in exactly the same format


From: Emanuel Berg
Subject: Re: IMAP copies of usenet posts in exactly the same format
Date: Thu, 06 Nov 2014 00:57:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

"Andrzej A. Filip" <andrzej.filip@gmail.com> writes:

> How to make gnus store copies of usent posts in IMAP
> folder in exactly the same format as they are sent
> to usenet?

There are several ways to do that, though I don't know
exactly what you mean by "exactly the same format".

The best and most "automatic" way I've found is to set
`gnus-message-archive-group'. In my case, as I use
nnml for mail, it looks like this:

    (setq gnus-message-archive-group "nnml:mail.sent")

This will insert a Gcc header to your outgoing
messages:

    Gcc: nnml:mail.sent

In effect, you are archiving your outgoings by sending
them to yourself.

As for the "same format", in nnml you get a file on
your filesystem for each message. With the 'file'
command, it tells me the files are "news or mail,
ASCII text" - all files (mails and news), so that's
pretty much the same format, I'd say. (Of course, most
often I access them from Gnus, but sometimes as
filesystem files, yes.)

If you get tired of seeing the Gcc header all the
time, use

    (setq message-hidden-headers '( ... "Gcc:") )

If you don't like this method, there are hooks to the
message-mode:

    message-send-hook
    message-send-mail-hook
    message-send-news-hook
    message-sent-hook

You can setup those to save your messages in any way
you like.

-- 
underground experts united


reply via email to

[Prev in Thread] Current Thread [Next in Thread]