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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3ABD61382C5 for ; Thu, 26 Nov 2020 09:21:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AD1CE0900; Thu, 26 Nov 2020 09:21:13 +0000 (UTC) Received: from mailgate2.uni-hannover.de (mailgate2.uni-hannover.de [130.75.2.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B85DE0887 for ; Thu, 26 Nov 2020 09:21:12 +0000 (UTC) Received: from intranet.aei.uni-hannover.de (ahin1.aei.uni-hannover.de [130.75.117.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgate2.uni-hannover.de (Postfix) with ESMTPS id D815F13C0 for ; Thu, 26 Nov 2020 10:21:10 +0100 (CET) Received: from comet2.terra.ger ([130.75.117.49]) by intranet.aei.uni-hannover.de (IBM Domino Release 9.0.1FP8) with ESMTP id 2020112610210976-2373 ; Thu, 26 Nov 2020 10:21:09 +0100 Date: Thu, 26 Nov 2020 10:21:09 +0100 From: Gerrit Kuehn To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ssmtp - localmail Message-ID: <20201126102109.5275c475@comet2.terra.ger> In-Reply-To: References: X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) 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-MIMETrack: Itemize by SMTP Server on intranet/aei-hannover(Release 9.0.1FP8|February 23, 2017) at 26/11/2020 10:21:09, Serialize by Router on intranet/aei-hannover(Release 9.0.1FP8|February 23, 2017) at 26/11/2020 10:21:10, Serialize complete at 26/11/2020 10:21:10 X-TNEFEvaluated: 1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archives-Salt: 7b92aabc-b7b3-4d57-8613-ad099d17129b X-Archives-Hash: 4564f0dd0d0b04429531e17841d9550c On Thu, 26 Nov 2020 00:20:52 -0700 thelma@sys-concept.com wrote: > According to: > https://wiki.webevaluation.nl/sending_e-mail_with_ssmtp > ssmtp has no local e-mail so it can not send cron output to > /var/mail/user The manpage here says --- It does not do aliasing, which must be done either in the user agent or on the mail-hub. Nor does it honor .forwards, which have to be done on the recieving host. It especially does not deliver to pipelines. --- > > But from posting at: > https://unix.stackexchange.com/questions/69133/where-is-the-setting-for-sending-email-to-a-system-user-with-ssmtp > > Aliases for TO: addresses would normally need to be set in > /etc/aliases, but SSMTP doesn't read this! Instead, you need to edit > /etc/mail.rc and add a line such as alias root > root > > Can anybody verify it? Not right now, but what do you try to achieve? You can set email destination for cron with MAILTO= in your crontab, if sending mails from cron is your problem. cu Gerrit