unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Still having problems with SMTP and Gnus
@ 2003-11-27  2:48 Dan Anderson
  2003-11-27 11:10 ` Simon Josefsson
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Anderson @ 2003-11-27  2:48 UTC (permalink / raw)



        I'm trying to  set up Gnus so that I can  send mail through my
SMTP server.   I can access the  server fine through  evolution, and I
just upgraded to  the newest CVS version of emacs --  fresh as of last
night.

My .gnus looks like:

,----
| (setq user-mail-address "dan@mathjunkies.com")
| (setq user-full-name "Dan Anderson")
| (setq message-user-organization "Mathjunkies.com")
| (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
| (add-to-list 'gnus-secondary-select-methods
|               '(nnml ""
| 		     (nnml-directory "/home/daniel/nnml")
| 		     (get-new-mail t)
| 		     (directory-files nnheader-directory-files-safe)))
| (setq send-mail-function 'smtpmail-send-it)
| (setq message-send-mail-function 'smtpmail-send-it)
| (setq smtpmail-smtp-server "mail.server.com")
|  (setq smtpmail-auth-credentials
|       '(("server.com" 25 "username" "password")))
| (setq smtpmail-debug-info t)
| (setq smtpmail-debug-verb t)
`----

And the trace of my SMTP session looks like:

,----
| 220 servername.com ESMTP Sendmail 8.11.6/8.11.6; Wed, 26 Nov 2003 20:42:08 -0600
| EHLO syr-24-59-76-83.twcny.rr.com
| 250-servername.com Hello my hostname [my ip], pleased to meet you
| 250-ENHANCEDSTATUSCODES
| 250-8BITMIME
| 250-SIZE
| 250-DSN
| 250-ONEX
| 250-ETRN
| 250-XUSR
| 250-AUTH LOGIN PLAIN
| 250 HELP
| ONEX
| 250 2.0.0 Only one transaction
| XUSR
| 250 2.0.0 Initial submission
| MAIL FROM:<from@server.com> SIZE=368
| 250 2.1.0 <from@server.com>... Sender ok
| RCPT TO:<to@server.com>
| 550 5.7.1 <to@server.com>... Relaying denied
| QUIT
| 221 2.0.0 servername.com closing connection
`----

What am I doing wrong?  I really want to use Gnus for SMTP mail.

Thanks in advance,

Dan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Still having problems with SMTP and Gnus
  2003-11-27  2:48 Still having problems with SMTP and Gnus Dan Anderson
@ 2003-11-27 11:10 ` Simon Josefsson
  2003-11-27 15:38   ` Rainer Volz
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Josefsson @ 2003-11-27 11:10 UTC (permalink / raw)


Dan Anderson <dan@mathjunkies.com> writes:

> | (setq smtpmail-smtp-server "mail.server.com")
> |  (setq smtpmail-auth-credentials
> |       '(("server.com" 25 "username" "password")))
              ^

Try adding "mail.".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Still having problems with SMTP and Gnus
  2003-11-27 11:10 ` Simon Josefsson
@ 2003-11-27 15:38   ` Rainer Volz
  0 siblings, 0 replies; 3+ messages in thread
From: Rainer Volz @ 2003-11-27 15:38 UTC (permalink / raw)


> Dan Anderson <dan@mathjunkies.com> writes:
> 
> > | (setq smtpmail-smtp-server "mail.server.com")
> > |  (setq smtpmail-auth-credentials
> > |       '(("server.com" 25 "username" "password")))
>               ^
> 
Something to try out quickly:

For me AUTH only began working when I entered 
(setq smtpmail-auth-credentials "/home/<user>/.authinfo")

and then in .authinfo have the line 
machine <complete server name> port 25 login <user name> password <password>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-27 15:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-27  2:48 Still having problems with SMTP and Gnus Dan Anderson
2003-11-27 11:10 ` Simon Josefsson
2003-11-27 15:38   ` Rainer Volz

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 read-only IMAP folder(s) and NNTP newsgroup(s).