From: Gerrit Kuehn <gerrit.kuehn@aei.mpg.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ssmtp - localmail
Date: Thu, 26 Nov 2020 10:21:09 +0100 [thread overview]
Message-ID: <20201126102109.5275c475@comet2.terra.ger> (raw)
In-Reply-To: <cf23f721-3c8f-c9bd-ea6f-5dd49c8c206a@sys-concept.com>
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<yourname@youremail.com>
>
> Can anybody verify it?
Not right now, but what do you try to achieve? You can set email
destination for cron with MAILTO=<yourname@youremail.com> in your
crontab, if sending mails from cron is your problem.
cu
Gerrit
next prev parent reply other threads:[~2020-11-26 9:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-26 7:20 [gentoo-user] ssmtp - localmail thelma
2020-11-26 9:21 ` Gerrit Kuehn [this message]
2020-11-26 10:15 ` Gerrit Kuehn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201126102109.5275c475@comet2.terra.ger \
--to=gerrit.kuehn@aei.mpg.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox