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