Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Martin <xtd8865@gmail.com>
To: info-gnus-english@gnu.org
Subject: a few questions about the initial setup of gnus
Date: Sat, 06 Mar 2010 02:50:38 +0000	[thread overview]
Message-ID: <jpjkn.278990$UQ6.2332@newsfe04.ams2> (raw)

1. what do I need to add to .emacs to send email from my gmail account.
At the moment, if I try to send something, it shouws my username and my
hostname in the From: field (instead of username and gmail.com
I've got my ~/.authinfo in place


that's the relevant bit of my .emacs


(setq gnus-select-method '(nntp "news.virginmedia.com"))
(setq gnus-secondary-select-method '(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-stream ssl)))


(setq message-send-mail-function 'smtpmail-send-it
    smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
    smtpmail-auth-credentials '(("smtp.gmail.com" 587
"myusername@gmail.com" nil))
    smtpmail-default-smtp-server "smtp.gmail.com"
    smtpmail-smtp-server "smtp.gmail.com"
    smtpmail-smtp-service 587
    smtpmail-local-domain "yourcompany.com")




2. How can I subscribe to particular groups?
3. Can I remove the line about local-domain?

thank you very much in advance

-- 
regards

Martin

             reply	other threads:[~2010-03-06  2:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-06  2:50 Martin [this message]
2010-03-06 10:57 ` .Martin.
2010-03-06 11:31   ` Adam Sjøgren
2010-03-06 13:01     ` .Martin.
2010-03-07 18:01       ` .Martin.
2010-03-07 18:08         ` Adam Sjøgren
2010-03-07 18:20           ` .Martin.
2010-03-07 18:23             ` Adam Sjøgren
2010-03-07 18:32               ` .Martin.

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='jpjkn.278990$UQ6.2332@newsfe04.ams2' \
    --to=xtd8865@gmail.com \
    --cc=info-gnus-english@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).