Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 23 Nov 2001 12:16:58 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cron-mails
Message-ID: <20011123121658.F14975@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <5A95B0B37820D511AD1500B0D0AADF774DDE79@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@hueller-hille.com'  works, 
> but shows me the mail's coming from 'Strohhaecker@hueller-hille.com'
> which should be 'BStrohhaecker@hueller-hille.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@cygwin.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/

