Ren Lifeng | 7 Oct 2005 10:51
Picon
Favicon

[mew-int 02066] mew-summary-cache-message fails sometimes

mew freezes emacs on some mails. if i press C-g in the first 2 minutes
or so, i can interrupt this procedure. then i will got these in *Message*
buffer:

     MIME decoding for +inbox/83 aborted
     mew-summary-cache-message: Wrong type argument: stringp, nil

but if i let it alone, emacs will be not responsive. even C-g will not
function any more.

i had thought this is because those mails were broken. but many mail
from gimp-user mail list hang mew. so maybe i mis-configure mew. or
mew has a bug.

thank you in advance.

-------.emacs.el---------
(autoload 'mew "mew" nil t)                          
(autoload 'mew-send "mew" nil t)                     

;; Optional setup (Read Mail menu for Emacs 21):     
(if (boundp 'read-mail-command)                      
    (setq read-mail-command 'mew))                                                  
;; Optional setup (e.g. C-xm for sending a message): 
(autoload 'mew-user-agent-compose "mew" nil t)       
(if (boundp 'mail-user-agent)                        
    (setq mail-user-agent 'mew-user-agent))          
(if (fboundp 'define-mail-user-agent)                
    (define-mail-user-agent                          
      'mew-user-agent                                
(Continue reading)

Werner LEMBERG | 7 Oct 2005 17:34
Picon

[mew-int 02067] bug with adding attachment

[mew 4.2.50]

I strongly suggest that the variable completion-ignored-extensions is
locally set to nil so that attaching a file to a mail really finds all
possible file names.

Consider the case of a directory `foo' which contains `bar.ps' and
`bar.pdf'.  File name completion only gives `foo/bar.ps' because the
`.pdf' extension is in the completion-ignored-extensions list.

    Werner

Werner LEMBERG | 11 Oct 2005 06:23
Picon

[mew-int 02068] marking all mails in a folder

[4.2.50]

What's the easiest way to mark all files in a (virtual) folder?  I
couldn't find a simple command to do that.

Currently, I use `?' with something like `subject!=foo', but this
needs too much keystrokes IMHO.

BTW, the `?' command used in a virtual folder with a `!=' pick
condition shows a funny count message -- it also counts all matches in
the non-virtual buffer which is slightly irritating.

    Werner

Bernhard Heidegger | 11 Oct 2005 07:59

[mew-int 02069] Re: marking all mails in a folder

From: Werner LEMBERG <wl <at> gnu.org>
Subject: [mew-int 02068] marking all mails in a folder
Date: Tue, 11 Oct 2005 06:23:57 +0200 (CEST)

> [4.2.50]
> 
> What's the easiest way to mark all files in a (virtual) folder?  I
> couldn't find a simple command to do that.

m a run `mew-summary-mark-all`

Regards,
Bernhard

Werner LEMBERG | 11 Oct 2005 08:30
Picon

[mew-int 02070] Re: marking all mails in a folder

> > What's the easiest way to mark all files in a (virtual) folder?  I
> > couldn't find a simple command to do that.
> 
> m a run `mew-summary-mark-all`

Thanks.  It's quite well hidden in the docs :-)

    Werner

Martin Simon | 14 Oct 2005 09:48
Picon

[mew-int 02071] TLS stopped working

hallo everybody,

since i updated my ubuntu 5.04 install, and now since a clean install of ubuntu 5.10  i cannot send mail via gmail. i can receive mails but sending gives the following message:
Flushing +queue...
Creating an SSL/TLS connection...FAILED (cert verify failure)
Cannot create to the SSL/TLS connection

the SSL communication is fine for pop.

this is what i have in my .mew.el
  
       ("name"         . "Martin Simon")
       ("user"         . "xxxxx")
       ("mail-domain"  . "gmail.com")
       ("mew-ssl-cert-directory" . "/etc/ssl/certs/")
       ("smtp-ssl"     . t)
       ("smtp-user"    . "xxxxxxxx")
       ("smtp-ssl-port" . "587")
       ("smtp-server"  . "smtp.gmail.com")
       ("pop-ssl"      . t)
       ("pop-ssl-port" . "995") ;
       ("pop-server"   . "pop.gmail.com")
       ("pop-user"     . "xxxxxxxxx")
       ("pop-auth"     . pass) ;; pass needed for gmail
       ("pop-delete"   . nil)
       ("proto"        . "+")
       ("mailbox-type" . pop)
       ("mew-ssl-verify-level" . 0)
       ("mew-prog-ssl" . "/usr/sbin/stunnel"))

someone else with the same problems out there?
as always every hint and help is highly appreciated

martin

Tatsuya Kinoshita | 14 Oct 2005 15:04
Picon

[mew-int 02072] Re: TLS stopped working

On October 14, 2005, [mew-int 02071],
marsimon (at gmail.com) wrote:

> since i updated my ubuntu 5.04 install, and now since a clean install of
> ubuntu 5.10 i cannot send mail via gmail. i can receive mails but sending
> gives the following message:
> Flushing +queue...
> Creating an SSL/TLS connection...FAILED (cert verify failure)
> Cannot create to the SSL/TLS connection
> 
> the SSL communication is fine for pop.

> ("smtp-ssl-port" . "587")

Remove the above line.  Use the default value "465" ("ssmtp") instead.

> ("mail-domain" . "gmail.com <http://gmail.com>")
> ("smtp-server" . "smtp.gmail.com <http://smtp.gmail.com>")
> ("pop-server" . "pop.gmail.com <http://pop.gmail.com>")

Remove " <...>".

> ("smtp-user" . "xxxxxxxx")
> ("pop-user" . "xxxxxxxxx")

Add " <at> gmail.com". (ref. Gmail: Help Center)

> ("pop-ssl-port" . "995") ;

The default value is "pop3s" ("995"), so you can remove the above
line.

> ("mew-ssl-cert-directory" . "/etc/ssl/certs/")
> ("mew-ssl-verify-level" . 0)
> ("mew-prog-ssl" . "/usr/sbin/stunnel"))

You can remove the above lines, because those variables are set to
proper values in the startup file `/etc/emacs/site-start.d/*mew*.el'
by Debian (Ubuntu) package mew or mew-beta.  See also
`/usr/share/doc/mew*/README.Debian'.

Also, please note that:

  * Don't use the prefix "mew-" for config keys.
  * Setting mew-ssl-verify-level to 0 is not recommended.
  * The config key "prog-ssl" is not supported.
  * The config keys "ssl-cert-directory" and "ssl-verify-level" are
    not supported by Mew 3.x (supported by Mew 4.x).

I sorted out your config values:

(setq mew-config-alist
      '(
	("gmail"
	 ("name" . "Martin Simon")
	 ("user" . "xxxxx")
	 ("mail-domain" . "gmail.com")
	 ("smtp-ssl" . t)
	 ("smtp-user" . "xxxxx <at> gmail.com")
	 ("smtp-server" . "smtp.gmail.com")
	 ("pop-ssl" . t)
	 ("pop-server" . "pop.gmail.com")
	 ("pop-user" . "xxxxx <at> gmail.com")
	 ("pop-auth" . pass) ;; pass needed for gmail
	 ("pop-delete" . nil)
	 ("proto" . "+")
	 ("mailbox-type" . pop)
	 ;;
	 )
	;;
	))

--

-- 
Tatsuya Kinoshita

Tatsuya Kinoshita | 14 Oct 2005 15:13
Picon

[mew-int 02073] Re: TLS stopped working

On October 14, 2005, [mew-int 02071],
marsimon (at gmail.com) wrote:

> since i updated my ubuntu 5.04 install, and now since a clean install of
> ubuntu 5.10 i cannot send mail via gmail. i can receive mails but sending
> gives the following message:
> Flushing +queue...
> Creating an SSL/TLS connection...FAILED (cert verify failure)

To verify certificates, install the Debian (Ubuntu) packages
stunnel4 (or stunnel) and ca-certificates.

--

-- 
Tatsuya Kinoshita

Martin Simon | 14 Oct 2005 16:08
Picon

[mew-int 02074] Re: TLS stopped working

> To verify certificates, install the Debian (Ubuntu) packages
> stunnel4 (or stunnel) and ca-certificates.
> 
> -- 
> Tatsuya Kinoshita

thanks a lot
the last thing did the trick!
i didn't know there's a package ca-certificates and the cert.pem i downloaded
somewhere worked for pop but not for smtp.

martin 

Kazu Yamamoto | 18 Oct 2005 09:45
Picon
Gravatar

[mew-int 02075] Re: bug with adding attachment

Hello,

Sorry for the delay. I have been busy but it's over.

> I strongly suggest that the variable completion-ignored-extensions is
> locally set to nil so that attaching a file to a mail really finds all
> possible file names.

Thank you for your suggestion. I have implemented this and committed
to the CVS tree.

--Kazu


Gmane