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] [SOLVED] /etc/crontab - sending notification to a different user
Date: Mon, 2 Sep 2024 20:00:21 -0600	[thread overview]
Message-ID: <CAEVFJ_A+eqrAjis_4RuuQ9RtSB=_wAjWZRAz_B=Mqhm9xuqDUA@mail.gmail.com> (raw)
In-Reply-To: <2954487.e9J7NaK4W3@rogueboard>

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

On Sun, Sep 1, 2024 at 3:24 AM Michael <confabulate@kintzios.com> wrote:

> On Saturday, 31 August 2024 21:56:59 BST syscon edm wrote:
> > In /etc/postfix/main.cf I only have:
> >
> > myorigin = gmail.com
> >
> > If I use:
> > myorigin = syscon8@gmail.com
> >
> > I get an error message;
> > Aug 31 14:28:02 i5 postfix/smtp[25841]: 1A31217E00EC: to=<root@syscon8@
> > gmail.com>,
>
> OK, I expect you'd need to set an alias instead.  Try:
>
> My cat /etc/mail/aliases
> # Basic system aliases -- these MUST be present.
> # Redirect mail for local recipients
> MAILER-DAEMON:      postmaster
> postmaster:         root
> root:               syscon8
>
> or try:
>
> root:               syscon8@gmail.com
>
>
> then run 'newaliases' each time to rebuild the database.  One of these
> aliases
> ought to work.
>
>
> > relay=smtp.gmail.com[142.250.99.109]:587, delay=0.54,
> > delays=0.01/0/0.5/0.03, dsn=5.1.3, status=bounced (host
> > smtp.gmail.com[142.250.99.109]
> > said: 553-5.1.3 The recipient address <root@syscon8@gmail.com> is not a
> > valid RFC 553-5.1.3 5321 address.
> >
> > my /etc/postfix/sender_canonical
> > /^root@gmail\.com$/ syscon8@gmail.com
>
> I don't think you should be using canonical - this will be rewriting
> addresses
> within the header *and* body of messages.
>
> Use an alias instead.
>

 Thank you folks for suggestions, but none of them worked.

What work is to put in the first line of: "crontab" file:
MAILTO=syscon8@gmail.com

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

  reply	other threads:[~2024-09-03  2:00 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                     ` syscon edm [this message]
2024-08-31 17:20 ` 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_A+eqrAjis_4RuuQ9RtSB=_wAjWZRAz_B=Mqhm9xuqDUA@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