comp.emacs
[Top] [All Lists]

Re: configuration of gnus

Subject: Re: configuration of gnus
From: Daneel Yaitskov
Date: Fri, 01 Aug 2008 23:07:03 +0400
Newsgroups: comp.emacs


Niels Giesen wrote:
Daneel Yaitskov <rtfm.rtfm.rtfm@xxxxxxxxx> writes:

Hi,

Please, who uses the gnus for the gmail.com server, send me its
configuration.


Hi Daneel

I use (something like) this for IMAP + gmail + gnus:

;; not sure these are all necessary for gmail (at least smtpmail and
;; nnimap are):

(require 'pgg)                          ;encryption
(require 'bbdb)                         ;address book
(require 'smtpmail)                     ;sending
(require 'nnimap)                       ;imap
(require 'starttls)                     ;authentication

(setq gnus-secondary-select-methods
      '((nnimap "gmail"
                (nnimap-address "imap.gmail.com")
                (nnimap-server-port 993)
                (nnimap-authinfo-file "~/.gmailrc")
                (nnimap-stream ssl)))
      message-send-mail-function 'smtpmail-send-it
      send-mail-function 'smtpmail-send-it
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 587
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-auth-credentials '(("smtp.gmail.com" 587 "my.name@xxxxxxxxx" nil))
      smtpmail-local-domain "mylocaldomain.nl"
      user-mail-address "my.name@xxxxxxxxx"
      user-full-name "My Full Name")

Regards,
Niels


Thank for the configuration. But so far I cannot send a letter to usenet. I read that stmp.gmail.com doesn't work with the port 25 and emacs 22 doen't work only with the port 25. Who saies thurth? Now I use the thunderbird which uses the port 25 and all work right.

The configuration are used (file .gnus):
(require 'pgg)                          ;encryption
(require 'bbdb)                         ;address book
(require 'smtpmail)                     ;sending
(require 'nnimap)                       ;imap
(require 'starttls)                     ;authentication
(setq gnus-select-method '(nntp "nntp.aioe.org"))
(setq gnus-secondary-select-methods
      '((nnimap "gmail"
                (nnimap-address "imap.gmail.com")
                (nnimap-server-port 993)
                (nnimap-authinfo-file "~/.authinfo")
                (nnimap-stream ssl)))
      message-send-mail-function 'smtpmail-send-it
      send-mail-function 'smtpmail-send-it
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 25
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-starttls-credentials '(("smtp.gmail.com" 25 nil nil))
      smtpmail-auth-credentials
          '(("smtp.gmail.com" 25 "rtfm.rtfm.rtfm@xxxxxxxxx" nil))
      smtpmail-local-domain "rtfm.rtfm.rtfm@xxxxxxxxx"
      user-mail-address "rtfm.rtfm.rtfm@xxxxxxxxx"
      user-full-name "Daneel Yaitskov")

.authinfo:machine imap.gmail.com login rtfm.rtfm.rtfm@xxxxxxxxx password ******** port 993
While the my emacs gives:
Sending...
Sending via mail...
Loading mailalias...done
Opening STARTTLS connection to `smtp.gmail.com'...done
smtpmail-send-it: Sending failed; SMTP protocol error

They say emacs 23 works well, but it isn't accessable as an archive. I afraid that cvs will spend too many traffic because volume of data cannot be detected.

The configuration with port 587 gives same error.
Gnus asked me the smtp port, when I had sent a letter. I seem it is strange. Why did it ask me about it? These information is in the files!

May be I have not full set of program for this task. As far as I know, sending letters to usenet request emacs, gnus and gnutls.

*Message* buffer supplies too few inforamtion. Does any device exist to get more log information in emacs.

There are emacs 22.2.2, gnutls 1.6.1 in my computer. They was installed from the sources by me (configure && make && make install).

Daneel

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy