public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: syscon edm <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/crontab - sending notification to a different user
Date: Sat, 31 Aug 2024 13:34:49 -0600	[thread overview]
Message-ID: <CAEVFJ_BLnYEgCeGfeOn=azsbdcLwgqw37W9+8J70jM-kHZwtSQ@mail.gmail.com> (raw)
In-Reply-To: <1872482.atdPhlSkOF@rogueboard>

[-- Attachment #1: Type: text/plain, Size: 2228 bytes --]

Sorry, the cron entry should be:
55 12 * * * mv /var/spool/asterisk/monitor/* /home/thelma/mon/
1-5 is Monday to Friday

mail.log:

Aug 31 13:24:01 i5 postfix/qmgr[32301]: 0880F17E00EB: from=<
syscon8@gmail.com>, size=699, nrcpt=1 (queue active)
Aug 31 13:24:02 i5 postfix/smtp[9110]: 0880F17E00EB: to=<root@gmail.com>,
orig_to=<root>, relay=smtp.gmail.com[142.250.99.108]:587, delay=1.3,
delays=0.02/0.01/0.55/0.68, dsn=2.0.0, status=sent (250 2.0.0 OK
 1725132231 98e67ed59e1d1-2d85b0fdf44sm6088797a91.6 - gsmtp)
Aug 31 13:24:02 i5 postfix/qmgr[32301]: 0880F17E00EB: removed

Gmail is accepting the mail but it is sending to "root" instead of "syscon8"

My cat /etc/mail/aliases
# Basic system aliases -- these MUST be present.
MAILER-DAEMON:      postmaster
postmaster:         root

# General redirections for pseudo accounts.
adm:                root
bin:                root
daemon:             root
exim:               root
lp:                 root
mail:               root
named:              root
nobody:             root
postfix:            root

# Well-known aliases -- these should be filled in!
root:   syscon8@gmail.com
fd:   syscon8@gmail.com
# operator:

# Standard RFC2142 aliases
abuse:              postmaster
ftp:                root
hostmaster:         root
news:               usenet
noc:                root
security:           root
usenet:             root
uucp:               root
webmaster:          root
www:                webmaster


On Sat, Aug 31, 2024 at 1:17 PM Michael <confabulate@kintzios.com> wrote:

> On Saturday, 31 August 2024 20:11:34 BST syscon edm wrote:
> > >> MAILTO="syscon8@gmail.com"
> >
> > MAILTO="syscon8@gmail.com"
> > MAILTO='syscon8@gmail.com'
> > MAILTO=syscon8
> >
> > I've tried single quote, double quotes, but it doesn't work; now even
> > without quotes I don't get email from cronie
> > After every change I restart "/etc/init.d/cronie restart
> >
> > My simple cron entry:
> > 55 12 * * 1-5 mv /var/spool/asterisk/monitor/* /home/thelma/mon/
> >
> > I should receive email from cron
>
> What errors do you get from your MTA in your logs?  Increase verbosity if
> you
> need to get more info.

[-- Attachment #2: Type: text/html, Size: 3354 bytes --]

  reply	other threads:[~2024-08-31 19:35 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 [this message]
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 ` [gentoo-user] " ralfconn

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='CAEVFJ_BLnYEgCeGfeOn=azsbdcLwgqw37W9+8J70jM-kHZwtSQ@mail.gmail.com' \
    --to=syscon780@gmail.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