delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/12/14:26:17

X-Spam-Check-By: sourceware.org
Message-ID: <441475CC.1030906@cygwin.com>
Date: Sun, 12 Mar 2006 14:26:04 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051223 Fedora/1.5-0.2.fc4.remi Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cron + ssmtp - Please help this newbie resolve this
References: <20060312143205 DOT 82634 DOT qmail AT web51015 DOT mail DOT yahoo DOT com>
In-Reply-To: <20060312143205.82634.qmail@web51015.mail.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Suresh Kumar wrote:
> Background: 
> =========
> I am a complete newbie in linux but have been using
> bash for some scripting.
>  
> Functionality trying to achieve
> ======================
> I am trying to run a cron scheduler to run a job and
> to automatically email me!
>  
> Problems
> =======
> The cron job executes perfectly but the email
> functionality does'nt work.
>  
> Here is my config
> =============
> /etc/ssmtp/ssmtp.conf
> =================
> mailhub=smtp.sbcglobal.yahoo.com
> AuthUser=username
> AuthPass=mypassword
> FromLineOverride=YES
> hostname=xxxx AT sbcglobal,net
> rewriteDomain=sbcglobal.yahoo.com
> root=xxx AT mydomain DOT com
>  
> usr/sbin/sendmail is a symbolic link to
> /usr/sbin/ssmtp
>  
> Symtoms
> =======
> 1. dead.letter found in home/owner
> 2. /var/log/cron.log has sendmail: 530 authentication
> required...message
>  
> Can somebody help me to fix this problem. I am
> assuming symbolic link to ssmtp for sendmail is fine!
>  
> Help please

Many repeated email messages to the list on the same subject (or even
with exactly the same content like yours!) is not likely to elicit
help.  Usually, it tends to make people less likely to respond.

I'll point you to the email archives for this issue. Generally speaking,
the results you're seeing means you haven't configured things properly.
There's plenty of discussion of cron/mail issues in the archives so it
would be best to check there and see if some of the advice offered
already is helpful.  As a starting point, I'd suggest that you make
sure that you can send email via sstmp from the command line.  Without
this ability, it won't work any better through cron.



-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019