Hi,

I just saw that apparently the variable $myhostname is evaluated
incorrectly sometimes. I have the following lines in my maillog:

Feb 18 16:11:31 balder postfix/smtpd[25344]: warning: cannot get RSA
certificate from file /etc/postfix/cert/localhost-cert.pem: disabling
TLS support
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'):
Feb 18 16:11:31 balder postfix/smtpd[25344]: warning: TLS library
problem: 25344:error:20074002:BIO routines:FILE_CTRL:system
lib:bss_file.c:400:
Feb 18 16:11:31 balder postfix/smtpd[25344]: warning: TLS library
problem: 25344:error:140DC002:SSL
routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722:

But postconf tells me:
myhostname = balder.rz.uni-duesseldorf.de

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
smtpd_tls_key_file = /etc/postfix/cert/$myhostname-key.pem

I get this error exactly every 250 seconds. Is there an automated
service that could evaluate the variable incorrectly?

Julian
-- 
---------------------------------------------------------
| | Julian Kippels
| | M.Sc. Informatik
| |
| | Zentrum für Informations- und Medientechnologie
| | Heinrich-Heine-Universität Düsseldorf
| | Universitätsstr. 1
| | Raum 25.41.O1.36
| | 40225 Düsseldorf / Germany
| |
| | Tel: +49-211-811-4920
| | mail: kipp...@hhu.de
| | jabber: jukip...@xmpp.hhu.de
---------------------------------------------------------

Reply via email to