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: Lars Magne Ingebrigtsen
Subject: Re: Changing the default for `send-mail-function'
Date: Sun, 26 Jun 2011 21:09:27 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Chong Yidong <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?

> The mail server requires authenticated smtp, which is pretty common
> nowadays; for sendmail-send-it, I've got postfix set up for sasl auth.

smtpmail.el only supports PLAIN and CRAM-MD5 -- I didn't know that any
SMTP servers used SASL.  That should be easy enough to add, I think, but
I don't have access to any SMTP servers with SASL I can test with, which
makes things more difficult.

> I see that smtpmail is supposed to support authenticated smtp, but
> changing smtpmail-stream-type to `starttls' didn't work, either:
>
> Debugger entered--Lisp error: (error "No process")
>   signal(error ("No process"))
>   error("No process")
>   set-buffer-process-coding-system(raw-text-unix raw-text-unix)

Hm.  That's not a very nice error message.  :-)

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?

> It would be nice to get these issues ironed out if we're gonna be using
> smtpmail as the default.

Yes, definitely.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



reply via email to

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