linux
This commit is contained in:
parent
421cad3e3c
commit
cfaa79175e
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user