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 A94C31581FB for ; Tue, 27 Aug 2024 17:09:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 992CB2BC01E; Tue, 27 Aug 2024 17:09:41 +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 46037E2AB0 for ; Tue, 27 Aug 2024 17:09:41 +0000 (UTC) Received: by mail-vs1-xe34.google.com with SMTP id ada2fe7eead31-498d318c0d1so1919204137.2 for ; Tue, 27 Aug 2024 10:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724778580; x=1725383380; 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=NVL593tZ387RtkQlgr1mR4atpAKPU1n4wuirIvlNqAY=; b=d6TOs4bdwtJ5GTVNKCBVfNdOq48IK+cIo+nbS+QURkcsrxXzvh+EfaRp4uUEDHnGx6 q7Y0FoialJ8B3hIoZTiAX3FZMBAbSWvvJdvqjFPS0LNnBAeTuL0S/ynqYSFWvdaSfJK8 VOgqy36UHi1MEkk+tLo76pNKU9HkNla6rV8EA3FAazTDwJH0C3OoLQHq2J425/6Q52An EsHDDPMS7B97ag7fkTpXnJl3UprSXoKECZaFBDF6GH54HOcyibIxpzrFaz4bsGZyazHE bjj++4HfimOUakZVy9HrsFOqNrPk+s7n8hGv8Yq2hCCQrLecLi3FcK0p2AxCKMZ/SAec fyDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724778580; x=1725383380; 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=NVL593tZ387RtkQlgr1mR4atpAKPU1n4wuirIvlNqAY=; b=XVSS2EqUAc/uOpxVTGd9+T+HRx0FY+c33dh1U9ic8ZdgBwXyEgXqVERBLtLyt1wHGr 8GPnYcZ0wc6t+AtyAQGSJz+tAvHyvEjhWTfQP7sSohjymL5Y4EXfKQo6ulyyGkeRMaoS J51qGyoyekH4zhhQPIh+Bl2QjHfLOLeEZnjrTJMaQYj7LzufF94P8PfPqaZzcrClpAai yPLwuEKa1DWcgpJ9l7Ue9E50K8eH/Zebke1y46dkq6qpHT1gLksJ0SV8MsDwZPm0oFly eLvM84z8zXGfImg2kTfr9+WBMrpXbzPkdzvnTXT5UEa+iWIrfrWXx81D7Jq8fW3u/0ok Ctaw== X-Gm-Message-State: AOJu0Yxf6et5XxVHSPBADZXSKFonTYmvG9BPBIEKFba/Fdtp4TgnYeoQ PvxwuI6MdY704KWMkumJ4hkz/0iHaU5N1trHlt7ZDPgDMbfWaIr7BLqb57yzuXsqYz0izKv6kUN iHOiJbR0nlOs8HzFDPHdxr84uH+hfT/zP X-Google-Smtp-Source: AGHT+IHxw1Fd6QZmLvpUTzGgytNXEQuQp1KYzn00xf+Z8N3ol1Nahv6GC5Ga2BjXMnKK/zXtLGWjrV83gg/UDfEmzsA= X-Received: by 2002:a05:6102:26ca:b0:493:b006:e1a with SMTP id ada2fe7eead31-498f4b532abmr17525342137.7.1724778580134; Tue, 27 Aug 2024 10:09:40 -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: <20240827070526.EGroupware._iUjF_mg2B3oYRsy2475Vye@_> In-Reply-To: <20240827070526.EGroupware._iUjF_mg2B3oYRsy2475Vye@_> From: syscon edm Date: Tue, 27 Aug 2024 11:09:28 -0600 Message-ID: Subject: Re: [gentoo-user] /etc/crontab - sending notification to a different user To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="00000000000095d31a0620ad4ea4" X-Archives-Salt: b0a239d7-c2a6-47fd-b4f2-df9922753edc X-Archives-Hash: 20465150104837bee6b22789940b78c4 --00000000000095d31a0620ad4ea4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That is not it. I changed in /etc/crontab MAILTO=3Dsyscon8@gmail.com restart cronie but system is still emailing it to root@gmail.com On Tue, Aug 27, 2024 at 1:49=E2=80=AFAM Joost Roeleveld wrote: > > > ----------------------- Original message ----------------------- > From: syscon edm > To: gentoo-user@lists.gentoo.org > Date: Tue, 27 Aug 2024 07:10:18 +0200 > ---------------------------------------------------------------- > > > > > In "/etc/crontab" I have: > > > # for cronie > > > > # Global variables > > SHELL=3D/bin/bash > > PATH=3D/sbin:/bin:/usr/sbin:/usr/bin > > MAILTO=3Dsyscon8 > > HOME=3D/ > > > But when it run a cron-job, the email is still going to > > "mailto:root@gmail.com " instead of mailto:syscon8@gmail.com > > > How to adjust the entry to the email notification will go to a specific > user. > > Specify the full email address instead of just a username. > > -- > Joost > > > > > --00000000000095d31a0620ad4ea4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That is not it.

I changed in=C2= =A0/etc/crontab

restart=C2=A0cronie but system is sti= ll emailing it to=C2=A0root@gmail.com=

On Tue, Aug 27, 2024 at 1:49=E2=80=AFAM Joost Roeleveld <joost@antarean.org> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">

----------------------- Original message -----------------------
From: syscon edm <syscon780@gmail.com >
To: gento= o-user@lists.gentoo.org
Date: Tue, 27 Aug 2024 07:10:18 +0200
----------------------------------------------------------------

>
> In "/etc/crontab" I have:

> # for cronie
>
> # Global variables
> SHELL=3D/bin/bash
> PATH=3D/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=3Dsyscon8
> HOME=3D/

> But when it run a cron-job, the email is still going to=C2=A0
> "mailto:root@= gmail.com " instead of mailto:syscon8@gmail.com

> How to adjust the entry to the email notification will go to a specifi= c user.

Specify the full email address instead of just a username.

--
Joost




--00000000000095d31a0620ad4ea4--