The Little Guy Posted September 11, 2009 Share Posted September 11, 2009 Anyone know of any good tutorials on how to possible create a very basic mail server using python? I'm looking but haven't found anything yet. Quote Link to comment https://forums.phpfreaks.com/topic/173855-python-mail-server/ Share on other sites More sharing options...
corbin Posted September 11, 2009 Share Posted September 11, 2009 Unfortunately there's no such thing as a "very basic" mail server. (Well, not one that does much of anything anyway.) I don't know of any specific tutorials, but I suggest reading Python socket tutorials, Python threading tutorials then read the specifications of the protocols you wish to support. Quote Link to comment https://forums.phpfreaks.com/topic/173855-python-mail-server/#findComment-916458 Share on other sites More sharing options...
The Little Guy Posted September 11, 2009 Author Share Posted September 11, 2009 I found this: http://www.doughellmann.com/PyMOTW/smtpd/ I do the first part, It does exactly what he says, any reason it isn't going to my gmail account (I changed all the to addresses to my email)? Quote Link to comment https://forums.phpfreaks.com/topic/173855-python-mail-server/#findComment-916525 Share on other sites More sharing options...
trq Posted September 11, 2009 Share Posted September 11, 2009 Unless you have a domain configured correctly for your local network all mail will go to spam if it even gets that far. Quote Link to comment https://forums.phpfreaks.com/topic/173855-python-mail-server/#findComment-916526 Share on other sites More sharing options...
The Little Guy Posted September 11, 2009 Author Share Posted September 11, 2009 Unless you have a domain configured correctly for your local network all mail will go to spam if it even gets that far. What would be the best way to configure a domain? Quote Link to comment https://forums.phpfreaks.com/topic/173855-python-mail-server/#findComment-916528 Share on other sites More sharing options...
trq Posted September 11, 2009 Share Posted September 11, 2009 You need to buy a domain name, then setup DNS accordingly. Quote Link to comment https://forums.phpfreaks.com/topic/173855-python-mail-server/#findComment-916537 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.