help-gnu-emacs
[Top][All Lists]
Advanced

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

Gnus and Gmail


From: Lorenzo Isella
Subject: Gnus and Gmail
Date: Sat, 01 Mar 2008 18:01:16 +0100
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110)

Dear All,
I am fairly new to Emacs and I start only now to understand it is much more than an editor. I am thinking about using Gnus to manage my gmail account, but I'd like to add I am completely new to Gnus. I am a bit unsure about how to proceed. I am running Debian testing on my box
I followed the steps in the tutorial on
http://wired-news.blogspot.com/2008/01/configuration-of-gmail-on-gnusemacs_09.html
The tutorial is for Ubuntu, but it should probably work for Debian as well.
Now, these are my problems:
(1) After a some attempts, I managed to get Gnus connect to my mailbox. I can see for instance the last 30 mails in my inbox. But I do not see in Gnus the same folders (inbox, sent, etc...) I have on gmail, though I am using Imap.
What am I doing wrong?
(2) The other trouble is that when I try sending emails, I usually get an smtp error and I do not know how to handle this.
I did a bit of online research on the archive and I found:
http://lists.gnu.org/archive/html/help-gnu-emacs/2006-02/msg00145.html
which may have something to do with my problem. BTW, my internet provider is libero.it, but I am not sure where this should go. I paste below first the gnus.el file I am using and output file; I think they could be useful for understanding what is going on.

Many thanks

Lorenzo


;; Configuration of ~/.gnus.el

;; Customize the next three lines with your ISP information.
(load "starttls")
(load-library "smtpmail")

(setq user-mail-address "moonwatcher2001@gmail.com")
(setq user-full-name "Lorenzo Isella")

;; Configure incoming mail (IMAP)
(setq gnus-select-method '(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-authinfo-file "~/.imap-authinfo")
(nnimap-stream ssl)))

;; Configure outbound mail (SMTP)
(setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-default-smtp-server "smtp.gmail.com"
send-mail-function 'smtpmail-send-it
message-send-mail-function 'smtpmail-send-it
smtpmail-smtp-service 587
smtpmail-auth-credentials '(("smtp.gmail.com" 587 "username@gmail.com"
nil))
smtpmail-debug-info t
smtpmail-debug-verb t
)
(setq smtpmail-local-domain nil)
(setq gnus-permanently-visible-groups "gmail")
(executable-find starttls-program)



("emacs22-gtk")
Loading 00debian-vars...done
Loading /etc/emacs22/site-start.d/50auctex.el (source)...
Loading /usr/share/emacs/22.1/site-lisp/auctex.el (source)...
Loading /usr/share/emacs/22.1/site-lisp/tex-site.el (source)...done
Loading /usr/share/emacs/22.1/site-lisp/auctex.el (source)...done
Loading /usr/share/emacs/22.1/site-lisp/preview-latex.el (source)...done
Loading /etc/emacs22/site-start.d/50auctex.el (source)...done
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done
Loading /etc/emacs/site-start.d/50ess.el (source)...
Loading regexp-opt...done
Loading /etc/emacs/site-start.d/50ess.el (source)...done
Loading /etc/emacs/site-start.d/50maxima-emacs.el (source)...done
Loading /etc/emacs/site-start.d/50noweb.el (source)...done
Loading /etc/emacs/site-start.d/50nowebm.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs/site-start.d/50pymacs.el (source)...done
Loading /etc/emacs/site-start.d/50python-mode.el (source)...done
Loading /etc/emacs/site-start.d/60cltl.el (source)...done
Loading advice...done
For information about the GNU Project and its goals, type C-h C-p. [2 times]
Loading gnus...done
Loading gnus-start...done
Loading starttls...done
Loading smtpmail...done
Loading gnus-agent...done
imap: Connecting to imap.gmail.com...
imap: Opening SSL connection with `openssl s_client -quiet -ssl3 -connect %s:%p'...done
Waiting for response from imap.gmail.com...done
Parsing authinfo file `~/.imap-authinfo'.
imap: Authenticating to `imap.gmail.com' using `login'...
imap: Plaintext authentication...
imap: Authenticating to `imap.gmail.com' using `login'...done
Saving file /home/iselllo/.newsrc-dribble...
Wrote /home/iselllo/.newsrc-dribble
Gnus auto-save file exists.  Do you want to read it? (y or n)
Reading /home/iselllo/.newsrc.eld...
Reading active file from gmail via nnimap...
nnimap: Checking mailboxes...
Loading utf7...done
nnimap: Mailbox INBOX modified
nnimap: Checking mailboxes...done
nnimap: Listing subscribed mailboxes on gmail...done
No new newsgroups
Checking new news...done
No gnus is bad news
No more unread newsgroups
Making completion list...
Retrieving newsgroup: INBOX...
Loading disp-table...done
Loading gnus-ml...done
Loading byte-opt...done
nnimap: Updating info for INBOX...done
Fetching headers for INBOX...done
Generating summary...done
Loading gnus-bcklg...done
Loading gnus-async...done
Loading mail-extr...done
Loading smiley...done
Loading gnus-cite...done
byte-code: End of buffer [4 times]
Sending...
Sending via mail...
Loading mailalias...done
220 mx.google.com ESMTP f19sm20760382fka.18
250-mx.google.com at your service, [151.59.223.202]
250-SIZE 28311552
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
220 2.0.0 Ready to start TLS
250-mx.google.com at your service, [151.59.223.202]
250-SIZE 28311552
250-8BITMIME
250-AUTH LOGIN PLAIN
250 ENHANCEDSTATUSCODES
334 VXNlcm5hbWU6
334 UGFzc3dvcmQ6
535 5.7.1 Credentials Rejected f19sm20760382fka.18
221 2.0.0 mx.google.com closing connection f19sm20760382fka.18
smtpmail-send-it: Sending failed; SMTP protocol error
byte-code: Beginning of buffer [3 times]
byte-code: Beginning of buffer





reply via email to

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