if you do install this example' code on different serversimply replace the "localhost /cgi-binpart of the urls we'll use here with your server' nameportand path details in practicea system such as pymailcgi would be much more useful if it were installed on remote serverto allow mail processing from any web client as with pymailguiyou'll have to edit the mailconfig py module' settings to use this system to read your own email as providedthe email server information is not useful for reading email of your ownmore on this in moment carry-on software pymailcgi works as planned and illustrates more cgi and email conceptsbut want to point out few caveats up front this application was initially written during twohour layover in chicago' 'hare airport (though debugging took few hours morei wrote it to meet specific need--to be able to read and send email from any web browser while traveling around the world teaching python classes didn' design it to be aesthetically pleasing to others and didn' spend much time focusing on its efficiency also kept this example intentionally simple for this book for examplepymailcgi doesn' provide nearly as many features as the pymailgui program in and it reloads email more than it probably should because of thisits performance can be very poor if you keep your inbox large in factthis system almost cries out for more advanced state retention options as isuser and message details are passed in generated pages as hidden fields and query parametersbut we could avoid reloading mail by also using server-side deployment of the database techniques described in such extensions might eventually bring pymailcgi up to the functionality of pymailguialbeit at some cost in code complexity even sothis system also suffers from the python attachments limitation described earlierwhich would need to be addressed as well againyou should consider this system prototype and work in progressit' not yet software worth sellingand not something that you'll generally want to use as is for mail that' critical to you on the other handit does what it was intended to doand you can customize it by tweaking its python source code--something that can' be said of all software sold one downside to running local webserver py script that noticed during development for this is that on platforms where cgi scripts are run in the same process as the serveryou'll need to stop and restart the server every time you change an imported module otherwisea subsequent import in cgi script will have no effectthe module has already been imported in the process this is not an issue on windows today or on other platforms that run the cgi as separatenew process the server' classesimplementation varies over timebut if changes to your cgi scripts have no effectyour platform my fall into this categorytry stopping and restarting the locally running web server the pymailcgi server