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 3B1AD1581FB for ; Tue, 27 Aug 2024 07:10:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F93DE2A0E; Tue, 27 Aug 2024 07:10:29 +0000 (UTC) Received: from gw4.antarean.org (gw4.antarean.org [136.144.238.64]) by pigeon.gentoo.org (Postfix) with ESMTP id 0BF1CE2A06 for ; Tue, 27 Aug 2024 07:10:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw4.antarean.org (Postfix) with ESMTP id 4WtJYl4Pv0zNwL0 for ; Tue, 27 Aug 2024 09:08:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from gw4.antarean.org ([127.0.0.1]) by localhost (gw4.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dvz2mH83f9z8 for ; Tue, 27 Aug 2024 09:08:59 +0200 (CEST) Received: from mailstore1.adm.antarean.org (localhost [127.0.0.1]) by gw4.antarean.org (Postfix) with ESMTP id 4WtJYl2jJwzNkG3 for ; Tue, 27 Aug 2024 09:08:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailstore1.adm.antarean.org (Postfix) with ESMTP id 4WtJbR0PG4z17 for ; Tue, 27 Aug 2024 07:10:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at antarean.org Received: from mailstore1.adm.antarean.org ([127.0.0.1]) by localhost (mailstore1.adm.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gs-gJGPXfNeS for ; Tue, 27 Aug 2024 07:05:26 +0000 (UTC) Received: from c7079cfa6d11 (web2.adm.antarean.org [10.55.16.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailstore1.adm.antarean.org (Postfix) with ESMTPSA id 4WtJTf5BVXz15 for ; Tue, 27 Aug 2024 07:05:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1724742326; bh=eqI6vhdvTHMLvypRzOvdClQ4zTp6JHMT5QsuhvtZRVs=; h=From:In-Reply-To:References:List-Id:To:Subject:Date; b=jXv2p1hEthvThqdjp6veXmKoEuIkx/93io5tEDf9BJzNh9UwWnUSiXnGssTzluZvr Qp6x23DjW7w5amtUw+2XfUgikbW/sqvdNYHVqRd+FeSb1LG2XZ7CKr0qxOKosr7vLT Ho075Ic+bJMUwzsyIhwFChD4lx8Xf8W/giMgAZas= User-Agent: EGroupware API 23.1.005 From: Joost Roeleveld X-Priority: 3 X-Mailer: EGroupware-Mail In-Reply-To: References: List-Id: Gentoo Linux mail To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /etc/crontab - sending notification to a different user Message-ID: <20240827070526.EGroupware._iUjF_mg2B3oYRsy2475Vye@_> Date: Tue, 27 Aug 2024 07:05:26 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes 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 X-Archives-Salt: 8f381227-b939-434b-9507-233e163a45d7 X-Archives-Hash: d6ac26bbc58617c67ea84b0020a18a29 ----------------------- 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=/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 > "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