[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TLS / DH key problem



I've setup magic-smtpd about a dozen times before (famous last words,  
of course) and have never seen this problem. I'm getting the  
following error when I attempt to send a message via SMTP using TLS  
(regular SMTP sending works when my MUA - Thunderbird and Mail.app -  
turn off TLS). This is from my mail server's log:

Mar 15 13:35:48 dickens msd[2746]: EHLO command received, args:  
[192.168.100.41]
Mar 15 13:35:48 dickens msd[2746]: HELO host does not match  
TCPREMOTEHOST
Mar 15 13:35:48 dickens msd[2746]: STARTTLS command received, args: TTLS
Mar 15 13:35:48 dickens msd[2746]: WARNING generating 1024 bit DH  
key, this will be slow
Mar 15 13:36:01 dickens msd[2746]: OpenSSL(SSL_accept): [error: 
0906D06C:PEM routines:PEM_read_bio:no start line]
Mar 15 13:36:01 dickens msd[2746]: Exiting

Output of magic-smtpd -s (the important parts that is):

loaded  | tls_cadir                     | /usr/lib/courier/rootcerts/
default | tls_cafile                    | (null)
default | tls_certificate               | /etc/magic-mail/control/ 
cert.pem
loaded  | tls_dhparams                  | /etc/magic-mail/control/ 
cert.pem
loaded  | tls_enable                    | 1
default | tls_keyfile                   | /etc/magic-mail/control/ 
cert.pem
default | tls_password                  | (null)

Am I totally missing something? The tls_dhparams is set so why is it  
trying to recreate the key everytime? What is that OpenSSL error all  
about?

Thanks for help in advance!

--Joe