[tpop3d-discuss]tpop3d with tls: drops listener on port 995

shalabh.sharma@tcs.com shalabh.sharma at tcs.com
Mon, 7 Feb 2005 12:00:18 +0530


This is a multipart message in MIME format.
--=_alternative 0023D49E65256FA1_=
Content-Type: text/plain; charset="US-ASCII"


Hi,

I am trying to run tpop3d with tls-immediate.

My config file setting is as shown below

listen-address: 0.0.0.0 
0.0.0.0:995;tls=immediate,/usr/local/ssl/newcerts/sitecert.pem,/usr/local/ssl/newcerts/sitekey.pem

also 

log-stderr: true
no-detach: true

1. If I start tpop3d with -P option

/usr/sbin/tpop3d -v -f /etc/tpop3d.conf -P

it promts me for a passwd and runs fine, the log is shown below

listener_new: gethostbyaddr(0.0.0.0): cannot resolve name
listener_new: 0.0.0.0:110: cannot obtain domain suffix for this address
listener_new: 0.0.0.0:110: using fallback domain suffix `lxntts.com'
parse_listeners: listening on address 0.0.0.0:110
listener_new: gethostbyaddr(0.0.0.0): cannot resolve name
listener_new: 0.0.0.0:995: cannot obtain domain suffix for this address
listener_new: 0.0.0.0:995: using fallback domain suffix `lxntts.com'
Enter pass phrase for `/usr/local/ssl/newcerts/sitekey.pem':
parse_listeners: listening on address 0.0.0.0:995; TLS mode immediate
1 authentication drivers successfully loaded
net_loop: tpop3d version 1.5.3 successfully started


2. if I don't give the -P option is drops the listener  on port 995

/usr/sbin/tpop3d -v -f /etc/tpop3d.conf


listener_new: gethostbyaddr(0.0.0.0): cannot resolve name
listener_new: 0.0.0.0:110: cannot obtain domain suffix for this address
listener_new: 0.0.0.0:110: using fallback domain suffix `lxntts.com'
parse_listeners: listening on address 0.0.0.0:110
listener_new: gethostbyaddr(0.0.0.0): cannot resolve name
listener_new: 0.0.0.0:995: cannot obtain domain suffix for this address
listener_new: 0.0.0.0:995: using fallback domain suffix `lxntts.com'
tls_create_context: /usr/local/ssl/newcerts/sitekey.pem: bad password read
listener_new: 0.0.0.0:995: cannot create TLS context for listener; 
dropping it
1 authentication drivers successfully loaded
net_loop: tpop3d version 1.5.3 successfully started



Please help.

Thanks,
Shalabh Sharma

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you
--=_alternative 0023D49E65256FA1_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I am trying to run tpop3d with tls-immediate.</font>
<br>
<br><font size=2 face="sans-serif">My config file setting is as shown below</font>
<br>
<br><font size=2 face="sans-serif">listen-address: 0.0.0.0 0.0.0.0:995;tls=immediate,/usr/local/ssl/newcerts/sitecert.pem,/usr/local/ssl/newcerts/sitekey.pem</font>
<br>
<br><font size=2 face="sans-serif">also </font>
<br>
<br><font size=2 face="sans-serif">log-stderr: true</font>
<br><font size=2 face="sans-serif">no-detach: true</font>
<br>
<br><font size=2 face="sans-serif">1. If I start tpop3d with -P option</font>
<br>
<br><font size=2 face="sans-serif">/usr/sbin/tpop3d -v -f /etc/tpop3d.conf
-P</font>
<br>
<br><font size=2 face="sans-serif">it promts me for a passwd and runs fine,
the log is shown below</font>
<br>
<br><font size=2 face="sans-serif">listener_new: gethostbyaddr(0.0.0.0):
cannot resolve name</font>
<br><font size=2 face="sans-serif">listener_new: 0.0.0.0:110: cannot obtain
domain suffix for this address</font>
<br><font size=2 face="sans-serif">listener_new: 0.0.0.0:110: using fallback
domain suffix `lxntts.com'</font>
<br><font size=2 face="sans-serif">parse_listeners: listening on address
0.0.0.0:110</font>
<br><font size=2 face="sans-serif">listener_new: gethostbyaddr(0.0.0.0):
cannot resolve name</font>
<br><font size=2 face="sans-serif">listener_new: 0.0.0.0:995: cannot obtain
domain suffix for this address</font>
<br><font size=2 face="sans-serif">listener_new: 0.0.0.0:995: using fallback
domain suffix `lxntts.com'</font>
<br><font size=2 face="sans-serif">Enter pass phrase for `/usr/local/ssl/newcerts/sitekey.pem':</font>
<br><font size=2 face="sans-serif">parse_listeners: listening on address
0.0.0.0:995; TLS mode immediate</font>
<br><font size=2 face="sans-serif">1 authentication drivers successfully
loaded</font>
<br><font size=2 face="sans-serif">net_loop: tpop3d version 1.5.3 successfully
started</font>
<br>
<br>
<br><font size=2 face="sans-serif">2. if I don't give the -P option is
drops the listener &nbsp;on port 995</font>
<br>
<br><font size=2 face="sans-serif">/usr/sbin/tpop3d -v -f /etc/tpop3d.conf</font>
<br>
<br>
<br><font size=2 face="sans-serif">listener_new: gethostbyaddr(0.0.0.0):
cannot resolve name</font>
<br><font size=2 face="sans-serif">listener_new: 0.0.0.0:110: cannot obtain
domain suffix for this address</font>
<br><font size=2 face="sans-serif">listener_new: 0.0.0.0:110: using fallback
domain suffix `lxntts.com'</font>
<br><font size=2 face="sans-serif">parse_listeners: listening on address
0.0.0.0:110</font>
<br><font size=2 face="sans-serif">listener_new: gethostbyaddr(0.0.0.0):
cannot resolve name</font>
<br><font size=2 face="sans-serif">listener_new: 0.0.0.0:995: cannot obtain
domain suffix for this address</font>
<br><font size=2 face="sans-serif">listener_new: 0.0.0.0:995: using fallback
domain suffix `lxntts.com'</font>
<br><font size=2 face="sans-serif">tls_create_context: /usr/local/ssl/newcerts/sitekey.pem:
bad password read</font>
<br><font size=2 face="sans-serif">listener_new: 0.0.0.0:995: cannot create
TLS context for listener; dropping it</font>
<br><font size=2 face="sans-serif">1 authentication drivers successfully
loaded</font>
<br><font size=2 face="sans-serif">net_loop: tpop3d version 1.5.3 successfully
started</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Please help.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,<br>
Shalabh Sharma</font>
<table><tr><td bgcolor=#ffffff><font color=#000000>Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you<br>
</font></td></tr></table>
--=_alternative 0023D49E65256FA1_=--