0

I'm new to postfix and was wondering what hostname I should specify in my main.cf file.

Is it the VPS hostname? or I can use one of the domains I host in the VPS as hostname?

I'm trying to set up DKIM with postfix. I was able to create the key etc but the only problem I have is that in order to make it work, I need to specify the name of the hostname as one of the domains in my VPS which has the DKIM entry in the registar DNS..

Thanks!

Matias
  • 123

1 Answers1

0

The Postfix hostname is the same as the domain you got your SSL key & certificate for. It has nothing to do with Ubuntu's hostname itself and is only used when other servers/clients are connecting to your postfix.

lub
  • 1,589