From cfaa79175ead870e05c0a30cd274b7815e8d5fb2 Mon Sep 17 00:00:00 2001 From: Roger Rutishauser Date: Wed, 16 Oct 2024 22:12:45 +0200 Subject: [PATCH] linux --- linux/linux-sendmail.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linux/linux-sendmail.md b/linux/linux-sendmail.md index fac6528..26b4d0c 100755 --- a/linux/linux-sendmail.md +++ b/linux/linux-sendmail.md @@ -13,7 +13,8 @@ apt install sendmail - change first line of `/etc/hosts` to:\ `127.0.0.1 localhost.localdomain localhost backup`\ ("backup" is the hostname. Get it with: $ hostname - - config\ `sudo sendmailconfig # answer "Y" to everything` + - config\ + `sudo sendmailconfig # answer "Y" to everything` ## custom "from: " address @@ -28,7 +29,7 @@ in order to have a custom "from: " email address (instead of `user@localhost.loc - create `genericstable.db`\ `makemap hash /etc/mail/genericstable < /etc/mail/genericstable` - modify `/etc/mail/sendmail.mc`\ - add following lines right before `MAILER_DEFINITIONS`:\ + add following lines right before `MAILER_DEFINITIONS`: ``` FEATURE(`genericstable')dnl` GENERICS_DOMAIN(`localhost.localdomain')dnl