A short bash script that sets the myhostname parameter in the postfix config file.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The_Lie 7de2f31ee2 Update 'set-myhostname.sh' 7 months ago
README.md Update 'README.md' 7 months ago
set-myhostname.sh Update 'set-myhostname.sh' 7 months ago

README.md

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…