Solved

Pop3d in standalone mode

Posted on 1997-04-22
1
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 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