Oskar Eyb wrote:
Similar file I have except the on last line I don't have NOPBS="".Sameer N I wrote:
Yes, the permissions are correct. Excatly as you indicated above. (myWith permissions like this?
rw-r----- 1 qmaild qmail /var/qmail/control/cert.pem
smtp is already running on ssl)
okay, I asked only for sure ;)
There I found that it is not able to find control/qmail-pop3d.cdb
and thats why it was dropping connections. So I just copied the file
from /service/pop3d/tcp.cdb to control/qmail-pop3d.cdb and voila. It
worked. So I uncommented pbsadd line and now its working
without problem.
Hm, I'm not sure if this file should not be created by make setup?
My qmail-pop3d.rules looks like this:
# POP3 Server rules. # Normaly you allow from everyware and the only useful env vars are # NOPBS, LOGLEVEL and POP3_LOGLEVEL. # # disable pop-befor-smtp on the loopback 127.0.0.1:allow,NOPBS="" # default allow :allow,NOPBS=""
(Its nearly the same (only addes NOPBS="" after the global :allow) as qmail-pop3d.rules which you can find also in the qmail-ldap source directory.
As you can see, its possible to disable PBS in a "nicer" way.
One difference I noticed that my /var/qmail/boot/qmail-pop3d-ssl/run has this line
exec \
tcpserver -v -HRl $ME -x$QMAIL/control/qmail-pop3d.cdb \
${CONCURRENCY:+"-c$CONCURRENCY"} ${BACKLOG:+"-b$BACKLOG"} \
-s ${TLSCERT:+"-n$TLSCERT"} 0 pop3s \
$QMAIL/bin/qmail-popup $ME \
$QMAIL/bin/auth_pop ${PBSTOOL:+"-d$PBSTOOL"}\
$QMAIL/bin/qmail-pop3d "$ALIASEMPTY"
Notice $QMAIL/control/qmail-pop3d.cdb in above script snippet.
That was the line creating problem. Though I did not edit it to point it to somwhere else
I think we can make it to refer to some other file such as /service/pop3d/tcp.cdb so that
pop3 with ssl and without ssl will refer to same file. Though I am allowing everyone
pop3 access (againts authentication of course).
Sameer N. Ingole
-- Sameer N. I. /****************************************************************/ / The early bird gets the coffee left over from the night before./ /****************************************************************/
