info-gnus-english
[Top][All Lists]
Advanced

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

Re: smtpmail, starttls authentication


From: Adrian Lanz
Subject: Re: smtpmail, starttls authentication
Date: Wed, 23 Aug 2006 13:59:16 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (usg-unix-v)

On 23 Aug 2006, phillip.lord@newcastle.ac.uk wrote:

>>>>>> "PL" == Phillip Lord <phillip.lord@newcastle.ac.uk> writes:
>
>>>>>> "HQ" == Hadron Quark <hadronquark@gmail.com> writes:
>
> HQ> Possibly only gmail smtp related.
>
> HQ> Get latest GNUS from CVS. Google for it. Although I notice that
> HQ> I'm using 0.4. Hmm.
>
> HQ> You are already using 22.0.50 I see. Me too : debian snapshot.
>
> HQ> It should work. Here is my relevant .gnus.el :
>
> HQ> (setq message-send-mail-function 'smtpmail-send-it) (setq
> HQ> smtpmail-default-smtp-server "smtp.gmail.com") (setq
> HQ> smtpmail-smtp-server "smtp.gmail.com") (setq
> HQ> smtpmail-smtp-service 587)
>
> HQ> And google up fs-change-smtp : it includes the tls negotiation
> HQ> stuff too.
>
> PL> I hadn't realised that you had to set the port number separately
> PL> (it was already in smtpmail-auth-credentials). So, now gnus is
> PL> trying to use starttls (or so it tells me), but the system just
> PL> hangs on connection.
>
> PL> I'm trying to use cygwin gnutls with NT Emacs -- this work fine
> PL> for openssl and IMAP support.
> PL> >
> PL> Any more suggestions?
>
>
> So the practical upshot is that if I set neither
> smtpmail-auth-credentials nor smtpmail-starttls-credentials, then
> the I get a protocol failure, with the system demanding
> authentication. If, on the other hand, I set just auth-credentials
> then I get asked for a password. But then the system fails. Finally,
> if I set starttls-credentials, then the emacs appears to use
> starttls (based on the message buffer), but then hangs.
>
> Very painful!
>
> Phil


Hi Phillip

Uuups, cygwin under NT Emacs? This is, how I made things work (I
think, I posted a note on the cygwin list, a couple of months ago):

Under MS-Windows you may have to adapt virus checkers. My McAfee
VirsuScan engine prevents sending out mail messages on port 25 by
default. There is an exception list, where some common MUAs are
listed, but you have to add emacs.exe to allow sending out mail
messages from within emacs. Before fine-tuning your configuration, try
first by just deactivating the virus scanner.

Hope this helps, Adrian.




reply via email to

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