A short bash script that sets the myhostname parameter in the postfix config file.
Find a file
The_Lie 2b87c4b01c Update 'set_myhostname.sh'
Removed some testing code
2021-03-24 01:14:45 +01:00
README.md Update 'README.md' 2021-03-24 01:09:12 +01:00
set_myhostname.sh Update 'set_myhostname.sh' 2021-03-24 01:14:45 +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…