Want to make a kagillion emails on your home connection? go for it.
[b]
/socklisten email 25
/mkdir email
[/b]
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
}
}
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 )
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
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
Should be like
email 74.207.246.62:25 tcp listening
After you type
/socklisten email 25
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