Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Other Forums > Smalltalk

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd September 2006, 14:09
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default Im writing a new server

Hi, some time ago i get the idea to develop a new server by scratch. Im tired of using bogus/big software when i just need a smtp/pop3 server.

I started developing that some days agos and i have 0.0000001 pregamma version running on 208.51.140.77. It dont relay cause the code to send mails is still "disconnected" from the database, so, its 100% secure )

I like to know if some of you can bomb it a few.. i need to know how many connections can manage before crash.

The idea is to build a SMTP/POP3/DNS/Light HTTP server on a single program, using a SQL database behind to keep the data (yes, account, servers name, logs, even the emails!), it could be slower, but as the server is fast enough (i dont need lots of useless validations) i believe it could make it, plus if you need more power you can add a new server and create a cluster on seconds.

Ok, ill be making changes to the server but my idea is to keep it working 48/72 hours to test it.

While i was writting this i remember i left some security code inside the .exe file.. so i must recompile it please, any comment will be usefull !!!
Reply With Quote
Sponsored Links
  #2  
Old 23rd September 2006, 14:31
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default

Ok, i vectorized the smtp servers ports so i can get 255 connections at same time (theoricaly).

As i said no one can relay so if you want some email be delivered please sent them to:

danielm@fobicodam.com.ar
daniel@fobicodam.com.ar
fobicodam@fobicodam.com.ar

Thanks in advance !
Reply With Quote
  #3  
Old 23rd September 2006, 14:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,072
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Which programming language do you use, is it .NET based?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 23rd September 2006, 19:56
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default

No, by now its vb 6.0, i feel more confortable in vb 6, also, i dont know how to handle socket in .net..

its working very well right now, i received some spam but nothing hard to get, i believe it handle all the income email with just one smtpserver object. Im trying to put some machines to bombard it so it must use at least 10 or 15 objects at same time.

The pop3 server work very well too
Reply With Quote
  #5  
Old 23rd September 2006, 20:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,072
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Ok, I will just write a small script and send you a few hundred mails
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 23rd September 2006, 20:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,072
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Quote:
Originally Posted by fobicodam
No, by now its vb 6.0, i feel more confortable in vb 6, also, i dont know how to handle socket in .net..
If it was .net we could have tryed to run it later on linux too with the mono framework
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 23rd September 2006, 20:14
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default

I dont like .Net, 3 versions on 3 years... too many modification for a small lifetime, thats the reason why i dont like linux too..

The idea is to have a program which can run fine on a P2 with 512Mb and Nt4 or a plain 2003 if this could be done then may be i could rewrite it for .Net, but .Net needs too many dependences, too much hardware...

Last edited by fobicodam; 23rd September 2006 at 20:17.
Reply With Quote
  #8  
Old 24th September 2006, 04:07
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default

I was bombing my server... 5 msgs per sec. 25000 mails but i can only open 7 sockets at the same time.. i couldnt force it more than that... im writing more in spanish on my website forums:

http://foros.imago.com.ar/phpbb/index.php

Reply With Quote
  #9  
Old 25th September 2006, 02:43
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default Im exausted

7 hours trying to figure out how to handle DNS requests !! but i did it !! now i have smtp server, pop3 server, and dns client (to resolve domains servers) and smtp client to route mails. Plus, DNS cache (over the database) POP before SMTP and trusted IPs for relay control and a log table to see whats going on.

So, fully functional !! i called this the 0.0.1 version. I need to fix a lot of code, but its all funcional !!

please, test it !! 208.51.140.77, my mail addresses are danielm@fobicodam.com.ar or fobicodam@fobicodam.com.ar, its the mail server for the fobicodam.com.ar domain.

Any support will be appreciated !!
Reply With Quote
  #10  
Old 26th September 2006, 14:03
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
 
Default

Im writing in spanish on my fourm about the progress with my server, i wrote a list manager for it and it has sent over 100.000 mails the last 12 hours.. everything works right, i need to improve speed, i must use some kind of cache to avoid going to the database for every little thing...

my forum: http://foros.imago.com.ar/phpbb/index.php

Thanks
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php Apps email not going through palkat General 8 21st September 2011 05:35
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
server blocked/stopped by host Ovidiu Technical 11 14th February 2006 10:50
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 10:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.