473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
Jul 18 '05 #1
1 3023
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=U TF-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
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Hughes | last post by:
I wonder if anyone can help me resolve this problem. Although my ISP (One and One) provides the facility to run Python 2.2 CGI programs, their technical support people don't seem to have any Python...
0
by: Frank Zheng | last post by:
I wrote some code to test "smtplib", but i met a problem when i call the "login(user,pass)" of the "SMTP" object. here are the codes: >>> s = smtplib.SMTP() >>> s.set_debuglevel(1) >>>...
3
by: yazzoo | last post by:
Does anyone know what causes an SMTPLIB DataError? The only thing I can find in the manual is exception SMTPDataError The SMTP server refused to accept the message data. My problem is a...
6
by: stewart.midwinter | last post by:
I'm having problem with a script that used to work under Win2k but is now broken after an install of WinXP Pro. I can no longer connect to a local mail server. Has anyone else seen this? If so,...
0
by: Tim Williams | last post by:
I have a working SMTP client that I need to add TLS capability to, I absolutely need the client to timeout within a specified time, but when I use the sock.timeout() line it freezes the reading...
1
by: Lad | last post by:
I use a new webhosting provider and I can not send an email from my script. This is the script that I use to test the connection ####################### import smtplib,poplib, #I first login...
0
by: Roger | last post by:
I am having a problem sending email through smtp.gmail.com using smtplib. Everything works and the mail is sent and received, except quit. The following shows the problem (without bothering to...
2
by: ornto | last post by:
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: ...
5
by: sui | last post by:
this is my code import sys, os, glob, datetime, time import smtplib ## Parameters for SMTP session port=587 SMTPserver= 'smtp.gmail.com' SMTPuser= '...@gmail.com' pw= 'fill in here'...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.