From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A52C3158066 for ; Tue, 3 Sep 2024 02:00:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2231BE2A27; Tue, 3 Sep 2024 02:00:34 +0000 (UTC) Received: from mail-vs1-xe34.google.com (mail-vs1-xe34.google.com [IPv6:2607:f8b0:4864:20::e34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D43D0E2A1C for ; Tue, 3 Sep 2024 02:00:33 +0000 (UTC) Received: by mail-vs1-xe34.google.com with SMTP id ada2fe7eead31-498d14e7965so2495388137.0 for ; Mon, 02 Sep 2024 19:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725328833; x=1725933633; darn=lists.gentoo.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=qrncq7Oeqtt0mNoBiQiLDJ4WIkAEV15dWGUAchXWLU8=; b=W+JZkaskuomssFzchvnj1oVrCKWJTiLMrd3u76Dg3kqEHrOY3zBsV3BQirBLMfBYlb Dq4g9OgwCbZOENIpB0H5I8IEPQdZB8BzuAqHBeqf/0b1EUzc2OX0P7zcvgYuXzAjGUcO ZORw9TiZlAQqZ/ssaRsGOdWCrTa+NjNlle9EIHWmiKNNRN2fePQR+XxFmRSmW9PpbVfT Hfki1gQv+Gt7QI51b3o9ZzCcCVQByCeQ2/XXxRXFb/ideX7CeXLUu48/sXfow969CVXm KWDw7XMVbxrzIewcy/WQngd6F6ZE3cHM6rsoaT7m2va4XSlILUxgBMYNrvRehTaHBFlu sY9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725328833; x=1725933633; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qrncq7Oeqtt0mNoBiQiLDJ4WIkAEV15dWGUAchXWLU8=; b=DMm1rOTGJoPVUVw5mvqrp3yBB0hMfE/7jFQa6F1J6sczqck2xLav57V9bhBuNAgSqq BM0ng/IkqqaQTzeN/xUuGzfeqZURMJZtXEAbKpjQ+CJ0Jy8IF5DSpyVkNIX/lfUfgsDg po4Cwsr1RasoYz3EC7GYPIpJWnChcKT/lOBR88NETZRyH2LUjs/6B6QCzn3fwDtb+Zbb NX/viymLgOeGFc0mG231fubaPVFmnan1uKL5n714DIxsLYwYj1N98Rlf0VKFn93rnns2 Ss+ZwoafWL9uIv+LRZZiOQb22QFOkCukrAYjt0LQYw3Ovht4kHc8NhlC2o21rERlrVfF Nr+w== X-Gm-Message-State: AOJu0YzNEQWnSgM1PU/bHF6tgbIdeOhdhZdacTzk/8HhhdDtqDl87DY6 WCIpK6HQVU5mCfjt/BnIaLeXUjhrMgv3IaO6FBjITsFLZv+OiJhzo/yoxZfdgHirym4L2/5E/hq Hn16TFfoyaKM7RkX6AtcLbz4qg2XqpnEB X-Google-Smtp-Source: AGHT+IH9uyDNkFRjGNHG5jqaMJPi29zWxtEbNUkolkNCyGN47vfDDPiRoKq9XeJ8pHz8mScQ3D7r8JglKT2xV9ExL50= X-Received: by 2002:a05:6102:32d5:b0:497:7ba6:6bc with SMTP id ada2fe7eead31-49a5cd2b7a1mr11534211137.12.1725328832560; Mon, 02 Sep 2024 19:00:32 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <5499518.Sb9uPGUboI@rogueboard> <2954487.e9J7NaK4W3@rogueboard> In-Reply-To: <2954487.e9J7NaK4W3@rogueboard> From: syscon edm Date: Mon, 2 Sep 2024 20:00:21 -0600 Message-ID: Subject: Re: [gentoo-user] [SOLVED] /etc/crontab - sending notification to a different user To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="0000000000002f845e06212d6c78" X-Archives-Salt: e70c5b31-6056-41ac-b2f3-3eba9f9ef3d7 X-Archives-Hash: 2d0fc09aedd3063261230c2ca0579dce --0000000000002f845e06212d6c78 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Sep 1, 2024 at 3:24=E2=80=AFAM Michael w= rote: > On Saturday, 31 August 2024 21:56:59 BST syscon edm wrote: > > In /etc/postfix/main.cf I only have: > > > > myorigin =3D gmail.com > > > > If I use: > > myorigin =3D syscon8@gmail.com > > > > I get an error message; > > Aug 31 14:28:02 i5 postfix/smtp[25841]: 1A31217E00EC: to=3D > 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=3Dsmtp.gmail.com[142.250.99.109]:587, delay=3D0.54, > > delays=3D0.01/0/0.5/0.03, dsn=3D5.1.3, status=3Dbounced (host > > smtp.gmail.com[142.250.99.109] > > said: 553-5.1.3 The recipient address 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=3Dsyscon8@gmail.com --0000000000002f845e06212d6c78 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Sep 1, 2024 at 3:24=E2=80=AFAM 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 =3D gmail.com
>
> If I use:
> myorigin =3D sy= scon8@gmail.com
>
> I get an error message;
> Aug 31 14:28:02 i5 postfix/smtp[25841]: 1A31217E00EC: to=3D<root@sy= scon8@
> gmai= l.com>,

OK, I expect you'd need to set an alias instead.=C2=A0 Try:

My cat /etc/mail/aliases
# Basic system aliases -- these MUST be present.
# Redirect mail for local recipients
MAILER-DAEMON:=C2=A0 =C2=A0 =C2=A0 postmaster
postmaster:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0root
root:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0syscon8

or try:

root:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0syscon8@gmail.com


then run 'newaliases' each time to rebuild the database.=C2=A0 One = of these aliases
ought to work.


> relay=3Dsmtp.gmail.com[142.250.99.109]:587, delay=3D0.54,
> delays=3D0.01/0/0.5/0.03, dsn=3D5.1.3, status=3Dbounced (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 ad= dresses
within the header *and* body of messages.

Use an alias instead.
=C2=A0
=C2=A0Thank you= folks for suggestions, but none of them worked.

What work is to p= ut in the first line of: "crontab" file:
MAILTO=3Dsyscon8@gmail.com

--0000000000002f845e06212d6c78--