This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron-mails


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]