delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/21/16:55:49

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Joel Rubin <jmrubin AT nerdshack DOT com>
Subject: Email with an AuthLogin SMTP server
Date: Wed, 21 Feb 2007 16:43:01 -0500
Lines: 35
Message-ID: <c4ept218u5pe0pu60dhrgpmnhjbp91a3f7@entropy.org>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

~/email.conf

MY_NAME  = 'Joel Rubin'
MY_EMAIL = 'jmrubin AT nerdshack DOT com'
SMTP_AUTH = 'LOGIN'
SMTP_SERVER = 'mail.nerdshack.com'
SMTP_PORT = '25'
SMTP_AUTH_USER = 'jmrubin' -
SMTP_AUTH_PASS = '[censored]'
============================

After I give the command

email -s "Test" myotheraccount AT wherever DOT net

I get the following error:

Communicating with SMTP server...
email: FATAL: Smtp error: 334 UGFzc3dvcmQ6

Caught an ERROR, Shutting down...

===========================

The "error" is just the mail server asking me for the encrypted form
of my user name after I give the AUTH LOGIN command.

UGFzc3dvcmQ = "Username:" in base 64.

It then asks for "Password:" the same way.

I can login to the SMTP server with telnet.

Why does this program die on a 334 message? 334 is a request for more
info, not an error.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019