Comment on Recommendation for outgoing-only SMTP server

<- View Parent
vegetaaaaaaa@lemmy.world ⁨7⁩ ⁨months⁩ ago

You can definitely replace senders with correct mail addresses for relaying through SMTP server that expect them (this is what I do):

# /etc/msmtprc
account default
...
# Replace local recipients with addresses in the aliases file
aliases /etc/aliases
# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: default
www-data: root
default: myaddress@gmail.com

source
Sort:hotnewtop