Email Server

Platform:  mIRC
Published  Dec 12, 2010
Updated  Dec 15, 2010
Want to make a kagillion emails on your home connection? go for it.


/socklisten email 25
/mkdir email

You must do these in order for the script to work.


Email yourself, "anythinghere@yourip.com"

Example: "anythinghere@127.0.0.1"

You should get a tip that says "new email" double click it and bam you just recieved mail. Have fun guys :P.

Also check out my website hosted in MSL: http://Termz.mindhackers.org

And you can email me at Termz@Termz.mindhackers.org ;).

(What I did was get a subdomain to set an A record to my ip and bam, email server anyone?) on *:connect: if (!$sock(email)) socklisten email 25
on *:socklisten:email: {
var %x email $+ $ticks
sockaccept %x
echo -s 04Email Attempted
sockwrite -nt %x 220 $sock($sockname).ip ESMTP Postfix
}
on *:sockread:email*: {
var %x
sockread %x
tokenize 32 %x
if ($sock($sockname).mark == open) write email/ $+ $sockname $+ .txt $1-
if (EHLO == $1) sockwrite -nt $sockname 250 Hello relay.example.org, I am glad to meet you
if (MAIL == $1) sockwrite -nt $sockname 250 Ok
if (RCPT == $1) sockwrite -nt $sockname 250 Ok
if (DATA == $1) sockwrite -nt $sockname 354 End data with <CR><LF>.<CR><LF>
if (for == $1) write email/ $+ $sockname $+ .txt $2
if (subject: == $1) {
write email/email.txt $sockname - Subject: $2- - $fulldate
write email/ $+ $sockname $+ .txt Subject: $2- - $fulldate
}
if (from: == $1) {
write email/ $+ $sockname $+ .txt From: $2-
sockmark $sockname open
noop $tip(Email,New Email!,You have recieved a new email!,60,,,run email/ $+ $sockname $+ .txt)
}
if ($1- == .) sockwrite -nt $sockname 250 Ok: queued as $remove($sockname,email)
if ($1 == quit) {
sockwrite -nt $sockname 221 Bye
sockclose $sockname
}

}

Comments

Sign in to comment.
MichaelA   -  Dec 29, 2010
Found out why it doesn't work.....Most ISPs block incoming traffic from port 25(except from what comes from them) due to spamming etc. ou can disable it by logging into your internet account's control panel.
 Respond  
Ghost-writer   -  Dec 19, 2010
Well if you can find a problem/reason why it doesn't work it'd be more effictive than saying how much a waste of my time it was hitting a submit button.
 Respond  
Jethro   -  Dec 19, 2010
If this script doesn't work for the majority of people but you, Ghost-writer, was it worth the effort and time submitting it? Think of that for a second.
 Respond  
Ghost-writer   -  Dec 19, 2010
those xxxs were kind of pointless luc.

admin@94.175.89.230

Also, I have no clue why it doesn't work for you guys o.o. Probobly your ISP's blocking port 25.
 Respond  
MichaelA   -  Dec 19, 2010
I tried and didn't work >.> I even tried port forwarding xD
 Respond  
LucSatise   -  Dec 19, 2010

Quote


This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

admin@xxxxxxx
The mail server could not deliver mail to admin@xxxxxxxxxx. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.

------ This is a copy of the message, including all the headers. ------

Return-path: <raythls@lightsys.net>
Received: from isp.hostname ([xxxxxxx]:50423 helo=[192.168.x.x])
by sv19.byethost19.org with esmtpsa (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <meep>)
id 1PUQMI-000B4C-0r
for admin@94.175.89.230; Sun, 19 Dec 2010 15:59:58 -0500
Message-ID: <4D0E7255.1080304@domain>
Date: Sun, 19 Dec 2010 21:00:05 +0000
From: myname <myemail>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: admin@xxxxxxxx
Subject: test
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

 Respond  
VersaX   -  Dec 15, 2010
very pr0 bro
 Respond  
Ghost-writer   -  Dec 15, 2010
Should be like

Quote


email 74.207.246.62:25 tcp listening


After you type

Code

 

Also don't forget to /mkdir email so the emails have a place to be saved.

Try finding your ip at http://findmyip.com/ - After doing this send an email to yourself at Admin@Your.Ip.Shown.@FindmyipWebsite
 Respond  
LucSatise   -  Dec 15, 2010
i load this when i do socklist it lists my ip as 192.168.1.3 and listening and then i dont recieve the email. tips?
 Respond  
Ghost-writer   -  Dec 14, 2010
did you have the socket listening? Try doing "/socklist" and posting your results?
 Respond  
ChiefDean   -  Dec 14, 2010
doesnt work for me :/ i should get on my live.com email and email myself... like RAWR@24.131.***.19* and it should pop up in my mIRC? it didnt do anyting :/
 Respond  
MixXeduP   -  Dec 12, 2010
Its very nice. :)
Also +1 like. ;)
 Respond  
Luna   -  Dec 12, 2010
Hmm. this sounds usefull.
Im gona try it in a min.
 Respond  
Tidum   -  Dec 12, 2010
The infamous Termz has returned. :D
 Respond  
Ghost-writer   -  Dec 12, 2010
For the sake of people being able to read the code, I haven't bothered shortening it :P.
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.