* [gentoo-user] ssmtp - localmail
@ 2020-11-26 7:20 thelma
2020-11-26 9:21 ` Gerrit Kuehn
2020-11-26 10:15 ` Gerrit Kuehn
0 siblings, 2 replies; 3+ messages in thread
From: thelma @ 2020-11-26 7:20 UTC (permalink / raw
To: Gentoo mailing list
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
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?
--
Thelma
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] ssmtp - localmail
2020-11-26 7:20 [gentoo-user] ssmtp - localmail thelma
@ 2020-11-26 9:21 ` Gerrit Kuehn
2020-11-26 10:15 ` Gerrit Kuehn
1 sibling, 0 replies; 3+ messages in thread
From: Gerrit Kuehn @ 2020-11-26 9:21 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] ssmtp - localmail
2020-11-26 7:20 [gentoo-user] ssmtp - localmail thelma
2020-11-26 9:21 ` Gerrit Kuehn
@ 2020-11-26 10:15 ` Gerrit Kuehn
1 sibling, 0 replies; 3+ messages in thread
From: Gerrit Kuehn @ 2020-11-26 10:15 UTC (permalink / raw
To: gentoo-user
On Thu, 26 Nov 2020 00:20:52 -0700
thelma@sys-concept.com wrote:
> 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>
Concerning root: Can't you just put
root=yourname@youremail.com
in your ssmtpd.conf?
cu
Gerrit
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-26 10:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-26 7:20 [gentoo-user] ssmtp - localmail thelma
2020-11-26 9:21 ` Gerrit Kuehn
2020-11-26 10:15 ` Gerrit Kuehn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox