Am 2019-07-05 15:00, schrieb François Patte:
Bonjour, Does somebody know how to configure the "TO" field in ssmtp? In my configuration (I followed the examples given), when some app (logwatch, mdadm, rkhunter...) send a mail, the FROM field is rewrited with my name ans email address, but the TO field is root@my-internet-provider. How can I get the same as in the FROM field? ie. root=me@my-internet-provider Thank you.
The recipient is not defined within the ssmtp configuration. The recipient address gets specified by the programm that calls the sendmail binary. So for instance configure MAILTO for cronjobs. logwatch has a MailTo parameter.
Alexander _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx