delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/19/09:24:52

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-IronPort-AV: E=Sophos;i="4.27,509,1204520400"; d="scan'208";a="4165312"
Subject: Re: Cygwin Mail and Exchange Server
From: Reid Thompson <Reid DOT Thompson AT ateb DOT com>
Reply-To: Reid DOT Thompson AT ateb DOT com
To: Ronald Fischer <fischerr DOT external AT infineon DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <loom.20080519T122053-684@post.gmane.org>
References: <loom DOT 20080519T115448-317 AT post DOT gmane DOT org> <003e01c8b9aa$294907d0$2708a8c0 AT CAM DOT ARTIMI DOT COM> <loom DOT 20080519T122053-684 AT post DOT gmane DOT org>
Date: Mon, 19 May 2008 09:24:10 -0400
Message-Id: <1211203450.14533.4.camel@raker.ateb.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.23.3
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

I generally use mutt on the command line

ssmtp must still be configured and you need to answer YES to linking
sstmp to sendmail

$ mutt -x -s "the subject" user AT domain DOT com

$ mutt -x -s "the subject" -a "/path/to/file/to/attach"  user AT domain DOT com

$ (uuencode afile afile) | mutt -x -s "subject" user AT domain DOT com

etc,etc

see the mutt page on the web for more info.

I often use cygwin mutt to read my exchange mail via imap when other email clients aren't available.

reid

On Mon, 2008-05-19 at 12:28 +0000, Ronald Fischer wrote:
> Dave Korn <dave.korn <at> artimi.com> writes:
>  
> > > at a customer's site, I would like to be able to send email from
> > > bash scripts. The setup of the software is pretty standard: Usually
> > > mail is sent and read using Outlook, and there is an Exchange server
> > > lurking somewhere to do the job. What do I have to do in such an
> > > environment in order to be able to send mail from cygwin?
> > 
> >   You need to ask your admins for POP and SMTP access details of your
> > exchangeserver, 
> 
> I guess in my case (sending only) I just need SMTP. Or is it necessary
> that ssmtp.conf always contains POP too? And, AFIK, the access method
> to the exchange server is not POP, but IMAP...
> 
> > then you'd probably enter those details into your
> > /etc/ssmtp/ssmtp.conf (or equivalent depending what mailer you're using).
> 
> Is there a simpler command line utility for sending mail - I mean, 
> simpler than ssmtp -, which you could recommend?
>  
> > > I thought this is such a common setup that there must be somewhere a
> > > "howto" for this subject, but I searched the Cygwin FAQ, the Cygwin
> > > User Guide, and /usr/doc/cygwin without success. Isn't there a Cygwin
> > > utility which simply uses the settings in Outlook to send the mail?
> > 
> >   Nope.  It's not like Microsoft have documented how any of that stuff is
> > stored, after all.  
> > And since Cygwin is mostly ports of Linux stuff, and
> > Linux doesn't have any such things as outlook or exchange server, none of
> > the linux software that gets ported is written to even consider it.
> 
> Understandable...
> 
> Thanks a lot,
> 
> Ronald Fischer
> 
> 
> 
> --
> 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/
> 

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