Solved

Pop3d in standalone mode

Posted on 1997-04-22
1
207 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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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 remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now