Go Back   Velocity Reviews > Newsgroups > Python
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Python - Problem with smtplib: 550 'Administrative prohibition'

 
Thread Tools Search this Thread
Old 06-02-2004, 12:11 AM   #1
Default Problem with smtplib: 550 'Administrative prohibition'


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=%2...dtnps89&rnum=1


Wayne Pierce
  Reply With Quote
Old 06-02-2004, 01:40 PM   #2
Daren Russell
 
Posts: n/a
Default Re: Problem with smtplib: 550 'Administrative prohibition'
Wayne Pierce wrote:

> 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=%2...rohibition%27+
>smtplib+group:comp.lang.python.*&hl=en&lr=&ie=UTF -8&group=comp.lang.
>python.*&selm=exrsc.16505%24SQ2.3515%40edtnps89&r num=1


It sounds like the SMTP server thinks you are trying to relay the email
(i.e. you're not actually authorised to use it) This could be down to
having to use SMTP-AUTH to send via that server, or it could be the server
only accepts connections from within its dial-up pool and you are sending
from outside this.

Basically, it's more likely down to the way you are accessing the server
rather than smtplib itself (your code may be giving a bad from address
during the smtp session for example)

HTH
Daren




Daren Russell
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comcast + Wireless Internet Problem shadoweloc General Help Related Topics 1 07-01-2008 06:19 PM
Dial Up Problem smackedass A+ Certification 3 02-02-2007 11:59 PM
Re: Virus Problem ** Help!** David BlandIII A+ Certification 1 03-02-2004 06:00 PM
Re: Serious Computer Problem hootnholler A+ Certification 1 11-24-2003 12:18 PM
Re: Serious Computer Problem Bret A+ Certification 0 11-19-2003 12:51 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46