grep -E --> 正規表示是
grep -v "EXCLUDE" 排除 EXCLUDE
grep -i capital in senstive
grep -n showing the line number
grep -E --> 正規表示是
grep -v "EXCLUDE" 排除 EXCLUDE
grep -i capital in senstive
grep -n showing the line number
sudo apt-get install mailutils
cmd 指令
# echo “email content” | mail -s “email subject” you@emaildomai
如果要更改 寄送者的 dn
f請到
/etc/posfix/main.cf 更改參數
1.
append_dot_mydomain = yes # --> Setting it to yes appends the domain to the hostname
2.設定參數
myhostname = com.hint.tw
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-16-04
https://yosia.net/article/133
https://unix.stackexchange.com/questions/379175/how-do-i-change-postfix-sender-address
https://ftp.gnu.org/old-gnu/Manuals/mailutils-0.2/html_node/configuration.html