[HELP] SMTPlib not sending my mail

ashok raavi ashok.raavi at gmail.com
Tue Jan 29 14:33:25 CET 2008


i  checked it after your mail..

it is giving the following warning: no entropy for TLS key generation:
disabling TLS support

which was addressed here "
http://www.howtoforge.com/forums/showthread.php?t=781"

after adding the line "tlsmgr unix - - n 1000? 1 tlsmgr"  to
/etc/postfix/master.cf it started working.

Thank you.


On 1/29/08, Lars Johansen <lars at larsjohansen.org> wrote:
>
> have you checked your mail server logs ?
>
> tir, 29.01.2008 kl. 00.24 -0800, skrev ashok.raavi:
> > Hi,
> >
> > I am also facing the same problem, smtplib used to send mail a while
> > back but it stopped sending mails.
> >
> > when i run this in interpreter
> > >>> import smtplib
> > >>> s = smtplib.SMTP("localhost")
> > >>> s.sendmail(from, to, "message")
> > {}
> > >>>
> >
> > though it is not giving any error, it is not sending mail.
> >
> > Any help is appreciated.
> >
> > ornto wrote:
> > > Hi, I'm trying to create an application which checks a
> > > dynamic web site and on certain events sends an email to me.
> > > My problem though is with the email task. By now I made this
> > >   simple test code:
> > >
> > > #prova invio email
> > > smtpserver = smtplib.SMTP(mailserver)
> > > messaggio= "Messaggio di prova"
> > > print mail
> > > print messaggio
> > > smtpresult=smtpserver.sendmail("Watcher",mail,messaggio)
> > > if smtpresult:
> > >      print smtpresult
> > > smtpserver.quit()
> > >
> > > "mailserver" and "mail" values are loaded from a ini file
> > > and they're correct.
> > > The call to smtpserver gives back no errors (smtpresult
> > > remains empty).
> > > The running enviroment gives no error.
> > > So, it looks like that the program works alloright, sending
> > > the mail- BUT, I receive no mail! I've tried to change the
> > > smtp server with another one which still works with my isp,
> > > with no luck. If I try a smtp which doesn't give me access,
> > > I correctly receive an error from the program.
> > > What might be the problem?
>
>


-- 
ashok raavi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080129/d58964c9/attachment.html>


More information about the Python-list mailing list