Solved

Pop3d in standalone mode

Posted on 1997-04-22
1
210 Views
Last Modified: 2010-03-18
I was wondering if anyone of you has been tried to modify
and run the pop3 in standalone mode e.g without being
installed and configured as an  inetd's service.
If so , I would really appreciate any feedbacks/comments and  suggestions on what should I do in order to switch.
TIA

0
Comment
Question by:ida62
1 Comment
 

Accepted Solution

by:
salimfadhley earned 100 total points
ID: 1584425
It would have to be a very heavy modification in order to make it work.

When you load up pop3d it does it's job and then exits as soon as it's finished. Compare that to apache httpd that is able to fork off copies of it'self. You have to modify it so that it runs as a standard system demon process, and waits untill it's got a job to do. It would fork off a new process for every job it's given.

It should be feasable to do the modification, and it's more of a UNIX programming puzzle than a networking puzzle. I reccomend that you read the exclent book:

UNIX network programming by W Richard Stevens.
ISBN 0-13-949876-1

There is an example of a short demon process that behaves in the way you describe on page 294/5 of the current Hardback edition.

As a last note, if you are getting so much demand for your pop3d that inetd is causing too much system load then perhaps you shouldnt be using the freeware pop3d that comes with linux.

Sun make a much more heavy duty commercial pop3d that might be able to cope with your problems.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question