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

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

Re: Couple of (configuration?) problems.


From: Katsumi Yamaoka
Subject: Re: Couple of (configuration?) problems.
Date: Fri, 01 Oct 2004 09:06:11 +0900
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

>>>>> In <i3%6d.38511$zh.14486@amsnews02.chello.com> Dirk Gerrits wrote:

> 4.  When I send an e-mail, I regularly get an SMTP protocol error.  I
>     can fix it by going back to the *Group* buffer, pressing g, and then
>     resending the e-mail.  I think the problem is that my SMTP server
>     requires me to be logged in through IMAP.  Anyway, can Gnus somehow
>     do this (re)connecting for me?

If you also have a POP access to the server, there is the very
thing for you.  See the No Gnus Info manual as follows:

M-x info RET d m Gnus RET m POP before SMTP RET

However, there is the way better than the POP before SMTP
authentication.  As is often the case with such a mail server,
doesn't it support the SMTP AUTH feature?  If so, I recommend
you consult the HowTo which is described in the beginning of the
lisp/mail/smtpmail.el file.  Also using STARTTLS is much better
since the password will be encrypted.

To check whether the server supports those features, type the
following:

% telnet SERVER 25
EHLO YourHostName
QUIT

My configuration for SMTP AUTH and STARTTLS is as follows:

(setq smtpmail-auth-credentials
      '(("mail.jpl.org" 25 "yamaoka" "password")))
(setq smtpmail-starttls-credentials
      '(("mail.jpl.org" 25 nil nil)))

> 5.  I can send e-mails, but not news posts.  (That's why I sent this one
>     using Mozilla Thunderbird instead of Gnus.)  Pressing C-c C-c in
>     something addressed to a newsgroup produces the message:

>     canlock-sha1: Wrong number of arguments: (lambda (object &optional
>     beg end) "Return the SHA1 (Secure Hash Algorithm) of an object.
>     OBJECT is either a string or a buffer.
>     Optional arguments BEG and END denote buffer positions for computing
>     the hash of a portion of OBJECT." (if (stringp object) (sha1-string
>     object) (save-excursion (set-buffer object) (sha1-region (or beg
>     (point-min)) (or end (point-max)))))), 4

You seem to have installed the old version of sha1.el(c) which
is provided by the FLIM package.  You can simply remove it or
replace it with the latest version.  Although the FLIM package
containing the new sha1.el module has not been released yet
unfortunately, you can get the CVS snapshot as the following
tarball:

ftp://ftp.jpl.org/pub/m17n/flim-1_14-200409270914.tar.gz

Another solution is to arrange the order of `load-path' in order
to prefer Gnus' sha1.el module than FLIM's one.  Here's an
example which can be put into the beginning of the ~/.emacs file.

(let ((gnus (locate-library "gnus")))
  (if gnus
      (progn
        (setq gnus (substring (file-name-directory gnus) 0 -1)
              load-path (cons gnus (delete (concat gnus "/")
                                           (delete gnus load-path)))))))

reply via email to

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