Re: Attachments in forwarded messages garbled

2006-11-08 Thread Reiner Steib
On Wed, Nov 08 2006, David Abrahams wrote:

> Ever since I made the switch to Linux for my main machine, I've been
> having the problem that when I forward (gnus-summary-mail-forward) a
> message that contains an attachment, the recipent gets a garbled
> version of the original attachment.

Without *any* kind of information what is kind of problem the
"garbled" message/attachment has, it's next to impossible to help you.
You might send such a message to gmane.test or send us a gzipped mbox
of the received message.  Be sure not to include private stuff.

> I am using a CVS version of Emacs.

In this article, you used Emacs 23 (CVS unicode branch; experimental).
Please try to reproduce the problem with Emacs 22 (CVS trunk or
pretest tarball).

> I see this effect both with the version of Gnus it ships with and
> with a CVS HEAD version of Gnus.  I have unfortunately been unable
> to test this with a release version (21.4) of emacs; Gnus just won't
> start up for me in that version :(

Independent from the attachment problem, it might be worth to debug
this problem.

Bye, Reiner.
-- 
   ,,,
  (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Elisp: get pop3 password from .authinfo

2006-11-08 Thread Sebastian Schubert
Hallo,

I want to get the pop3 password from the .authinfo file to have all
password together.  I found a function to do it:
http://groups.google.de/group/de.comm.software.gnus/msg/d3e772d5f684ce68?hl=de&;

,
| (setq mail-sources `(... (pop :server "foo" :user "bar"
|   :passwd ,(pw-from-authinfo)) ...))
| 
| (defun pw-from-authinfo ()
|   (require 'nntp)
|   (let* ((x (gnus-parse-netrc nntp-authinfo-file))
|  (item (gnus-netrc-machine x "pop"))
|  (pw (gnus-netrc-get item "password")))
| pw))
`


I need an additional argument for the server, so I changed the function
to:

,
| (defun pw-from-authinfo (popserver)
|   (require 'nntp)
|   (let* ((x (gnus-parse-netrc nntp-authinfo-file))
|  (item (gnus-netrc-machine x popserver))
|  (pw (gnus-netrc-get item "password")))
| pw)) 
`

and use

:passwd ,(pw-from-authinfo("my.server.org"))

That does not work. Why? Because of the let? What is correct? Can I use
the server string I added in the mail-sources?

Thanks
Sebastian
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Help>>>How do I backup and restore mail in gnus

2006-11-08 Thread netawater
Thank you and I have tried it but it can not work for it seems it do not
support nnfolder type.

I have tried to create a new nnfolder group for a mailbox, and instead its
files with my backup files, Gnus can visit it correctly. 

Is there the only method to visit them and I can not visit it with Gnus?
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Help>>>How do I backup and restore mail in gnus

2006-11-08 Thread netawater
There are some html mail in my backup files, Does it cause the problem for it
is not standard mbox format.
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Elisp: get pop3 password from .authinfo

2006-11-08 Thread Hadron Quark
Sebastian Schubert <[EMAIL PROTECTED]> writes:

> Hallo,
>
> I want to get the pop3 password from the .authinfo file to have all
> password together.  I found a function to do it:
> http://groups.google.de/group/de.comm.software.gnus/msg/d3e772d5f684ce68?hl=de&;
>
> ,
> | (setq mail-sources `(... (pop :server "foo" :user "bar"
> |   :passwd ,(pw-from-authinfo)) ...))
> | 
> | (defun pw-from-authinfo ()
> |   (require 'nntp)
> |   (let* ((x (gnus-parse-netrc nntp-authinfo-file))
> |  (item (gnus-netrc-machine x "pop"))
> |  (pw (gnus-netrc-get item "password")))
> | pw))
> `
>
>
> I need an additional argument for the server, so I changed the function
> to:
>
> ,
> | (defun pw-from-authinfo (popserver)
> |   (require 'nntp)
> |   (let* ((x (gnus-parse-netrc nntp-authinfo-file))
> |  (item (gnus-netrc-machine x popserver))
> |  (pw (gnus-netrc-get item "password")))
> | pw)) 
> `
>
> and use
>
> :passwd ,(pw-from-authinfo("my.server.org"))
>
> That does not work. Why? Because of the let? What is correct? Can I use
> the server string I added in the mail-sources?

I look forward to seeing the solution to this : I ended up "require"ing
an external file with the smtp specifics for my outgoing email in order
to keep passwords hidden should I ever publish my .gnus or
sections of to help someone.
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Attachments in forwarded messages garbled

2006-11-08 Thread David Abrahams
Reiner Steib <[EMAIL PROTECTED]> writes:

> On Wed, Nov 08 2006, David Abrahams wrote:
>
>> Ever since I made the switch to Linux for my main machine, I've been
>> having the problem that when I forward (gnus-summary-mail-forward) a
>> message that contains an attachment, the recipent gets a garbled
>> version of the original attachment.
>
> Without *any* kind of information what is kind of problem the
> "garbled" message/attachment has, it's next to impossible to help you.
> You might send such a message to gmane.test or send us a gzipped mbox
> of the received message.  Be sure not to include private stuff.

I will arrange such a test in a follow-up message.

>> I am using a CVS version of Emacs.
>
> In this article, you used Emacs 23 (CVS unicode branch; experimental).
> Please try to reproduce the problem with Emacs 22 (CVS trunk or
> pretest tarball).

I did it already with the HEAD of the CVS trunk and the result is the
same.  I am having a very hard time figuring out which tags correspond
to various releases.

>> I see this effect both with the version of Gnus it ships with and
>> with a CVS HEAD version of Gnus.  I have unfortunately been unable
>> to test this with a release version (21.4) of emacs; Gnus just won't
>> start up for me in that version :(
>
> Independent from the attachment problem, it might be worth to debug
> this problem.

Yes, it might.  But the other problem is more critical to me.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Attachments in forwarded messages garbled

2006-11-08 Thread David Abrahams
Reiner Steib <[EMAIL PROTECTED]> writes:

> Without *any* kind of information what is kind of problem the
> "garbled" message/attachment has, it's next to impossible to help you.
> You might send such a message to gmane.test or send us a gzipped mbox
> of the received message.  Be sure not to include private stuff.

If Gnus cooperates, this message should include two enclosures: an
inline image (the Boost logo) and a forwarded email message.  The
original email message being forwarded contained a copy of the same
image (inline), and it was received cleanly.


--- Begin Message ---


-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
--- End Message ---


-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Attachments in forwarded messages garbled

2006-11-08 Thread Leo
On Wed, 08/11/06, David Abrahams wrote:

> Reiner Steib <[EMAIL PROTECTED]> writes:
>
>> Without *any* kind of information what is kind of problem the
>> "garbled" message/attachment has, it's next to impossible to help you.
>> You might send such a message to gmane.test or send us a gzipped mbox
>> of the received message.  Be sure not to include private stuff.
>
> If Gnus cooperates, this message should include two enclosures: an
> inline image (the Boost logo) and a forwarded email message.  The
> original email message being forwarded contained a copy of the same
> image (inline), and it was received cleanly.
>


I can't see the second image with Gnus 5.11.

-- 
Leo



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Elisp: get pop3 password from .authinfo

2006-11-08 Thread Johan Bockgård
Sebastian Schubert <[EMAIL PROTECTED]> writes:

> |   (let* ((x (gnus-parse-netrc nntp-authinfo-file))
> |  (item (gnus-netrc-machine x "pop"))
> |  (pw (gnus-netrc-get item "password")))

Those functions have been renamed:

gnus-parse-netrc ->   netrc-parse
gnus-netrc-machine   ->   netrc-machine
gnus-netrc-get   ->   netrc-get

-- 
Johan Bockgård
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Attachments in forwarded messages garbled

2006-11-08 Thread David Abrahams
Leo <[EMAIL PROTECTED]> writes:

> On Wed, 08/11/06, David Abrahams wrote:
>
>> Reiner Steib <[EMAIL PROTECTED]> writes:
>>
>>> Without *any* kind of information what is kind of problem the
>>> "garbled" message/attachment has, it's next to impossible to help you.
>>> You might send such a message to gmane.test or send us a gzipped mbox
>>> of the received message.  Be sure not to include private stuff.
>>
>> If Gnus cooperates, this message should include two enclosures: an
>> inline image (the Boost logo) and a forwarded email message.  The
>> original email message being forwarded contained a copy of the same
>> image (inline), and it was received cleanly.
>>
>
>
> I can't see the second image with Gnus 5.11.

Right, that's the whole point.  If you look at the raw text of the
message (`C-u g') you'll see two instances therein of the following:

  Content-Type: image/png
  Content-Disposition: inline; filename=boost.png
  Content-Transfer-Encoding: base64

but the 2nd one is garbled so as to be invisible (in this case).  In
more recent Gnusen you'll see an empty box where the image should be.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english