Oskar Eyb wrote:
No, that was a typo, as I understood. Also above /var/bin/boot should read /var/qmail/bootSameer N I wrote:
Look at qmail-pop3d-ssl.run
Sorry - I mean /var/qmail/boot/qmail-pop3d-ssl/run (but its exactly the same...)
This is placed there by running 'make setup check' in the qmail-ldap source directory.
I have this script in /var/bin/boot but will copying it to
/var/qmail/service
and creating a link to it in /service (to start using it with svc) is
enough?
I guess this dont worked because svscan look for run and not for other
files like "qmail-pop3d-ssl.run"
Yes, the permissions are correct. Excatly as you indicated above. (my smtp is already running on ssl)
I have /var/qmail/control/cert.pem and the control/*cert files in place.
I already have tcpserver running, patched with tcpserver ssl/tls patch.
With permissions like this?
rw-r----- 1 qmaild qmail /var/qmail/control/cert.pem
I did similar thing, and thats why svstat /service/qmail-pop3d-ssl showd me desired status.I tried linking /var/qmail/boot/qmail-pop3d-ssl in
/var/qmail/service/qmail-pop3d-ssl
and creating a link to /var/qmail/service/qmail-pop3d-ssl in
/service/pop3d-ssl
Why do you linking /var/qmail/boot/ directorys to /var/qmail/service and then to /service?
My svscan is looking at /service. Therefore I linked the needed service-directorys to /service.
You have to do:
# ln -s /var/qmail/boot/qmail-pop3d-ssl/ /service/qmail-pop3d-ssl
Thank you very much for the help. This step worked. After commenting out pbsaddBut, before you do this, go to /var/qmail/boot/qmail-pop3d-ssl and type
./run tcpserver: status: 0/40 tcpserver: status: 1/40 tcpserver: pid 38667 from xxx tcpserver: ok 38667 xxx:xxx:995 :xxx::53016 pbsadd unable to read controls [1] tcpserver: end 38667 status 0 tcpserver: status: 0/40
[1] you can comment out pbsadd in the run-filerun
So you can see if this works out... (you can connect with telnet and then with an POP3-SSL capaple Client to port 995 and see whats going on)
If this all OK, you can place the link into /service.
it gave me all the output on terminal. 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.
Thanks again.
-- Sameer N. I. /****************************************************************/ / The early bird gets the coffee left over from the night before./ /****************************************************************/
