A NOTE has been added to this issue. 
====================================================================== 
http://dbmail.org/mantis/view.php?id=1054 
====================================================================== 
Reported By:                PYO
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   1054
Category:                   POP3 daemon
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             08-Sep-14 19:30 CEST
Last Modified:              09-Sep-14 11:34 CEST
====================================================================== 
Summary:                    Standalone pop3s
Description: 
There is ver. 3.2.0 currently in FreeBSD ports. Don't know if it's
production ready, but I upgraded to this version from 3.1.7
I used pop3s only:
[POP]
#port                  = 110
tls_port              = 995
But with new version this do not work anymore. DBMail do not listen to any
port.
This works as expected:
[POP]
#port                  = 110
tls_port              = 995


====================================================================== 

---------------------------------------------------------------------- 
 (0003666) PYO (reporter) - 08-Sep-14 19:32
 http://dbmail.org/mantis/view.php?id=1054#c3666 
---------------------------------------------------------------------- 
sorry, typo:
[POP]
port = 110
tls_port = 995
listening to both ports 

---------------------------------------------------------------------- 
 (0003667) sergej (reporter) - 08-Sep-14 21:10
 http://dbmail.org/mantis/view.php?id=1054#c3667 
---------------------------------------------------------------------- 
See also http://www.mail-archive.com/dbmail-dev%40dbmail.org/msg14062.html 

---------------------------------------------------------------------- 
 (0003668) alan (reporter) - 08-Sep-14 22:21
 http://dbmail.org/mantis/view.php?id=1054#c3668 
---------------------------------------------------------------------- 
I found that adding login_disabled to dbmail.conf everything started
working ok
login_disabled = no

I'm only using imap but all is well here with imapd listening on 143 &
993

When you say not listening is the daemon running, are there any error
messages in the dbmail log file, does netstat | grep 110 offer anything? 

---------------------------------------------------------------------- 
 (0003669) PYO (reporter) - 09-Sep-14 00:11
 http://dbmail.org/mantis/view.php?id=1054#c3669 
---------------------------------------------------------------------- 
No, login_disabled doesn't change anything.
dbmail-pop3d starts:
root@torq1:/usr/local/etc # ps ax | grep dbmail
3310 ??  S      0:00,01 /usr/local/sbin/dbmail-pop3d
root@torq1:/usr/local/etc # netstat -na -f inet
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address          Foreign Address        (state)
tcp4       0      0 *.587                  *.*                    LISTEN
tcp4       0      0 *.465                  *.*                    LISTEN
tcp4       0      0 *.25                   *.*                    LISTEN
tcp4       0      0 *.22                   *.*                    LISTEN
tcp4       0      0 *.443                  *.*                    LISTEN
tcp4       0      0 *.80                   *.*                    LISTEN
udp4       0      0 127.0.0.1.123          *.*
udp4       0      0 *.123                  *.*
udp4       0      0 *.43501                *.*
udp4       0      0 *.514                  *.* 

---------------------------------------------------------------------- 
 (0003670) PYO (reporter) - 09-Sep-14 00:34
 http://dbmail.org/mantis/view.php?id=1054#c3670 
---------------------------------------------------------------------- 
Ok, tried this:
[POP]
port                  = 0
tls_port              = 995

and result is interesting:
root@torq1:/usr/local/etc # netstat -na -f inet
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address          Foreign Address        (state)
tcp4       0      0 *.995                  *.*                    LISTEN
tcp4       0      0 *.23781                *.*                    LISTEN
tcp4       0      0 *.587                  *.*                    LISTEN
tcp4       0      0 *.465                  *.*                    LISTEN
tcp4       0      0 *.25                   *.*                    LISTEN
tcp4       0      0 *.22                   *.*                    LISTEN
tcp4       0      0 *.443                  *.*                    LISTEN
tcp4       0      0 *.80                   *.*                    LISTEN
udp4       0      0 127.0.0.1.123          *.*
udp4       0      0 *.123                  *.*
udp4       0      0 *.43501                *.*
udp4       0      0 *.514                  *.*

23781 is insecure pop3 

---------------------------------------------------------------------- 
 (0003671) alan (reporter) - 09-Sep-14 11:19
 http://dbmail.org/mantis/view.php?id=1054#c3671 
---------------------------------------------------------------------- 
I'm struggling to find out why your daemon is not listening, my pop server
came up as expected.  Although I'm running on 10.0 I didn't see anything
unusual in the test build logs for 8 or 9.

netstat -na | egrep '110|993'
tcp6       0      0 *.110                  *.*                    LISTEN
tcp4       0      0 *.110                  *.*                    LISTEN
tcp6       0      0 *.993                  *.*                    LISTEN
tcp4       0      0 *.993                  *.*                    LISTEN

telnet localhost 110 showed a working pop3 server
+OK DBMAIL pop3 server ready to rock
<edc9887e62710757ac49a17984ab9...@schnittke.p-o.co.uk>

Is your bindip set to something like 0.0.0.0,::

Could you set your logging level to something like 63, that should show
more of what is happening
file_logging_levels       = 63 

---------------------------------------------------------------------- 
 (0003672) PYO (reporter) - 09-Sep-14 11:34
 http://dbmail.org/mantis/view.php?id=1054#c3672 
---------------------------------------------------------------------- 
alan, you seems not understand.
I have no problem with:
[POP]
port = 110
tls_port = 995
But I want ONLY 995 (pop3s):
[POP]
#port = 110
tls_port = 995
This was working on previous dbmail version. Now stops. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
08-Sep-14 19:30  PYO            New Issue                                    
08-Sep-14 19:32  PYO            Note Added: 0003666                          
08-Sep-14 21:08  sergej         File Added: tls-only-listen.patch               
    
08-Sep-14 21:10  sergej         Note Added: 0003667                          
08-Sep-14 22:21  alan           Note Added: 0003668                          
09-Sep-14 00:11  PYO            Note Added: 0003669                          
09-Sep-14 00:34  PYO            Note Added: 0003670                          
09-Sep-14 11:19  alan           Note Added: 0003671                          
09-Sep-14 11:34  PYO            Note Added: 0003672                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to