X-Spam-Check-By: sourceware.org Message-ID: <45ACB8FC.7040908@harrison.net> Date: Tue, 16 Jan 2007 07:37:32 -0400 From: "Jeremy T. Harrison" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: CygWin AT cygwin DOT com CC: r DOT berber AT computer DOT org Subject: RE: email and gmail Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com René Berber wrote: >Jeremy T. Harrison wrote: >> I am trying, fruitlessly, to get the email program to work with my gmail >> account. I have ssmtp working fine (I did need to do some patching and >> recompile ssmtp). The email program, on the other hand, is just >> slightly beyond me. :-( >> >> My debugging indicates that email is not passing the parameters >> (username/password) to ssmtp to initiate the TLS/SSL connection. This >> from the following error message: >> email: FATAL: Smtp error: 530 5.7.0 Must issue a STARTTLS command first >> f16sm6837732qba > >You have everything mixed up. > >Where did you saw that email can do TLS? It doesn't, the -u/-i parameters are >for doing SMTP AUTH which is a different thing. > >> Are there any builds of email available that pass parameters correctly >> to ssmtp? I indicate SMTP server in the email-config dialog -- is that >> wrong? > >Doesn't matter, you can use -r , and even change the port, nothing >will make email use SSL (which is needed for TLS)-- the library is not linked. From my perspective, email doesn't need to do TLS, that is left to ssmtp. The only thing email should be doing is passing the various commands/directives from the command line to ssmtp. I know that ssmtp can/does do TLS - I fixed that myself, and it works fine (from the command line). Relinking the TLS library with email, occurs to be redundant to me. Nevertheless, if that is necessary, has anyone made a patch available to do that? My objective is to get a command-line e-mail; if there are alternates to email, please send me some suggestions. Thanks! Jeremy Harrison -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/