postfix questions

I’m playing with encrypting a postfix mail relay with TLS and certificates. The tls_ploicy.db doesn’t exits and the command I found to create it postmap hash:/etc/postfix/tls_policy can’t find the tls_policy file, which is fine because it doesn’t actually exist.

So my question is this: is it supposed to exist? Or do I have to create it and if so how ?

Thanks

[QUOTE=cisaksen;58186]I’m playing with encrypting a postfix mail relay with TLS and certificates. The tls_ploicy.db doesn’t exits and the command I found to create it postmap hash:/etc/postfix/tls_policy can’t find the tls_policy file, which is fine because it doesn’t actually exist.

So my question is this: is it supposed to exist? Or do I have to create it and if so how ?

Thanks[/QUOTE]

If the /etc/postfix/tls_policy file does not exist you can create it with your preferred editor - it’s just a plain text file. See http://www.postfix.org/TLS_README.html for example content.

HTH.

Thanks I’ll take look.