Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 23 Nov 2001 12:16:58 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cron-mails Message-ID: <20011123121658.F14975@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <5A95B0B37820D511AD1500B0D0AADF774DDE79 AT lbsvnt4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5A95B0B37820D511AD1500B0D0AADF774DDE79@lbsvnt4>; from BStrohhaecker@Hueller-Hille.com on Fri, Nov 23, 2001 at 11:53:31AM +0100 On Fri, Nov 23, 2001 at 11:53:31AM +0100, Strohhaecker, Bernd wrote: > I've installed cron at my win NT4.0, SP 5, german. > > Cron itself works fine, but eMails send by cron do not arrive in my mailbox. > I assume my problem is that my domain-name is different from my mail-account > name. > > I tried several settings in /etc/ssmtp/ssmtp.conf, but none worked. > > As user 'strohhaecker' in domain 'ldom02.hueller-hille.com', > my mailbox is on the exchange server lbsvnt4.hueller-hille.com, > and my mailbox-name is bstrohhaecker. > > 'cat anymail | /usr/sbin/ssmtp bstrohhaecker AT hueller-hille DOT com' works, > but shows me the mail's coming from 'Strohhaecker AT hueller-hille DOT com' > which should be 'BStrohhaecker AT hueller-hille DOT com'. > > My ssmtp.conf settings are: > > root=postmaster > mailhub=lbsvnt4.hueller-hille.com:25 > rewriteDomain=hueller-hille.com > hostname=lbwsnt358.hueller-hille.com > #FromLineOverride=YES > > What do I miss ? cron send to your username. Did you try setting MAILTO= in your crontab? See man 5 crontab. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/