Wietse Venema:
> Julian Kippels:
> > Feb 18 16:11:31 balder postfix/smtpd[25344]: warning: TLS library
> > problem: 25344:error:02001002:system library:fopen:No such file or
> > directory:bss_file.c:398:fopen('/etc/postfix/cert/localhost-cert.pem','r'):
> ...
> > I use the $myhostname variable in smtpd_tls_cert_file so that i can
> > share the same config file across several systems
> > smtpd_tls_cert_file = /etc/postfix/cert/$myhostname-cert.pem
> ...
> > I get this error exactly every 250 seconds. Is there an automated
> > service that could evaluate the variable incorrectly?
> 
> If no "myhostname" value is specified in main.cf, Postfix looks up
> the "myhostname" default value by asking the kernel with the
> gethostname() call.
> 
> Something is either changing the main.cf value, or the value that
> is stored inside the kernel.

On systems with "myhostname = /etc/mailname", it is also possible
that a program changes the contents of the file /etc/mailname.

My bet is that some daemon is whacking the kernel hostname, though.

        Wietse

Reply via email to