-
Posts
143 -
Joined
-
Last visited
Everything posted by Russ
-
I am trying to write a script to send emails using python. It is not intended that this script be uploaded to web, but instead is part of a program that I am messing around with that will be set up to send an email. I want the script to automatically send email from an email address account on my tch domain. I came accross the following example of such a script at this link: python email script The code is as follow is: >import smtplib smtpserver = 'mail.example.com' AUTHREQUIRED = 0 # if you need to use SMTP AUTH set to 1 smtpuser = '' # for SMTP AUTH, set SMTP username here smtppass = '' # for SMTP AUTH, set SMTP password here RECIPIENTS = ['user@example.com'] SENDER = 'jimbob@example.net' mssg = open('mssg.txt', 'r').read() session = smtplib.SMTP(smtpserver) if AUTHREQUIRED: session.login(smtpuser, smtppass) smtpresult = session.sendmail(SENDER, RECIPIENTS, mssg) if smtpresult: errstr = "" for recip in smtpresult.keys(): errstr = """Could not delivery mail to: %s Server said: %s %s %s""" % (recip, smtpresult[recip][0], smtpresult[recip][1], errstr) raise smtplib.SMTPException, errstr I inputed the proper infomation (sender, recipirnt, smtp info,etc), and compiled the script. However when I run it I get a "Error 550 Administrative Prohibition." In googling that error number and description, it seems that this might have something to do with TCH's SMTP server blocking my attempt to send a message. I am trying this script from a desktop on which I have loaded Ubuntu (linux distribution). If I send an email (from and to same addresses as used in script) using Evolution email client (like outlook), everything works fine; if I send from XP machine (same addresses) work fine. Anyone have any suggestions as to what I can do to get this script to work and not get rejected by TCH smtp server? Thanks.
-
As always, thanks, Bruce.
-
Thanks, Bruce. Follow up questions, does it need to be SSL, or is that optional? What is advantage of SSL?
-
Not sure if this is the right place for this..... Does TCH use SSL for email? I am experimenting with an email client ("evolution") it asks this question during the incoming server and outgoing stuff set up. Also, for incoming server, what is the "Authentication" type? Is "Password" the right choice? What about for the outgoing server? Thanks.
-
Thanks, Andy. Sent PM with ticket number. Russ
-
Thanks, Bruce. The ticket has been "open" since last Saturday. Should I start a new ticket?
-
Bill, did my PMs get thru to you? Wasn't sure if I did it right?
-
Submitted a ticket, received a response. Didn't think the response reallly addressed question, so posted a follow up. How long without an answer to follow up is too long? I have been waiting 3 days (since Jan 27)?
-
Thanks everyone! Happy holidays!
-
Any link that you might have explaining how to edit that file?
-
Thanks, Bruce. In the meantime, I have been playing around with cPanel webmail interface. Up to this point, I have been adding the spam addresses to the black list thru the filter settings in the horde mail folder. But now I notice that there is a way to add email addresses to a spam assassin blacklist in this "Spam Message Filter Configuration" page in cPanel. Are these the same blacklists, or are they different ones? I presume that adding an address to blacklist thru the "Spam Message Filter Configuration" page is the best way to go, correct? Thanks again!
-
Thanks for the prompt reply, Andy. I think that all of that (Perl, etc.) is way beyond my capabilities. What I was hoping for was a way to add emails to blacklist that would apply to all my email accounts on a domain without having to individually add to blacklist for each email. I only have a few getting thru, and I have outlook set up to dump them in the junk box, but if I could filter them on the server it would be helpful.
-
I have an email that is spam, but not picked up by spam assassin. I want to add to "blacklist." I have several eamil addresses. If I add to black list to main account (afddress with cPanel username), will that filter all my addresses, or do I need to manually add to all addresses? Thanks.
-
I was afraid of that. Thanks, anyway.
-
I have been playing around with Horde on cPanel. The "Help" section of Horde is not very detailed and does not seem to address what all the various configuration options do. Tired googling for help to no avail. Anyone have a link that would explain the various configuration options for Horde (especailly Horde Mail)? Thanks!
-
Thanks, that was helpful.
-
I was searching for an expalination on "email aging," and came across this thread. I think I am confused...is email really deleted if not read? From documentation and Bruce's post I presumed that email is only deleted if downloaded by pop3 client and it is then left on server for x days. What if I am on vacation and never check email, via pop3 or webmail, for more than x days, is the email still deleted? If that is the case, not sure why the setting would only work with pop3 clients?
-
Thanks, Bruce. Is the text after the colon (:fail: no such address) returned to the sender as a message, or is this just a comment?
-
Thank you, Bruce. I did not look carefully enough at the information the dialogue box was asking for. Another question....if you want to avoid emails sent to bogus addresses at you domain, is it better to use ":blackhole:" or ":failed: no such address"? At first, I was leary on using the former since it would let spamers know they hit a valid domain, but the wrong address. But then I thought, that doesn't make sense since the very fact that they tried a bogus address shows they know there is a valid domain :-) Plus, I presume the benefit of using ":failed: no such address" is that is a legit person sends an email and mistypes address, they would receive the emaiul alerting them to this fact. I'd be interested in what other think is "best practices." Thanks, again.
-
When I enter http://your-TCH-domain.ext/webmail, I am prompted for my CPanel username and password. Shouldn't there be a way to bypass that and go directly to webmail? What if I assign an email account to someone, but do not want them to have cPanel access? Thanks.
-
Would I follow "Netscape" for Thunderbird?
-
I am having a brain lock-up. I know that I have come accross an email set-up tutorial on total choice, but cannot find it. Specifically, I am trying to install an email clinet (for an email chess program - ectool). I want to configure with the AVG virus protect's personal email scanner - i need this client to work for a specific email address and for Thunderbird to work for all other email addresses. I used to have it configured, but had a hard drive crash and lost some settings (including the settings for this program). Anyone familiar with setting up AVG personal email scanner? Russ
-
If you decide to embed Gallery into WP, make sure you follow these steps for configuring your rewrite rule....otherwise it will not work correctly.
-
Have you checked the following: All About Ftp Or Help With Setting Up Ftp, Followed instructions but it doesn't work... Hopefully they will help you thru the process. Added:***Beaten to the punch
