Re: SMTP server w/o using Twisted framework

2007-07-06 Thread Steve Holden
Gerhard Häring wrote: > _spitFIRE wrote: >> [looking up DNS MX records] >> Thanks for the pointer. However, as I said currently, I can't use >> anything other than the standard libraries. > > Sure you can. You just need to get rid of the "only standard library" > requirement rule. > > That works

Re: SMTP server w/o using Twisted framework

2007-07-06 Thread Gerhard Häring
_spitFIRE wrote: > [looking up DNS MX records] > Thanks for the pointer. However, as I said currently, I can't use > anything other than the standard libraries. Sure you can. You just need to get rid of the "only standard library" requirement rule. That works best by showing the alternatives to

Re: SMTP server w/o using Twisted framework

2007-07-05 Thread _spitFIRE
On Jul 5, 2:37 pm, "Jeff McNeil" <[EMAIL PROTECTED]> wrote: > You could try pyDNS (http://pydns.sourceforge.net). You should simply > be able to call the 'DNS.mxlookup' function. The other option would > be twisted.names... > Thanks for the pointers. > What about simply running an SMTP server o

Re: SMTP server w/o using Twisted framework

2007-07-05 Thread _spitFIRE
On Jul 5, 2:21 pm, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > You need to do a DNS MX lookup. There's nothing in the Python stdlib > which provides this functionality. There are several libraries available > which do this, though (Twisted among them ;). You can probably find them > with a

Re: SMTP server w/o using Twisted framework

2007-07-05 Thread Jeff McNeil
Inline... On 7/5/07, _spitFIRE <[EMAIL PROTECTED]> wrote: > On Jul 5, 1:34 pm, "Jeff McNeil" <[EMAIL PROTECTED]> wrote: > > If you just want to send mail, you should be able to use the standard > > smtplib module (http://docs.python.org/lib/module-smtplib.html). If > > your recipients are on the I

Re: SMTP server w/o using Twisted framework

2007-07-05 Thread Jean-Paul Calderone
On Thu, 05 Jul 2007 18:56:49 -, _spitFIRE <[EMAIL PROTECTED]> wrote: >On Jul 5, 1:34 pm, "Jeff McNeil" <[EMAIL PROTECTED]> wrote: >> If you just want to send mail, you should be able to use the standard >> smtplib module (http://docs.python.org/lib/module-smtplib.html). If >> your recipients ar

Re: SMTP server w/o using Twisted framework

2007-07-05 Thread _spitFIRE
On Jul 5, 1:34 pm, "Jeff McNeil" <[EMAIL PROTECTED]> wrote: > If you just want to send mail, you should be able to use the standard > smtplib module (http://docs.python.org/lib/module-smtplib.html). If > your recipients are on the Internet, you would need to handle MX > resolution yourself. > How

Re: SMTP server w/o using Twisted framework

2007-07-05 Thread Jeff McNeil
If you just want to send mail, you should be able to use the standard smtplib module (http://docs.python.org/lib/module-smtplib.html). If your recipients are on the Internet, you would need to handle MX resolution yourself. I know you said you want to avoid a relay server, but it's probably the be

SMTP server w/o using Twisted framework

2007-07-05 Thread _spitFIRE
Is it possible to run a SMTP server that sends mail to recipients using standard libraries, without using twisted framework, and also without using any relay server? -- http://mail.python.org/mailman/listinfo/python-list