A short bash script that sets the myhostname parameter in the postfix config file.
Find a file
2021-03-24 01:29:27 +01:00
README.md Update 'README.md' 2021-03-24 01:09:12 +01:00
set-myhostname.sh Renamed set_myhostname.sh to set-myhostname.sh 2021-03-24 01:29:27 +01:00

Postfix hostname to reverse DNS

A short bash script that gets the reverse DNS record for the current ip and sets it as the myhostname parameter in the postfix config file. Quite hacky, so beware…