X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Cygwin Mail and Exchange Server Date: Mon, 19 May 2008 07:31:38 -0700 Lines: 22 Message-ID: References: <003e01c8b9aa$294907d0$2708a8c0 AT CAM DOT ARTIMI DOT COM> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Ronald Fischer wrote: > Dave Korn 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... No need to ask the admins, you can lookup these settings directly in Outlook under Tools: Email accounts. It probably won't say anything about POP/IMAP but you can just do "telnet POP" or "telnet IMAP". If it responds with a server at the other end then you know it's up. I'd recommend IMAP and I usually just through that server name into Thunderbird and I'm good to go. You can enter the same settings into your /etc/ssmtp/ssmtp.conf file too.. -- Andrew DeFaria Always borrow money from pessimists. They don't expect to be paid back. -- 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/