Gnus development mailing list
 help / color / mirror / Atom feed
From: bromley@lavabit.com
To: ding@gnus.org
Subject: Gnus doesn't connect to my SMTP server
Date: Sun, 9 Dec 2012 08:29:57 -0500 (EST)	[thread overview]
Message-ID: <25030.77.109.139.26.1355059797.squirrel@lavabit.com> (raw)

Hello list.

I have two machines: A and B.

A is running Dovecot and Postfix.
B is running Gnus.

I can connect to A via IMAP to read messages, but I can't
reply. Something is wrong because the `From:' field shows the
`user@hostname' of B, but it should show my email address instead (for
instance, admin@example.com).

There was nothing related to SMTP in `*Messages*'. How can I tell Gnus
to connect to the SMTP server?

(I've seen the `i-did-not-set--mail-host-address--so-tickle-me'
warning, but I assume it's a different issue.)

I've never used SMTP. Is it connected with Gnus or Postfix? Is it
necessary to configure Postfix on B?

.gnus.el:

(setq gnus-select-method
	  '(nnimap "A"
			   (nnimap-address "machine")
			   (nnimap-stream ssl)))

(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-starttls-credentials '(("machine" 25 nil nil)))
(setq smtpmail-auth-credentials '(("machine" 25 "admin" nil)))
(setq smtpmail-default-smtp-server "machine")
(setq smtpmail-smtp-service 25)
(setq starttls-use-gnutls t)






             reply	other threads:[~2012-12-09 13:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-09 13:29 bromley [this message]
2012-12-09 18:17 ` Adam Sjøgren
2012-12-10 11:35   ` bromley

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=25030.77.109.139.26.1355059797.squirrel@lavabit.com \
    --to=bromley@lavabit.com \
    --cc=ding@gnus.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).