Solved

Pop3d in standalone mode

Posted on 1997-04-22
1
211 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 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