Solved

Pop3d in standalone mode

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to enable SSH in Ubuntu. 7 92
Help with Ubuntu 14.04 LTS 10 133
Cron jobs 12 122
Squid Authentication 7 63
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…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

25 Experts available now in Live!

Get 1:1 Help Now