public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: ralfconn <mentadent47@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/crontab - sending notification to a different user
Date: Sat, 31 Aug 2024 19:20:29 +0200	[thread overview]
Message-ID: <ba60ff22-a8cc-4ffc-82d1-b54fa820c934@yahoo.com> (raw)
In-Reply-To: <CAEVFJ_DwcnCaMXUSZjJfofjvG=yd=foTBrLE6H+ES+3z8yDEzw@mail.gmail.com>


Il 27/08/24 07:10, syscon edm ha scritto:
> In "/etc/crontab" I have:
> # for cronie
> 
> # Global variables
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=syscon8
> HOME=/
> 
> But when it run a cron-job, the email is still going to "root@gmail.com 
> <mailto:root@gmail.com>" instead of syscon8@gmail.com 
> <mailto:syscon8@gmail.com>
> 
> How to adjust the entry to the email notification will go to a specific 
> user.

I suppose you want email delivered through an external email server. I 
had to configure the MTA for that, nullmailer in my case, it's not 
cronie's job.

raffaele


      parent reply	other threads:[~2024-08-31 17:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-27  5:10 [gentoo-user] /etc/crontab - sending notification to a different user syscon edm
2024-08-27  7:05 ` Joost Roeleveld
2024-08-27 17:09   ` syscon edm
2024-08-27 20:14     ` J. Aho
2024-08-31 16:56       ` Michael
2024-08-31 19:11         ` syscon edm
2024-08-31 19:16           ` Michael
2024-08-31 19:34             ` syscon edm
2024-08-31 20:16               ` Michael
2024-08-31 20:56                 ` syscon edm
2024-09-01  9:23                   ` Michael
2024-09-03  2:00                     ` [gentoo-user] [SOLVED] " syscon edm
2024-08-31 17:20 ` ralfconn [this message]

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=ba60ff22-a8cc-4ffc-82d1-b54fa820c934@yahoo.com \
    --to=mentadent47@yahoo.com \
    --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