Problem with smtplib: 550 'Administrative prohibition'

Wayne Pierce wayne at mishre.com
Wed Jun 2 01:11:35 CEST 2004


I have a script that checks a POP3 mailbox and sends the emails to
different people based upon some settings.  For some reason my script
cannot send any emails, the error I am getting is:

reply: '550 Administrative prohibition\r\n'
reply: retcode (550); Msg: Administrative prohibition
data: (550, 'Administrative prohibition')
send: 'rset\r\n'
reply: '250 Reset OK\r\n'
reply: retcode (250); Msg: Reset OK

The only post on GG I could find says this may be caused by a conflict
with Sendmail[1].  Does anyone know if this is true?  Even better,
does anyone know a way around this?  The machine this is running on is
hosted, so I cannot remove Sendmail or make any system-wide changes.
:(

Thanks for any help,

Wayne

[1] http://groups.google.com/groups?q=%27Administrative+prohibition%27+smtplib+group:comp.lang.python.*&hl=en&lr=&ie=UTF-8&group=comp.lang.python.*&selm=exrsc.16505%24SQ2.3515%40edtnps89&rnum=1



More information about the Python-list mailing list