I'm just wondering, if any of the poeple who were having this problem
sending mail using Gmail's SMTP server...
530 5.7.0 Must issue a STARTTLS command first o24sm838057ugd
...(and wrote to this list about it) now have it working?
I seem to be doing everything I'm supposed to, but still the problem
persists. Grrrr...
Is anyone really _sending_ email using Gnus and Gmail? If so, what
clinched it for you?
Sebastian
No Gnus v0.7
Emacs 22.1.1
See SET-SMTP-SSL in http://www.emacswiki.org/cgi-bin/emacs-en/MultipleSMTPAccounts
(That configuration works fine with me; even with 7 accounts and 2 of
them belongs to gmail.) Make sure you configured necessary variables
appropriately and have a suitable STARTTLS-GNUTLS-PROGRAM installed.
Regards.
Hi Volkan,
Thank you for your help. I thought I gnutls-cli was installed... but it
wasn't!
I can now send email using Gmail's SMTP server :-)
However, another problem now presents itself!
I've been using fetchmail to retreive my email from Gmail quite happily
for a couple of years now, but I've just noticed that mail I send using
Gmail's SMTP servers appears in my Inbox, (in Gmail's website), but is
not available for download using POP3 (i.e., fetchmail)!
How do you retrieve your email from Gmail?
Sebastian
P.S. I've been doing some research and have every intention of meeting
with you and Muart soon :-)
I don't have an idea about that. (By the way, neither fetched messages
appear as "read" in Gmail's web interface.) It can probably be solved
via IMAP. I use
(setq gnus-message-archive-group "nnml:sent")
to archive sent message in gnus. To also archive messages sent via
Gmail's web interface, you'll probably need IMAP again.
Regards.
Thanks again Volkan. It's a bug at Gmail's end, nothing else can
explain it.
I had this problem before... it has to do with their POP3 options.
There are three:
1. "Enable POP3 for _all_ mail (even mail that's already been downloaded)"
[by which they mean 'archived', I believe]
2. "Enable POP3 for mail that arrived from now on.
3. Disable POP3.
Gmail's POP3 servers get 'stuck' sometimes and you have to toggle the
first two options to get them going... at least that's what I hope it
is. I'll know more soon.
Sebastian
> Is anyone really _sending_ email using Gnus and Gmail?
Yup. Here's the relevant part of ~/.gnus:
,----[~/.gnus]
| (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 "~/.authinfo")
`----
I have a line in .authinfo that looks like this:
,----[~/.authinfo]
| machine smtp.gmail.com login hob...@gmail.com password ********
`----
Ted
--
Edward O'Connor
hob...@gmail.com
Ense petit placidam sub libertate quietem.
Ted> Sebastian Tennant wrote:
>> Is anyone really _sending_ email using Gnus and Gmail?
Ted> Yup. Here's the relevant part of ~/.gnus:
...
Ted> I have a line in .authinfo that looks like this:
...
I have problems sending mails from at home but not from university.
Now i tried to copy your (snipped) settings. Again it works from
university.
Another thing I notices was "Make sure you configured necessary
variables appropriately and have a suitable STARTTLS-GNUTLS-PROGRAM
installed" How do I check if I have such a program and if I need it?
--
Associate Prof. Ph.D Torben Knudsen Phone : (+45) 9635 8670
Section of Automation and Control, Mobile : (+45) 2787 9826
Department of Electronic Systems, Email : t...@es.aau.dk
Aalborg University
Fredrik Bajersvej 7
DK-9220 Aalborg Ø
Denmark
Interesting that it works without defining the TLS program. My setup
(working at last) includes this line:
(setq starttls-gnutls-program "gnutls-cli")
> Ted> I have a line in .authinfo that looks like this:
Hmm, that's perhaps better that putting it in your .gnus
> Another thing I notices was "Make sure you configured necessary
> variables appropriately and have a suitable STARTTLS-GNUTLS-PROGRAM
> installed" How do I check if I have such a program and if I need it?
The Debian package is called gnutls-bin.
$ dpkg -l | grep gnutls
should tell you if you have it or not, (provided you run Debian of
course).
Sebastian
Sebastian> Quoth Torben Knudsen <t...@es.aau.dk>:
>>>>>>> "Ted" == Edward O'Connor <hob...@gmail.com> writes:
>>
Ted> Sebastian Tennant wrote:
>>>> Is anyone really _sending_ email using Gnus and Gmail?
>>
Ted> Yup. Here's the relevant part of ~/.gnus:
Sebastian> Interesting that it works without defining the TLS program.
Sebastian> My setup (working at last) includes this line:
Sebastian> (setq starttls-gnutls-program "gnutls-cli")
I had this line but now it is commented out
Ted> I have a line in .authinfo that looks like this:
Sebastian> Hmm, that's perhaps better that putting it in your .gnus
>> Another thing I notices was "Make sure you configured necessary
>> variables appropriately and have a suitable STARTTLS-GNUTLS-PROGRAM
>> installed" How do I check if I have such a program and if I need
>> it?
Sebastian> The Debian package is called gnutls-bin.
Sebastian> $ dpkg -l | grep gnutls
Sebastian> should tell you if you have it or not, (provided you run
Sebastian> Debian of course).
It says
tk@tk-laptop:~$ dpkg -l | grep gnutls
ii libgnutls13 1.4.4-3build1
the GNU TLS library - runtime library
but there is no executable program called gnutls
also there is a package gnutls-bin which I haven't got. Should I
install it?
Yes, absolutely, install it. That's the package you need.
My tip was supposed to read:
$ dpkg -l | grep gnutls-bin
Doh! Sorry. You could be up and running by now!
Sebastian
$ which gnutls-cli
/usr/bin/gnutls-cli
$ file /usr/bin/gnutls-cli
/usr/bin/gnutls-cli: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs),
stripped
Sebastian