public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Higgins <linux@evolone.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cron and ssmtp
Date: Tue, 22 Jan 2008 08:19:15 -0800	[thread overview]
Message-ID: <20080122081915.442a53cb@lbg2.evolone.org> (raw)
In-Reply-To: <20080122154805.189f89f2@zaphod.digimed.co.uk>

On Tue, 22 Jan 2008 15:48:05 +0000
Neil Bothwick <neil@digimed.co.uk> wrote:

> On Tue, 22 Jan 2008 07:36:46 -0800, Michael Higgins wrote:
> 
> > Is anyone using cron (vixie-cron) without a real MTA and getting
> > emails? The test is simple, just "echo hello world". I expect this
> > to come as an email to the address I put in MAILTO="". But it
> > doesn't.
> 
> It works on several boxes here. Is ssmtp working correctly? Try
> 
> echo -e "To: Me\nSubject: ssmtp test\n\nssmtp test" | /usr/sbin/ssmtp
> youraddress 
> 
> If it fails, check /etc/ssmtp/ssmtp.conf, particularly the mailhub
> setting.

No fail. Worked like a charm...

I edit my crontab like sudo crontab -u mykhyggz -e

At the top, is MAILTO="email@isp.com"

My user belongs to cron group: groups
wheel cron users mykhyggz

Cron is running: top bn1|grep cron
 5068 root      18   0  3072  692  552 S  0.0  0.7   0:00.00 cron

15        08      *              *       *            echo hello world

should have sent me an email with 'hello world' in the body at 8:15, or
so I believe, but didn't.

What else can I check?

Cheers,

-- 
 |\  /|        |   |          ~ ~  
 | \/ |        |---|          `|` ?
 |    |ichael  |   |iggins    \^ /
 michael.higgins[at]evolone[dot]org
-- 
gentoo-user@lists.gentoo.org mailing list



  parent reply	other threads:[~2008-01-22 16:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-22 15:36 [gentoo-user] cron and ssmtp Michael Higgins
2008-01-22 15:48 ` Neil Bothwick
2008-01-22 16:18   ` Ricardo Saffi Marques
2008-01-22 16:18     ` Ricardo Saffi Marques
2008-01-22 16:19   ` Michael Higgins [this message]
2008-01-22 16:32     ` Greg Bowser
2008-01-22 16:34     ` [gentoo-user] " Guilherme Amadio
2008-01-22 16:40       ` Ricardo Saffi Marques
2008-01-22 16:50         ` Ricardo Saffi Marques
2008-01-22 16:37     ` [gentoo-user] " Ricardo Saffi Marques
2008-01-22 21:37       ` Jan Seeger
2008-01-23  0:52         ` Michael Higgins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080122081915.442a53cb@lbg2.evolone.org \
    --to=linux@evolone.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox