Anyone wanting to create catchall can use this tutorial to set up catchall for particular domains using gmail: http://dbpmarketing.com/senuke/solutions/how-to-setup-a-catch-all-email-using-google-apps/
looking for the scripts to validate bulk email addresses and save the good email in a separate file.
You say what????? Catchall is just the best way. It does not mess up!
AWESOME IDEA!
Hope it will work,
Thank you very much, appreciated!
Anyone wanting to create catchall can use this tutorial to set up catchall for particular domains using gmail: http://dbpmarketing.com/senuke/solutions/how-to-setup-a-catch-all-email-using-google-apps/
Can it be made that the names($prefix = "zz"could be spinned? If a spintax could be added like {zz|re|bg|jkf|ty|kl|hg}, it would be awesome. Can the OP modify the code to that effect?
Welcome.works fine!
Thanks!
Can be done but it will take more time and I really don't have much time free these days. I will look into this if I get time.
Depends on your tools. Catch-all works for most cases but not all. (-:
Welcome.
Thanks for contributing to the thread.
Sure I can. (-: I will add the spinner to the code before going to bed.
Welcome.
<?php
set_time_limit(0);
// cPanel info
$cpuser = 'cpaneluser'; // cPanel username
$cppass = 'cpanelpass'; // cPanel password
$cpdomain = 'domain.com'; // cPanel domain or IP
$cpskin = 'x3'; // cPanel skin. Mostly x or x2.
// Read here to know how to check cPanel skin - [url]http://www.zubrag.com/articles/determine-cpanel-skin.php[/url]
$epass = 'emailpassy'; // email password
$edomain = 'emaildomain.com'; // email domain (usually same as cPanel domain above)
$equota = 50; // amount of space in megabytes
// Email format - {prefix}{number}@{domain.tld}
$prefix = "{aa|bb|cc{1|2|3}|dd}"; // Spintax supported.
$start = "1";
$end = "100";
$separator = ":"; // The script will output in format emailid{separator}password. So if you want emailid:pass then enter ":" separator.
for($i=$start;$i<=$end;$i++) {
$euser = spin($prefix) . $i;
$f = fopen ("http://$cpuser:$cppass@$cpdomain:2082/frontend/$cpskin/mail/doaddpop.html?email=$euser&domain=$edomain&password=$epass"a=$equota", "r");
if (!$f) {
$msg = 'Cannot create email account. Possible reasons: "fopen" function allowed on your server, PHP is running in SAFE mode';
break;
}
echo $euser . "@" . $edomain . $separator . $epass . "<br />";
}
function spin($s){
preg_match('#\{(.+?)\}#is',$s,$m);
if(empty($m)) return $s;
$t = $m[1];
if(strpos($t,'{')!==false){
$t = substr($t, strrpos($t,'{') + 1);
}
$parts = explode("|", $t);
$s = preg_replace("+\{".preg_quote($t)."\}+is", $parts[array_rand($parts)], $s, 1);
return spin($s);
}
?>
http://catchmail.net/gen.php
@redstone.1337 Thought you were going to modify the script to to produce the spintax version?
You're lucky redstones a nice guy, that's quite a rude way of asking
Manners are free so use them
Dude, I never meant to cause any offense... I am the type who appreciate every little effort that someone puts into doing things. So please, don't insult me!
Its a pity how folks try to portray themselves as paragon of virtues... Redstone himself didn't take offense how much more a bystander.... the impudence!![]()