🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
12 messages
12 total messages Started by Nomen Nescio Mon, 03 Aug 2015 14:58
Sending mail from a Windows machine through a server
#275451
Author: Nomen Nescio
Date: Mon, 03 Aug 2015 14:58
102 lines
3726 bytes
Easy way to send mixmaster messages from your remailer box via a 
Windows home system. You must have the putty programs installed on 
Windows. www.putty.org

1. Create this file somewhere and put a link to it on your Windows 
desktop.

C:\path-to\MailForServer.txt


1b. Place the following lines in the file (add a space after To: 
and Subject:):

From: admin@your-remailer.net
To:
Subject:

-------------------------------------------

2. Create this bat file somewhere.

C:\path-to\MailForServer.bat


2b. Place the following lines in the bat file:

cd /etc/
put C:\path-to\MailForServer.txt MailFromHome.txt

-------------------------------------------

3. Create this bat file in C:\Users\anon\Desktop\.

C:\Users\anon\Desktop\Send mail from server.bat


3b. Place the following lines in the bat file:

"C:\path-to\Putty\PSFTP.EXE" root@YOUR.SERVER.IP.ADDRESS -i 
"C:\path-to\sec.ppk" -P 22 -b "C:\path-to\MailForServer.bat"

"C:\path-to\Putty\PLINK.EXE" root@YOUR.SERVER.IP.ADDRESS -i 
"C:\path-to\sec.ppk" -P 22 /etc/MailFromHome.sh

echo.From: admin@your-remailer.net>C:\path-to\MailForServer.txt
echo.To: >>C:\path-to\MailForServer.txt
echo.Subject: >>C:\path-to\MailForServer.txt

Pause

-------------------------------------------

3c. Note: If you are using a password instead of ssh login on your 
server, then replace the pointer to the key '-i "C:\path-
to\sec.ppk"' with '-pw yourpassword'.

3d. Note: The PSFTP.EXE and PLINK.EXE lines in section 3b should be 
all on the same line.
-------------------------------------------

4. Put this script in file /etc/MailFromHome.sh on your server and 
'chmod 755 MailFromHome.sh':

#!/bin/bash
# MailFromHome.sh
# This program mails the uploaded mail sent to the server from a 
Windows machine via putty's PSFTP.EXE program.
# The script is then executed by putty's PLINK.EXE program from a 
Windows machine.

sendmail -t -oi < /etc/MailFromHome.txt  # send mail

cat /dev/null > /etc/MailFromHome.txt    # remove it

exit 0

-------------------------------------------

Execution sequence:
1. Open the MailForServer.txt and enter your mail parameters and 
message. Remember to leave one space between the 'Subject: ' and 
message lines.
2. Double click the 'Send mail from server.bat' desktop link to 
start the bat file.  The contents of MailForServer.txt is uploaded 
with PSFTP.EXE to the /etc/MailFromHome.txt file on your server.
3. The /etc/MailFromHome.sh on your server is then executed by 
PLINK.EXE and the mail is sent.  The uploaded mail is then deleted 
from your server.
4. The contents of the MailForServer.txt on your Windows machine is 
reset to the empty From:, To:, and Subject: lines.
5. The 'Send mail from server.bat' is finally paused to see if 
there are any error messages.  Hit enter to close dos window.

You can swap out this line in /etc/MailFromHome.sh:

sendmail -t -oi < /etc/MailFromHome.txt  # send mail

with this line:

/home/mix/Mix/mixmaster /etc/MailFromHome.txt --send --mail

to send messages via your remailer.
Re: Sending mail from a Windows machine through a server
#275455
Author: Anonymous
Date: Mon, 03 Aug 2015 16:47
4 lines
843 bytes
Maybe you should have prefaced your post with a reason why anybody 
would want to do this, or even need to do this.

What is your use case?
Re: Sending mail from a Windows machine through a server
#275458
Author: Anonymous Remailer (austria)
Date: Mon, 03 Aug 2015 17:35
9 lines
1065 bytes
> Maybe you should have prefaced your post with a reason why anybody
> would want to do this, or even need to do this.
>
> What is your use case?

  I hesitated for over a year to put this out because I thought 
that this would be the reaction I would get.  A thousands pardons 
for trying to be helpful.  It won't happen again.
Re: Sending mail from a Windows machine through a server
#275460
Author: Jack Ryan
Date: Mon, 03 Aug 2015 20:20
7 lines
1101 bytes
  Unlike the asshole above, I did find the part about plink 
interesting.  It can be used to empty junk mail, error messages, 
etc. on a server.  Don't let the little bastards on apas get to 
you.  They live to spit on others, not having any substance 
themselves.  You remember the type from junior high and high 
school.  They are always trying to lift themselves up by tearing 
others down.
Re: Sending mail from a Windows machine through a server
#275459
Author: Anonymous
Date: Mon, 03 Aug 2015 22:22
12 lines
1354 bytes
In article <6e42448f405f35e277ea3daeb4b4ad8a@remailer.cpunk.us>
Jack Ryan <noreply@remailer.cpunk.us> wrote:
>
>   Unlike the asshole above, I did find the part about plink
> interesting.  It can be used to empty junk mail, error messages,
> etc. on a server.  Don't let the little bastards on apas get to
> you.  They live to spit on others, not having any substance
> themselves.  You remember the type from junior high and high
> school.  They are always trying to lift themselves up by tearing
> others down.

Happens all the time here, and they contribute nothing.
Re: Sending mail from a Windows machine through a server
#275463
Author: Anonymous
Date: Mon, 03 Aug 2015 23:10
9 lines
1194 bytes
>  Unlike the asshole above, I did find the part about plink 
>interesting.  It can be used to empty junk mail, error messages, 
>etc. on a server.  Don't let the little bastards on apas get to 
>you.  They live to spit on others, not having any substance 
>themselves.  You remember the type from junior high and high 
>school.  They are always trying to lift themselves up by tearing 
>others down.

... said the OP?
Re: Sending mail from a Windows machine through a server
#275467
Author: Nomen Nescio
Date: Tue, 04 Aug 2015 02:03
8 lines
849 bytes
I meant to ask that masked asshole his name.
Who was that masked asshole?

Why that's the Lone Asshole.

Hi Ho Asshole away!

This message was approved by Tonto.
Re: Sending mail from a Windows machine through a server
#275469
Author: Nomen Nescio
Date: Tue, 04 Aug 2015 07:13
7 lines
1004 bytes
> Maybe you should have prefaced your post with a reason why anybody 
> would want to do this, or even need to do this.
> 
> What is your use case?

A legit question despite all the ranting.  When you present
a solution there has to be a problem in the first place.
Re: Sending mail from a Windows machine through a server
#275465
Author: Nomen Nescio
Date: Tue, 04 Aug 2015 13:03
15 lines
1473 bytes
> Maybe you should have prefaced your post with a reason why anybody
> would want to do this, or even need to do this.
>
> What is your use case?

  This guy reminds me of a company I worked for.  There was a big 
problem with control cards being typed up wrong, causing the 
product programs to have to be continuously rerun - additional 
computer cost out the door. So I wrote a quickie program that 
produced a months worth of correct cards at a time.  This ended the 
control card problem, but the staff that was in charge of the 
programs got angry that I had done this.  Some people are natural 
son of a bitches.  They are envious of creative and industrious 
people.  To the company's dismay, I left after one year and went to 
their biggest competitor.
Re: Sending mail from a Windows machine through a server
#275466
Author: Anonymous Remailer (austria)
Date: Tue, 04 Aug 2015 13:53
14 lines
1313 bytes
In article <f64ee8633c7058fe8d59acc7bab7dd6f@dizum.com>
Nomen Nescio <nobody@dizum.com> wrote:
>
> > Maybe you should have prefaced your post with a reason why anybody
> > would want to do this, or even need to do this.
> >
> > What is your use case?
>
> A legit question despite all the ranting.  When you present
> a solution there has to be a problem in the first place.

Unless you are Rooster. Then the highly complex solution becomes the 
problem in and of itself.
Re: Sending mail from a Windows machine through a server
#275473
Author: Jeremy Bentham
Date: Tue, 04 Aug 2015 21:00
12 lines
1301 bytes
>> > Maybe you should have prefaced your post with a reason why anybody
>> > would want to do this, or even need to do this.
>> >
>> > What is your use case?
>>
>> A legit question despite all the ranting.  When you present
>> a solution there has to be a problem in the first place.
>
>Unless you are Rooster. Then the highly complex solution becomes the 
>problem in and of itself.

Full ACK.  And that's what the OP looked like.
Re: Sending mail from a Windows machine through a server
#275477
Author: Jeremy Bentham
Date: Wed, 05 Aug 2015 06:31
15 lines
1330 bytes
In article <bf199c398827b9a9f913742f7e7fe4a0@remailer.privacy.at>
"Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> 
wrote:
>
>
> > Maybe you should have prefaced your post with a reason why anybody
> > would want to do this, or even need to do this.
> >
> > What is your use case?
>
>   I hesitated for over a year to put this out because I thought
> that this would be the reaction I would get.  A thousands pardons
> for trying to be helpful.  It won't happen again.

Thank you for providing an excellent troubleshooting procedure.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads