On Fri, Aug 2, 2013 at 1:00 PM, Schneider <j...@globe.de> wrote: > Hi list, > > I have to write a small SMTP-Relay script (+ some statistic infos) and I'm > wondering, if this > can be done in python (in terms of performance, of course not in terms of > possibility ;) ). > > It has to handle around 2000 mails per hour for at least 8hours a day (which > does not mean, that it is allowed not to respond the rest of the day.
2000 an hour is less than one a second. I don't know how much hardware you're going to devote to this or how many other services are going to be on the same computer, but you should be able to do that no problem at all; basic statisticking isn't difficult. The slowest part is likely to be networking (esp if you have to do DNS lookups), so you'll want to make sure everything's done asynchronously - either with threads or with async queries and so on. I'd say this will be fairly easy. ChrisA -- http://mail.python.org/mailman/listinfo/python-list