The full path to the file is ‘/etc/postfix/main.cf‘
Just add or modify your hostname and restart the postfix service by running ‘service postfix restart‘.
Please note mydomain.net. is an invalid hostname.
修改或者增加一行
myhostname = mydomain.net
时间: 2024-10-11 09:04:47