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 81312158083 for ; Sat, 31 Aug 2024 20:16:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D359E2AC2; Sat, 31 Aug 2024 20:16:28 +0000 (UTC) Received: from earwig.ash.relay.mailchannels.net (earwig.ash.relay.mailchannels.net [23.83.222.54]) (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 D2F10E2A9B for ; Sat, 31 Aug 2024 20:16:27 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 52055546316 for ; Sat, 31 Aug 2024 20:16:26 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1725135385; a=rsa-sha256; cv=none; b=xQiRy+MbIniEY8jZod5Js7RAjIGDOKQSC6FZhbeKC7AdpS9VFPfYvclwy7Ezjku3R2ql1A OJ0T0TD5q4Rho6oL4IKJbrJ4ugAULwcXO9r7abhFxjPQ0/SQdqZVXIArk/PD5n0grVSKTE uHtC9EcPUY9CJse4H1BT/ZzbiepFJ7CUntuH1SdGLnU5iT+nw9kqAExr+SCnrKcg2gh6yM 3XJgYh8oovLwSBynK4m2Vb9GdxjB/L8JTahicl99jETQcHvhRPy6ro/jJLZm8dCaF5YYv1 G/2eHQK9RfKtx73gjQPdelrQbT0ymXfvc8ma5ZLghxNRNjuzA2oTcdl98h6cHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1725135385; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=TdE7uL06WLYmYyhpfjZOlsGcDdFwYKojvqLQtY5wK1M=; b=ixIg5pc1cUnppo+YYM/MxmdhD48n9N/2Vh7T4jTn6zroT6U6tXrC2BDWjwPgoT+pvnB8iM VdUEQLpsLKgV9geKS+B156R7GTagbb/s4KPaJqtZTctoFhQjGGqesL89TfEdw2qy7oHbNE P/B1BGyXTJ69N5pZcezI1kshEdt9kWEZTueO1G3IvCS1VrY8i2x5fHPRGYDINX6tmT9D1R mmWz6cxclnECDC9pWvnteT04/80fxa8RXiU1lCfo2WTRZpCw8UvsBzGdQzlGlvhJ3LX7LP pTDNmn2LLZ69UCSSbKDRMyelguGG8Cl1GI27Ny4tSL+4dTSf21ebdHnWzi7UZg== ARC-Authentication-Results: i=1; rspamd-6b9c67f469-xmlc4; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Shoe-Descriptive: 67406a9f17364d17_1725135385953_2471449269 X-MC-Loop-Signature: 1725135385953:1449647302 X-MC-Ingress-Time: 1725135385953 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.110.151.197 (trex/7.0.2); Sat, 31 Aug 2024 20:16:25 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 7CD391E0003 for ; Sat, 31 Aug 2024 21:16:23 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /etc/crontab - sending notification to a different user Date: Sat, 31 Aug 2024 21:16:03 +0100 Message-ID: <5499518.Sb9uPGUboI@rogueboard> In-Reply-To: References: <1872482.atdPhlSkOF@rogueboard> 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 Content-Type: multipart/signed; boundary="nextPart1990653.yKVeVyVuyW"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <172513538199.4186104.9125188477363718946@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 7CD391E0003 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.949]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 76bac7c2-e675-4519-a06c-c197a1b47b78 X-Archives-Hash: fa4d9d54afde43cf09372b612a10c57e --nextPart1990653.yKVeVyVuyW Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Sat, 31 Aug 2024 21:16:03 +0100 Message-ID: <5499518.Sb9uPGUboI@rogueboard> MIME-Version: 1.0 On Saturday, 31 August 2024 20:34:49 BST syscon edm wrote: > 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=< > syscon8@gmail.com>, size=699, nrcpt=1 (queue active) > Aug 31 13:24:02 i5 postfix/smtp[9110]: 0880F17E00EB: to=, > orig_to=, You probably have in your /etc/postfix/main.cf: myorigin = $some_user@some_domain.com where some_user@some_domain.com is not syscon8@gmail.com, but root@*? > relay=smtp.gmail.com[142.250.99.108]:587, delay=1.3, > delays=0.02/0.01/0.55/0.68, dsn=2.0.0, status=sent (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 You can grep your postfix files for root and root@ to find the culprit. It seems your postfix configuration is rewriting the 'Send As' name, if not whole address. My Postfix knowledge is rather out of date, but current users should be able to advise with a specific fix for this problem. --nextPart1990653.yKVeVyVuyW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbTegMACgkQseqq9sKV Zxmkjg/+PxsuPknxHloVFfyeoX4tRMg3nbC1ecPJgjuIjhT/dRx1VH5/yHoWAixy +/5Uh/Np50WYnrGTv7NapzFwEg0Fa+msU0PtSMfaW3lUWYHteF1ICigqsxOZF1LG qBvbdl0c1MIf4N4jaJw9+KCYDklnBgY6IPsfppOY2QlBQnN2M5C60aILuAiSMi1O /Ns0l0YBmfEIS34nFpj1Bqcj1hE8uv7uFbUF5TBfC7X1/wiJbce1H+/9Jm6DsYQk FO+NMRXF7DDmBSOCNhl1hIwqBbHproSl9AMRGBu8dwAFCw7K7q2UMVLjy+EBB4LD vf874tNSoAdTaRv/IF3Qua83cjqnKYgdiZOU49WCueeuJ/cG8B44+pOx4Glgww+C LFWw9RnHOypBI0VtrgeYuIptHJO05dcBdvcIKukA4R0ALoOHJDgXMtnbJcwOCUxz q6VjxC5gj79Rpcx/7NPSwfZ8apJckZK5sppZ8KGEtxnIJULl7++Nce12o8KpfSgB XFhfepqLREET90YY5cgH09Ck0EH2+sBWBLrO7U3kfIK65WiDuneyunGRj/3FnrVI vVpM03hh0nLTg7gYXg3+dxlHvLW7+RtbYtqupAynrAMkMzQQfInPGjFLcimdhmF+ tFXfHt7AckpB9whsUfWe40HfVOmztFm/2r5phOAIZ/IAVlzikG8= =uAk0 -----END PGP SIGNATURE----- --nextPart1990653.yKVeVyVuyW--