Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #160574

Re: How to configure cron (and pam?) to allow mail from cron?

From Kynn Jones <kynnjo@gmail.com>
Newsgroups linux.debian.user
Subject Re: How to configure cron (and pam?) to allow mail from cron?
Date 2015-11-15 03:30 +0100
Message-ID <quVeN-3MW-15@gated-at.bofh.it> (permalink)
References <quRXA-1zA-13@gated-at.bofh.it> <quUsp-3gM-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Nov 14, 2015 at 8:36 PM, Gene Heskett <gheskett@shentel.net> wrote:
> On Saturday 14 November 2015 17:58:59 Kynn Jones wrote:
>
>> I'm trying to set up a `cron` job that will send me mail for some
>> outputs.
>>
>> In my `crontab` I have the `MAILTO` variable set to my email address,
>> as well as the directives
>>
>> * * * * * /bin/date >> /tmp/debug_cron
>> * * * * * /bin/date >&2
> On the machine, MAILTO: is not normally to your email address, but
> usually is username@localhost.

Oh, I see.  That makes cron's mail feature significantly less
useful/convenient than I thought.

Thanks!

kj

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to configure cron (and pam?) to allow mail from cron? Kynn Jones <kynnjo@gmail.com> - 2015-11-15 00:00 +0100
  Re: How to configure cron (and pam?) to allow mail from cron? Gene Heskett <gheskett@shentel.net> - 2015-11-15 02:40 +0100
    Re: How to configure cron (and pam?) to allow mail from cron? Kynn Jones <kynnjo@gmail.com> - 2015-11-15 03:30 +0100
      Re: How to configure cron (and pam?) to allow mail from cron? Gene Heskett <gheskett@shentel.net> - 2015-11-15 04:10 +0100
      Re: How to configure cron (and pam?) to allow mail from cron? David Wright <deblis@lionunicorn.co.uk> - 2015-11-17 16:10 +0100
        Re: How to configure cron (and pam?) to allow mail from cron? Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-17 19:10 +0100
          Re: How to configure cron (and pam?) to allow mail from cron? <tomas@tuxteam.de> - 2015-11-17 19:20 +0100
            Re: How to configure cron (and pam?) to allow mail from cron? Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-18 10:40 +0100

csiph-web