From: Marius Hofert <marius.hofert@math.ethz.ch>
To: <tassilo@member.fsf.org>
Cc: Emacs help <help-gnu-emacs@gnu.org>
Subject: Re: Gnus: Sending email from an IMAP account: "Process smtpmail not running"
Date: Mon, 21 Nov 2011 00:22:37 +0100 [thread overview]
Message-ID: <DF383D34-959B-4ACA-8B60-293F86829E22@math.ethz.ch> (raw)
In-Reply-To: <5E633651-ECAC-431B-9431-E37BD6766ABC@math.ethz.ch>
Okay, I finally figured something out:
1) I needed STARTTLS. This I could not find for Mac OS X, but it's contained in gnutls. I wanted to install the latest version, but that failed due to some missing file libnette... . I then used macports to install gnutls -- not a very new version, but it did the job.
2) .gnus.el [so that was correct]:
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'message-smtpmail-send-it
smtpmail-smtp-server "smtp.gmail.com")
3) When trying to send an email from my gmail account to my other account, I was asked for the user name and password. Apparently the info in .authinfo was not correct. Indeed, I had the full gmail address instead of just the login. So the correct version is (with the usual replacements):
machine mail.uni.edu login mylogin port imaps password ...
machine imap.googlemail.com login my.name port imaps password ...
machine smtp.gmail.com login my.name port smtp password ...
=> Note the different port for smtp.gmail.com.
4) I also tried sending emails from my other (non-gmail) account and it worked.
Remaining questions I have (since I'm not fully understanding what I am doing) are:
1) Are there any disadvantages in using smtp.gmail.com for sending emails from my non-gmail account?
As far as I understood, gmail then takes care of saving sent mails [which would actually be good since the other account may change every once in a while]
2) How could I set up a second smtp server? Can I just add a line like
smtpmail-smtp-server "mail.uni.edu" under 2) ?
3) What's the best way to get notified of new mail? I found:
3.1) gnus-notify.el
3.2) GnusBiff (see http://www.emacswiki.org/emacs/GnusBiff) set up via growl (see http://stackoverflow.com/questions/1053245/new-mail-notifications-in-gnus-for-emacs)
Is there also a way to get notified via a sound?
Cheers,
Marius
On 2011-11-20, at 21:32 , Marius Hofert wrote:
> Dear Tassilo,
>
> many thanks for helping :-)
>
> I added the line to .authinfo and the three lines to .gnus.el. I then tried to send emails from both my accounts and obtained (in both cases):
> "Sending failed: 530 5.7.0 Must issue a STARTTLS command first. l18sm13222866fab.9"
>
> I then tried it with...
>
> (setq send-mail-function 'smtpmail-send-it
> message-send-mail-function 'message-smtpmail-send-it
> smtpmail-smtp-server "mail.uni.edu")
>
> ... but obtained again "Process smtpmail not running".
>
> Cheers,
>
> Marius
>
>
>
>
next prev parent reply other threads:[~2011-11-20 23:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-20 20:32 Gnus: Sending email from an IMAP account: "Process smtpmail not running" Marius Hofert
2011-11-20 23:22 ` Marius Hofert [this message]
2011-11-21 8:33 ` Tassilo Horn
-- strict thread matches above, loose matches on Subject: below --
2011-11-20 19:26 Marius Hofert
2011-11-20 19:56 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DF383D34-959B-4ACA-8B60-293F86829E22@math.ethz.ch \
--to=marius.hofert@math.ethz.ch \
--cc=help-gnu-emacs@gnu.org \
--cc=tassilo@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.