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 BB701158083 for ; Sat, 31 Aug 2024 19:35:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D72C9E2AB8; Sat, 31 Aug 2024 19:35:05 +0000 (UTC) Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (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 4D4E3E2AA0 for ; Sat, 31 Aug 2024 19:35:05 +0000 (UTC) Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-846bc2104c8so1117758241.0 for ; Sat, 31 Aug 2024 12:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725132904; x=1725737704; 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=ZJxMjRPOWsknpMEEOFCtwLyLfHii8/3hHhmHKleiapo=; b=c1IThC4Jpmx3ziG9HKJEG2Uf1yD3ON5rZ07RaGNv+VFhzpGDTDJPsT5lWk9QJGIX07 xSM2ogIUBMuQ4uKWL8+8LJulrkg7ZN9cC5m4Z2BAwdS0swbkmKzq3WJt2lkQZ8bPDove 7qGt9TiFgHT9UcVqC0HxhM8UVc0q8suh5AxZNudX8k26Z06i5HB5qo2i0n6/l7vvGBsj wPQXadBFHCAjB6I+CyHP2nhIVJDg3eiF9yYsbGOgIx2pLLbvHBDw6x2Ywtmx5IHZlncP 9YjDeOcBgGukuiLcaYC9iFUlxjgyRnohZiZAaPLLwoSCyfk2YnvK8jemn85rxrd8agrh Jo5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725132904; x=1725737704; 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=ZJxMjRPOWsknpMEEOFCtwLyLfHii8/3hHhmHKleiapo=; b=pRrzA6GmvngunxvnIcOK2YnV/7SUztgRSk0/aiU3gvA7b+qH66V8jtDdTB1QLoaAnM Azw3cVwqCi75w3i6B2jl8SkUAcdz4fbDd6eMHp07M5/a8MVmiy58FoG0VjTO4DdUCgql HBh0vn1Hi038nYLz9HM75MNbmi3wiEDXOiwjbDhnmyiOnqgac//26kSMXPHLMdEi2J31 qmLKv4U7/IEnMTp9dsUBNCUyuqCn9wWVH+ASSKI6egzHoGr8LHEWMmjzdqHUMkRFlMUq F21bo3r16A1WIjDBtowC5IJAJsXRQK06AmVkKOtkOr5wF9/pud+s3N1XJxLpcYghfqQq 7I5Q== X-Gm-Message-State: AOJu0Yxr0iX1xYqWaEMd/L1hYzZu/0n3PQG/9ilFjkq11VZgBg88QWmm WSFATotyl0OYYRnWwot7+c+4b8FKKob5iFqfpULX0Tm4bNo6PuQGG69My6/kUFxQasFTTb3quGQ 8sP8E9oR1Ah9OkJoyXT0YNfZdqhA/QFm1r4s= X-Google-Smtp-Source: AGHT+IFsAGWk1IygvEz0pZc6J+2voiywBzLpAa06TFzbgvlT2OoKx1q54/pnqCn2aF55l1oG+zzvpGUGdA6mXY/M/kw= X-Received: by 2002:a05:6102:4415:b0:492:84ac:2eb7 with SMTP id ada2fe7eead31-49a6b5c7175mr4687130137.11.1725132904316; Sat, 31 Aug 2024 12:35:04 -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: <4920338.GXAFRqVoOG@rogueboard> <1872482.atdPhlSkOF@rogueboard> In-Reply-To: <1872482.atdPhlSkOF@rogueboard> From: syscon edm Date: Sat, 31 Aug 2024 13:34:49 -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="000000000000f3c5f00620ffcd90" X-Archives-Salt: e98df95b-8e61-4311-a372-6a94546ada11 X-Archives-Hash: d620c83ed41a6f960950ddef98d9d6c6 --000000000000f3c5f00620ffcd90 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D< syscon8@gmail.com>, size=3D699, nrcpt=3D1 (queue active) Aug 31 13:24:02 i5 postfix/smtp[9110]: 0880F17E00EB: to=3D, orig_to=3D, relay=3Dsmtp.gmail.com[142.250.99.108]:587, delay=3D1.3, delays=3D0.02/0.01/0.55/0.68, dsn=3D2.0.0, status=3Dsent (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=E2=80=AFPM Michael = wrote: > On Saturday, 31 August 2024 20:11:34 BST syscon edm wrote: > > >> MAILTO=3D"syscon8@gmail.com" > > > > MAILTO=3D"syscon8@gmail.com" > > MAILTO=3D'syscon8@gmail.com' > > MAILTO=3Dsyscon8 > > > > 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. --000000000000f3c5f00620ffcd90 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, the cron entry should be:
55 12 * * = * mv /var/spool/asterisk/monitor/* /home/thelma/mon/
1-5 is M= onday to Friday

mail.log:

Aug = 31 13:24:01 i5 postfix/qmgr[32301]: 0880F17E00EB: from=3D<syscon8@gmail.com>, size=3D699, nrcpt=3D1 (qu= eue active)
Aug 31 13:24:02 i5 postfix/smtp[9110]: 0880F17E00EB: to=3D&l= t;root@gmail.com>, orig_to=3D<r= oot>, relay=3Dsmtp.gmail.com[142.2= 50.99.108]:587, delay=3D1.3, delays=3D0.02/0.01/0.55/0.68, dsn=3D2.0.0, sta= tus=3Dsent (250 2.0.0 OK =C2=A01725132231 98e67ed59e1d1-2d85b0fdf44sm608879= 7a91.6 - gsmtp)
Aug 31 13:24:02 i5 postfix/qmgr[32301]: 0880F17E00EB: re= moved

Gmail is accepting the mail but it is sending = to "root" instead=C2=A0of "syscon8"

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

# General redirections for pseudo a= ccounts.
adm: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0roo= t
bin: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0root
da= emon: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 root
exim: =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 root
lp: =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 root
mail: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 root
named: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0root
nobody: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 root
pos= tfix: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0root

# Well-known ali= ases -- these should be filled in!
root: =C2=A0 syscon8@gmail.com
fd: =C2=A0 syscon8@gmail.com
# operator:

# Standard RFC21= 42 aliases
abuse: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0postma= ster
ftp: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0roothostmaster: =C2=A0 =C2=A0 =C2=A0 =C2=A0 root
news: =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 usenet
noc: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0root
security: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 root
usenet: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 root
uucp:= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 root
webmaster: =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0root
www: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0webmaster


On Sat, Aug 31, 2024 at 1:17= =E2=80=AFPM Michael <confabu= late@kintzios.com> wrote:
On Saturday, 31 August 2024 20:11:34 BST syscon edm wrote:=
> >> MAILTO=3D"syscon8@gmail.com"
>
> MAILTO=3D"= syscon8@gmail.com"
> MAILTO=3D's= yscon8@gmail.com'
> MAILTO=3Dsyscon8
>
> I've tried single quote, double quotes, but it doesn't work; n= ow 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?=C2=A0 Increase verbosity= if you
need to get more info.
--000000000000f3c5f00620ffcd90--