Google email relay – Multiple destination domains per transaction is unsupported

Those experiencing this problem when trying to send batches of emails through the google’s multiple MX records ( , , …) , here are some workarounds.

In this case scenario we will assume we are using CentOS and sendmail as our method.

  1. Segregate different domain emails to be sent through a separate  sendmail session (this is usually done in your code)
  2. Relay everything through the
  3. Configure sendmail to delivery to each email on one connection.

On you add these following line

define(`SMTP_MAILER_MAXRCPTS', `1')dnl
define(`RELAY_MAILER_MAXRCPTS', `1')dnl

The above lines MUST be added before


After that save your .mc and m4 it to your .cf

m4 >

Restart sendmail and test

service sendmail restart

If, however, you are those that directly edit the .cf instead of the .mc then you’ll have to do the following

In you .cf find the following text (“Msmtp,” , “Mesmtp,” , “Mdsmtp, “, “Mrelay,”)
After that find the following line(s)


And change it to look like this

r=1, T=DNS/RFC822/SMTP,


This problem isn’t really an error as it requques your emails when this happens.
Though the third solution will work is not ideal to use as it requires sendmail to open/close connections for each email.
One last thing to look for is the cached-connections for sendmail


Read More

TL-WR1043ND Mass Firmware Flashing (DD-WRT/OpenWRT)

With the latest version of the stock TP-Link TL-WR1043ND firmware it changed its way of authenticating users to the router’s administration page, from Basic AUTH to Form base authentication. This meant that the previous solution for mass flashing these routers from stock to 3rd party wasn’t the same.
Old way :

After further examing the new firmware’s GUI it seemed they now added two new variables to the authentication process. Variable cmp and session.

My task was to find a way to mass flash many of these as fast as possible, I wrote a small bash script that would do just that. All you need to do is save this script as something like “” and run through CLI

sh factory-to-ddwrt.bin

Cookie explanation:

Cookie is composed of a base64-URLEncoded username and password

cookie = "Authorization="+URLencode("Basic "+BASE64("admin:admin"))+";domain=;path=/";



curl -v
--cookie "Authorization=Basic%20YWRtaW46YWRtaW4%3D;domain=;path=/"
--header "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0" > "first_output.txt"

cmp = `sed -n 18p "first_output.txt" | awk -F '"' '{print $2}'`
session = `sed -n 18p "first_output.txt" | awk -F '"' '{print $4}'`

curl -v
--cookie "Authorization=Basic%20YWRtaW46YWRtaW4%3D;domain=;path=/"
--header "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0"
--referer ''
--form "Filename=@$1" -F 'Upgrade=Upgrade' -F 'cmp=$cmp' -F 'session=$session' > /dev/null

sleep 1

curl -v
--max-time 2
--cookie "Authorization=Basic%20YWRtaW46YWRtaW4%3D;domain=;path=/"
--header "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0"
--referer '' > /dev/null

Read More

Polldaddy Votes Hack V2

This software is no longer maintained, ¬†there isn’t going to any updates from me at least. I’ve released the source-code if anyone wants to work on it.

Source code: PolldaddyHack



Seeing as how people were having difficulties using the CLI Polldaddy Hack tool I decided to make a GUI that would make it faster to not only gather the correct Poll answers but to also submit votes faster.

Polldaddy Hack
Polldaddy Hack V2 2013

To use this new tool just download the file zip file and extract the contents. Follow the video below on how to use it.

Download Polldaddy Hack V2

Read More

Polldaddy Votes Hack

[CLICK HERE UPDATED Polldaddy Hack Tool V2]

This post will show you a “proof-of-concept” on how to hack polldaddy polls for unlimited and automated votes


  • Polldaddy Poll URL (ex.
  • Poll answer you want to use (ex. PDI_answer33136443)
  • Java installed in your system
  • This PolldaddyHack Java program

To obtain the Poll URL you must have a browser that has a DOM inspector OR that allows you to install firefug extension on it.

Assuming you have “FIREFOX” install firebug from this website

Once that is installed go to where the poll is (ex. bottom of this post).

Read More

Video-Bay ownCloud Video App

With the lack of a Video Gallery for ownCloud comes out “Video-Bay” an APP made for ownCloud to showcase and playback user’s videos under a specialized “Navigation Tab” making it easy for users to quickly access and play their videos.


Video-Bay uses JWPlayer as its HTML5/Flash player to playback video files of .mp4, .flv, and more formats, in addition it uses ffmpeg to generate thumbnails for such videos (which must be install in order to see video previews). This APP scans the users collection and looks for files of ‘video’ mime-type then without structure puts this videos in the “Videos Tab”.

Currently this APP can be downloaded from the following sources:

apps.owncloud and github


Read More

Install ownCloud on CentOS 6.4 x86_64

As you may know ownCloud is a wonderful FREE online storage platform that can be install in any kind of environment without those annoying restrictions of max file size, total storage and bandwidth constraints. It can be deployed on almost any box you may have laying around for a quick online storage system. Being free and early in stage it has its minor/major issues when trying to get out its full potential, along the way I’ve done multiple installations trying to make this work as flawless as possible and here is a complete guide on how to install it on CentOS 6.4.

Lets start by assuming you already have a web server running on Centos 6.4 with PHP 5.5 (Important that you have this version), if not then refer to these online guides on how to do so.

CentOS 6.4 Install Guide

PHP 5.5 Install Guide

Webserver Guide

Once you have your webserver up and running we can continue with our installation of ownCloud.

To install ownCloud

cd /etc/yum.repos.d/
yum install owncloud


Read More

BlackBerry Engineer Screen (BBEscreen)

This applet will generate an expiration code for the hidden BlackBerry Engineer Screen (BBEscreen)

On your BlackBerry Hold ALT-SHIFT-H

Up should come a screen with information about your device(Help screen). The only info you need is:

Device PIN

App Version


Once you’ve gather this information insert it into the applet.

Depending on how many days you want to have the BBEscreen activated you then choose the appropriate code

Afterwards you need to go back to your BlackBerry and enter the code that you’ve chosen, you should now have the BBEscreen

Example input




Read More