SMTP 451 error

Iddo idoerg at cc.huji.ac.il
Thu Jan 10 06:43:07 EST 2002


Hi All,

I am getting an SMTP 451 error when trying to perform the following
sendmail. It works on one machine, but raises a 451 retcode on
another. I included the smtplib debug info. ANy ideas?

Thanks,

Iddo

>>> smtp=smtplib.SMTP('localhost')
>>> smtp.setdebuglevel(1)
>>> smtp.sendmail('Iddo at bioinformatics.org','idoerg at cc.huji.ac.il','hi')


send: 'mail FROM:<Iddo at bioinformatics.org> size=3\r\n'
reply: '250 2.1.0 <Iddo at bioinformatics.org>... Sender ok\r\n'
reply: retcode (250); Msg: 2.1.0 <Iddo at bioinformatics.org>... Sender
ok
send: 'rcpt TO:<idoerg at cc.huji.ac.il>\r\n'
reply: "451 4.0.0 Can't create transcript file ./xfg0ABcLH28697: No
such file or directory\r\n"
reply: retcode (451); Msg: 4.0.0 Can't create transcript file
./xfg0ABcLH28697: No such file or directory
send: 'rset\r\n'
reply: '250 2.0.0 Reset state\r\n'
reply: retcode (250); Msg: 2.0.0 Reset state
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/home/Iddo/local/lib/python2.1/smtplib.py", line 495, in
sendmail
    raise SMTPRecipientsRefused(senderrs)
smtplib.SMTPRecipientsRefused: {'idoerg at cc.huji.ac.il': (451, "4.0.0
Can't create transcript file ./xfg0ABcLH28697: No such file or
directory")}



More information about the Python-list mailing list