emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the default for `send-mail-function'


From: Chong Yidong
Subject: Re: Changing the default for `send-mail-function'
Date: Sun, 26 Jun 2011 15:50:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

>> Agreed, though personally I haven't been able to get smtpmail to work
>> for my university's mail server.  Using smtpmail-send-it with no other
>> customizations, attempting to send mail returns a "sending failed:
>> relaying denied" error.
>
> Is that the complete error message you get?

Backtrace below.  The issue is that the mail server is set up to reject
plain SMTP connections not originating from their own network.  External
connections are supposed to use authenticated SMTP.

Debugger entered--Lisp error: (error "Sending failed: 550 5.7.1 
<address@hidden>... Relaying denied.See http://www.yale.edu/email/norelay.html";)
  signal(error ("Sending failed: 550 5.7.1 <address@hidden>... Relaying 
denied.See http://www.yale.edu/email/norelay.html";))
  error("Sending failed: %s" "550 5.7.1 <address@hidden>... Relaying denied.See 
http://www.yale.edu/email/norelay.html";)
  smtpmail-send-it()
  message-smtpmail-send-it()
  message-send-mail(nil)
  message-send-via-mail(nil)
  message-send(nil)
  message-send-and-exit(nil)
  call-interactively(message-send-and-exit nil nil)

> Could you
>
> (setq smtpmail-debug-info t)
>
> and then look in the "*trace ...*" buffer after trying to send a
> message and see what's in there?

Here it is.

220 vm-emlprdomr-05.its.yale.edu ESMTP server ready at Sun, 26 Jun 2011 
15:46:37 -0400^M
250-vm-emlprdomr-05.its.yale.edu Hello c-71-192-165-84.hsd1.ct.comcast.net 
[71.192.165.84], pleased to meet you^M
250-ENHANCEDSTATUSCODES^M
250-PIPELINING^M
250-8BITMIME^M
250-SIZE 20971520^M
250-DSN^M
250-STARTTLS^M
250-DELIVERBY^M
250 HELP^M

Process smtpmail deleted



reply via email to

[Prev in Thread] Current Thread [Next in Thread]