🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #299762

Re: - Have the regulars gone to some forum or other

#299762
From: Anonymous
Date: Tue, 14 Aug 2018 14:54
61 lines
3281 bytes
Stefan Claas was thinking very hard :
> Anonymous wrote:
>
>>  Here is another ptyhon scrypt that will notify you if you receive a 
>> new Bitmessage on a Linux machine.  We use it to discover new 
>> messages  from family and friends.  They know that we can only be 
>> contacted via  Bitmessage.  We use a burner phone and the email 
>> messages are sent to  its phone email address from my VPS that runs 
>> Bitmessage.  We turn on  the phone periodically during the day to 
>> see if any messages have  arrived.  Then off the phone goes again.  
>> This is the only use for that  phone, like a pager.  Anytime a 
>> Bitmessage is received on the VPS, it  automatically sends the 
>> email.
>> 
>> 
>> #!/usr/bin/python2.7
>> 
>> # Save this code to /.config/PyBitmessage/PyBitMail.py or wherever 
>> the  PyBitmessage path.
>> 
>> # This routine will send an email to the email address in the
>> # 'emailaddr =' field upon PyBitmessage receiving a new message
>> # for you.  This could be a cell phone message address.
>> 
>> # Change your@email-address.net below to your email address.
>> # Make sure that the 'apienabled = true' and
>> # 'apinotifypath = /path/to/PyBitMailTest.py'
>> # parameters are in your keys.dat under the [bitmessagesettings]
>> # header.  Save this entire
>> # script to PyBitMail.py in /root/.config/PyBitmessage/ and
>> # do a 'chmod 755 PyBitMail.py'
>> 
>> # Example keys.dat entries (leave out preceding #):
>> #apienabled = true
>> #apinotifypath = /root/.config/PyBitmessage/PyBitMail.py
>> 
>> import smtplib
>> import sys
>> import os
>> 
>> param1 = sys.argv[1]
>> emailaddr = 'your@email-address.net'
>> 
>> if param1 == 'newMessage':
>>   from email.mime.text import MIMEText
>> 
>>   # Send the message via our own SMTP server.
>>   sm = smtplib.SMTP('localhost')
>>   sm.sendmail('bm@anonymous.com', emailaddr, param1)
>>   sm.quit()
>> 
>>   sys.exit()
>>   os.exit()
>
> Thanks for the script! Might come in handy for me in
> the future.
>
> Regards
> Stefan

  Joining the Mossad are you?
Technical Details
Message-ID: <pkuqf1$ug3$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <7i7hmdpfp02jrdg7gp4cubmqv2l1gl9ikc@4ax.com> <990dd9bf0ef8ccec25359169de88e993@dizum.com> <87in4j30h9.fsf@violet.siamics.net> <slrnpmp96l.8k9.elvis-85650@notatla.org.uk> <AABbb0J8be4AAAuF.A1.flnews@iria.my-fqdn.de> <AABbcCX9TWIAAArW.A1.flnews@iria.my-fqdn.de> <pksra4$vu7$1@news.mixmin.net> <AABbcuICIjwAAAMU.A1.flnews@iria.my-fqdn.de>

Show Full Headers
Complete Article Headers
Message-ID: <pkuqf1$ug3$1@news.mixmin.net>
Subject: Re: - Have the regulars gone to some forum or other
Date: Tue, 14 Aug 2018 09:54:21 -0500
From: Anonymous <anonymous@anonymous.com>
References: <7i7hmdpfp02jrdg7gp4cubmqv2l1gl9ikc@4ax.com> <990dd9bf0ef8ccec25359169de88e993@dizum.com> <87in4j30h9.fsf@violet.siamics.net> <slrnpmp96l.8k9.elvis-85650@notatla.org.uk> <AABbb0J8be4AAAuF.A1.flnews@iria.my-fqdn.de> <AABbcCX9TWIAAArW.A1.flnews@iria.my-fqdn.de> <pksra4$vu7$1@news.mixmin.net> <AABbcuICIjwAAAMU.A1.flnews@iria.my-fqdn.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Anonymous
Reply-To: anonymous@anonymous.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Aug 2018 14:54:26 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="32c579a53a9ff80f561b1ad8d933846196bb99f2";
X-Newsreader: MesNews/1.08.06.00-gb
Lines: 60