Steve, I installed fakepop server for testing on my backup server, and
did this to pop3/run
HOSTNAME=`hostname --fqdn`
exec /usr/bin/softlimit -m 9000000 \
/usr/bin/tcpserver -v -R -c 200 0 110 \
/usr/local/bin/fakepop $HOSTNAME \
/usr/local/bin/fakepop 2>&1
And it appears to work well. Guess i could remove the hostname line(s) too...
No idea how secure or scaleable it is this way.... Thoughts?
Steve Huff wrote:
On Sep 14, 2006, at 9:54 AM, South Computers wrote:
Cool! Thanks Steve! I'll give it a shot...
Also I'm wondering if I can just change the supervise script for the
qmail pop3 daemon somehow to allow this.. Haven't had the chance to
play with it yet though.
i'm sure you could; however, bear in mind that if there's already a
real pop3 server running on the system, this script will not work.
you'd have to disable the real pop3 server and change /var/qmail/
supervise/pop3/run so that it looks something like
exec /usr/bin/softlimit -m 9000000 <path/to/bogopop.pl> 2>&1
(i just made that up; i have not verified it! don't take my word for
it!)
you'd then lose the benefits of running under tcpserver... hm. it
might make more sense to look at what qmail-pop3d does, write a
specific replacement for that (rather than a generic trivial pop3
server), and then put that in the existing supervise script, behind
qmail-popup and tcpserver. on the other hand, you may not want qmail-
popup running if your backup mail server doesn't have access to your
user database.
-steve
--
If this were played upon a stage now, I could condemn it as an
improbable fiction. - Fabian, Twelfth Night, III,v
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]