Bulk SenderScore Checker

Discussion in 'Noob Central' started by bumpies, May 27, 2011.

  1. bumpies

    bumpies VIP

    Joined:
    Apr 18, 2011
    Messages:
    121
    Likes Received:
    1
    Trophy Points:
    0
    Does anyone have one of these?

    cbf manually typing in hundreds of IPs...
     
  2. asiatiki

    asiatiki VIP

    Joined:
    Apr 12, 2011
    Messages:
    121
    Likes Received:
    8
    Trophy Points:
    0
    Location:
    Montreal, Quebec, Canada
    Ok, I tried pasting the code here but it didn't work so I am attaching the file to this post instead.

    It's a quite simple script that will return the IP, domain and SenderScore - Simply replace xx.xx.x.xxx with your IP addresses.

    If anyone wants to improve on it, please do and share :)
     

    Attached Files:

    Last edited: May 27, 2011
  3. PushSend

    PushSend VIP

    Joined:
    Apr 12, 2011
    Messages:
    1,927
    Likes Received:
    141
    Trophy Points:
    63
    Location:
    Paradise
    Thanks for sharing 'Tiki! And FYI - Bubbles is "supposed" to be working on one that'll be Windows based.

    :motz:
     
  4. Bubbles

    Bubbles VIP

    Joined:
    Mar 21, 2011
    Messages:
    314
    Likes Received:
    21
    Trophy Points:
    0
    Hey! This is pretty sweet! Thnx
     
  5. bumpies

    bumpies VIP

    Joined:
    Apr 18, 2011
    Messages:
    121
    Likes Received:
    1
    Trophy Points:
    0
    nice one, thank :)
     
  6. BB_Wolfe

    BB_Wolfe VIP

    Joined:
    Mar 8, 2011
    Messages:
    68
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    South Dakota
    Nice upload. I'm not a programmer, but is there any way you could replace lines 50-63 and have it read from a flatfile? That way we can just dump them in the file as needed and not have to edit vars in the script? If my VA can do it tomorrow, I'll upload the change myself, but if you read this beforehand and it's an easy fix, might be handy!
     
  7. BB_Wolfe

    BB_Wolfe VIP

    Joined:
    Mar 8, 2011
    Messages:
    68
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    South Dakota
    Ok, tried my best at this, if it's fubar, don't hate, just report bugs..

    http://www.nickmattern.com/email/SenderScore.zip

    Have a file called IPs.txt in the same directory as the senderscore.php file and it should find/report all the data.
     
  8. asiatiki

    asiatiki VIP

    Joined:
    Apr 12, 2011
    Messages:
    121
    Likes Received:
    8
    Trophy Points:
    0
    Location:
    Montreal, Quebec, Canada
    Thanks Wolfe, it is much more user-friendly this way!!!

    :rock:
     
  9. xtspx

    xtspx VIP

    Joined:
    Jun 23, 2011
    Messages:
    126
    Likes Received:
    5
    Trophy Points:
    0
    Location:
    Weho, Ca
    +Rep for you Asiatiki
     
  10. asiatiki

    asiatiki VIP

    Joined:
    Apr 12, 2011
    Messages:
    121
    Likes Received:
    8
    Trophy Points:
    0
    Location:
    Montreal, Quebec, Canada
    Thanks XT !! :wink:
     
  11. xtspx

    xtspx VIP

    Joined:
    Jun 23, 2011
    Messages:
    126
    Likes Received:
    5
    Trophy Points:
    0
    Location:
    Weho, Ca
    You're welcome, well deserved.
     
  12. gspot

    gspot VIP

    Joined:
    Apr 8, 2011
    Messages:
    616
    Likes Received:
    14
    Trophy Points:
    18
    Location:
    I live here
    Nice guys Rep+1 for both asiatiki & Wolfe :3some:
     
  13. BB_Wolfe

    BB_Wolfe VIP

    Joined:
    Mar 8, 2011
    Messages:
    68
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    South Dakota
    I realize SS caused some bugs in my script recently. Having it redone, will release when I'm back from Spain on the 25th of August.
     
  14. afc_pmc

    afc_pmc New Member

    Joined:
    May 30, 2011
    Messages:
    192
    Likes Received:
    17
    Trophy Points:
    0
    Nice script Wolfe, I have my own similiar scripts that I will post here just to give people a small web application to track their ips.

    This app records all scores in a database, and checks to make sure the ip hasn't been crawled already that day. Its set up for a database table of ips, another for scores and you can track the score for each day and display a listing of all your ips / domains. I'll add a date search to show you the scores from that day.

    Adding domain names associated with an ip is for display purposes, as the page that lists your ips and scores will sort by the domain name (if you enter them).

    All you need to set this up is a mysql database, and edit the senderscoreconfig.php file to enter the database settings. The script will automatically create the tables for you. If you want to upload files of ips, you will also need to make the upload directory I put in zip package writable (chmod 777 in unix). This is optional, as you can also copy and paste a list of ips in to a web form, and have them entered in to your database. If you set up the upload file directory, you will be able to upload a csv file columns as: ip,domainname

    To crawl the ips every day you have 2 options:

    1. set up what is called a "cronjob" to have the script run once a day and crawl all your ips for you. If you can do this its by far the best method, the script runs once a day and can crawl as many ips you have in 1 script run.

    2. Click the link in the admin area to crawl all ips. Once you get to like 500 ips or more, the script will time out before it is able to finish, this is a limitation of the website's php config, but you can just keep refreshing that page until it works through them all. By default, I have it only crawling 100 ips at a time, but again, you can adjust this setting.

    Download the zip package here:
    http://www.mediafire.com/file/qba16gb8p7046fi/senderscore_mailerforum.zip

    I will do my best to provide some support, bug fixes, etc, but if you have no idea on how to upload files, or set up a mysql database, you will have to find someone to set it up for you, takes about 2 minutes if you know how to upload and create the database. I didn't design a pretty admin area, left that all blank, but separated the files so its easy for you to do so. You can also merge this in to your own system.

    Keep in mind I only put about 2-3 hours in setting this up, I took some of my existing scripts and made a stand alone system for you guys, I'll fix any bugs, but I am a little slammed on time these days writing more to my own mailing system and clients. This forum has been great for info, so I wanted to give something back.

    Hope it helps, feedback appreciated.
     
    Last edited by a moderator: Aug 23, 2011
  15. DaMadHatter

    DaMadHatter Active Member

    Joined:
    Mar 1, 2011
    Messages:
    720
    Likes Received:
    51
    Trophy Points:
    28
    Location:
    In the Void
    Good stuff. + REP
    :thrasher:
     
  16. afc_pmc

    afc_pmc New Member

    Joined:
    May 30, 2011
    Messages:
    192
    Likes Received:
    17
    Trophy Points:
    0
    Hey All,

    Just wanted to post on this thread again to bring it back to the top, the tool I have up there for download is worth taking a look at, and I don't want to see it fall through the cracks.

    Any of you that have used it, let me know if it worked fine for you, and if any of you need some help using it.

    Paul
     
  17. theRZA

    theRZA VIP

    Joined:
    Apr 24, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    wow thanks afcpmc!
    I was literally sitting here sketching out the specs for exactly this and you have handed it to us on a silver platter.
    Thanks a bunch!
     
  18. afc_pmc

    afc_pmc New Member

    Joined:
    May 30, 2011
    Messages:
    192
    Likes Received:
    17
    Trophy Points:
    0
    No problem :)
     
  19. afc_pmc

    afc_pmc New Member

    Joined:
    May 30, 2011
    Messages:
    192
    Likes Received:
    17
    Trophy Points:
    0
    Someone just emailed me trying to download the sender score zip file and the link seems to be dead. I used a free hosting service that deletes files if they aren't downloaded in a certain amount of time. So here is a new link for anyone who wants this:

    http://freephpsoftware.com/senderscore_mailerforum.zip

    Some notes about things people have brought up in the past. There is a cron script in the package, so you can have it automatically check your score every day / week / month, whatever you want. The top line of that script has the path to php, this is required for php to work on the command line in some cases. So if either the script doesn't work, or if you see a random line of text print when viewing this script, it is because the path to php on your server is different from what it was on the one I built this on. You need to edit that line.

    Another question asked was why I said I recommend doing no more than 500 ips per script run, this was for 2 reasons, the first being practical on how a web browser works. Any php script that runs for more than 30 seconds by default, and up to 5 minutes if you adjust your server settings will time out and generally give the message "Internal Server Error" when in fact there is no error, other than the script running for longer than the browser / server likes it to. This is why I suggest a max number if you are using this in a browser, i.e. on a website. If you run this script from the command line or through a cronjob then there isn't this concern, and you could do in theory a million ips and it wouldn't time out or give an error.

    2nd reason is something I don't know the answer to, but would suggest being careful with. That is how many ips you should let return path see you crawling at one time. They could block your ip (website ip not mailing ip) if they think you are abusing their website, and crawling 1000s of ips at once is abuse in my opinion, so what I suggest is to have a cronjob run every hour and make it crawl the number of ips you have by 24 and let it do it piece by piece. You could also crawl from different website ips if you are able to.

    Suggestion: don't crawl from your mailing ips, its just a bad idea. Use a neutral website ip instead. I don't know how they deal with things, but its not a good idea to do it since if they logged activity they would know the mailer was doing it for sure, where with a neutral ip, they can assume but not be sure.

    You also don't need to see a score every day ... you can if you like but scores don't change that radicially in a day unless you really do something bad and if you did kill a score that badly, really would be no point in knowing the score, it would be zero.

    My mta software has this and many other automated tools built in to it, and is in production now after a few months beta testing. I will be announcing the full system, mta, offer / data management system, rep tools, injector, etc in the next few weeks as I am updating my website, features list etc and fulfilling some promises I made to people while I was so busy testing. When ready to open it up to the public I'll be giving every mailerforum member a 50% discount for the first 2 months to try it out as a thank you for all the support I have gotten here. Thank you Roundabout and all the moderators / members for all the help and knowledge you have shared over the last year :)
     
  20. DAgent

    DAgent Moderator

    Joined:
    Mar 14, 2011
    Messages:
    452
    Likes Received:
    115
    Trophy Points:
    43
    Home Page:
    The problem is that they added throttling, so now you have to query the page from multiple IPs...
     

Share This Page