Cygwin Mail and Exchange Server

Dave Korn
Mon May 19 13:24:00 GMT 2008

Ronald Fischer wrote on 19 May 2008 13:28:

> Dave Korn <dave.korn <at>> 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...

  Sorry for the lack of clarity; yes, if all you're doing is sending, all
you need is an SMTP server.

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

  ssmtp is the only one I've used, I'll leave it to the list for their

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list