TiVo Community Forum Archive 1
READ ONLY ARCHIVES

Welcome to the TiVo Community Forum Archive
This archive covers threads on TiVo Community Forum that have not been posted to from the start until June 30, 2004.  Any thread that has a post made to it between 7/1/04 and 12/31/05, that had not been posted to, will be found in Archive 2.
This is a READ ONLY site.

  Search | ARCHIVE 2 | MAIN SITE

TiVo Community Forum Archive 1 : Powered by vBulletin version 2.2.8 TiVo Community Forum Archive 1 > Underground Playground > TiVo Underground
>>> Tivo POP3 Client (TPOP) <<<

Pages (4): [1] 2 3 4 Next »  
Forum Jump:
Search this Thread:
Last Thread   Next Thread
Author
Thread ---> Show Printable Version | Email this Page | Subscribe to this thread Post New Thread    Post A Reply
dpop is offline Old Post 07-27-2002 11:27 PM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

Tivo POP3 Client (TPOP)

I've done it... I've just finished writing an email client for the Tivo (POP3 Only)., called TPOP. The attached file has a bogus .zip at the end, it's just a .tar.gz. Install this in a writiable area on your hard drive (it keeps track of state so that you can run it alongside a full-featured email client). run it from /etc/rc.sysinit by adding "/var/hack/bin/tpopd.tcl" (no ampersand needed) (or wherever you put it) run "tpopd.tcl -h" to give you a list of options. There is a .conf file for storing user and password, how often to check messages, whether or not to delete them from the server, etc. Messages are stored in the Tivo Messages area. Oh, yeah, this is released under the GPL and all that. I hope I didn't forget anything. Enjoy....
Douglas Mayle
douglas@networkhackers.com

POST #1 | Report this post to a moderator | IP: Logged

dpop is offline Old Post 07-27-2002 11:29 PM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

Ahhh missing file

It looks like the file didn't attach. Here I go again...
*Attachment removed, see end of thread, or http://www.networkhackers.com/tpop *

Last edited by dpop on 07-28-2002 at 05:57 PM

POST #2 | Report this post to a moderator | IP: Logged

Zirak is offline Old Post 07-28-2002 01:01 AM
Click Here to See the Profile for Zirak Find more posts by Zirak Add Zirak to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Zirak
TiVo Forum Special Member

Registered: Apr 2002
Location: New York
Posts: 968

Curious - What do you use this for?

__________________
The United Soviet Socialists Republic
Aggressively moderated for success in protecting our advertising revenue

POST #3 | Report this post to a moderator | IP: Logged

dpop is offline Old Post 07-28-2002 01:29 AM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

Reading my email without having to get up from the TV. It's a daemon that runs in the background and polls a POP mail server every so often and downloads the mail into the Tivo message store.

POST #4 | Report this post to a moderator | IP: Logged

Zirak is offline Old Post 07-28-2002 01:42 AM
Click Here to See the Profile for Zirak Find more posts by Zirak Add Zirak to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Zirak
TiVo Forum Special Member

Registered: Apr 2002
Location: New York
Posts: 968

I guess you aren't deleting the mails from the server, and if you want to respond, you just wander over to the PC. I would go nuts deleting all the spam from my Tivo, but thats just me! (and the volume of spam I get, I guess)

Not poo poo-ing your work in any way.

__________________
The United Soviet Socialists Republic
Aggressively moderated for success in protecting our advertising revenue

POST #5 | Report this post to a moderator | IP: Logged

dpop is offline Old Post 07-28-2002 01:55 AM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

I don't delete them with TPOP, but the script handles that if you want. And you're right. thankfully, I've managed to keep myself relatively spam free...

POST #6 | Report this post to a moderator | IP: Logged

Moat is offline Old Post 07-28-2002 03:25 AM
Click Here to See the Profile for Moat Find more posts by Moat Add Moat to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Moat
New Member

Registered: Jul 2002
Location:
Posts: 1

This would be a great module for Tivo Control Station. I guess I could just setup TCS to turn it on and off. Hmm...

Oh, Thanks Dpop!

-Moat

POST #7 | Report this post to a moderator | IP: Logged

dpop is offline Old Post 07-28-2002 03:42 AM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

The source site for TPOP is up. It's incredibly basic, but you can view the help file there, etc. http://www.networkhackers.com/tpop

POST #8 | Report this post to a moderator | IP: Logged

Zirak is offline Old Post 07-28-2002 02:09 PM
Click Here to See the Profile for Zirak Find more posts by Zirak Add Zirak to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Zirak
TiVo Forum Special Member

Registered: Apr 2002
Location: New York
Posts: 968

quote:
Originally posted by Moat
This would be a great module for Tivo Control Station. I guess I could just setup TCS to turn it on and off. Hmm...

Oh, Thanks Dpop!

-Moat



Before you go to the effort of writing the module, try killing it. Killing TCL often panics the tivo.

POST #9 | Report this post to a moderator | IP: Logged

dpop is offline Old Post 07-28-2002 02:39 PM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

I noticed that about killing TCL. I've been looking for a graceful way to signal the daemon. There's always the possibilty of a lock file, or something like that..., but I wanted something easier.

POST #10 | Report this post to a moderator | IP: Logged

Hi8 is offline Old Post 07-28-2002 02:55 PM
Click Here to See the Profile for Hi8 Find more posts by Hi8 Add Hi8 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Hi8
TiVoPro - wanabe!

Registered: Mar 2002
Location:
Posts: 65

trying to get tpopd.tcl working....

keep getting this back ...

./tpopd.tcl
bash-2.02# can't read "mbody": no such variable
while executing
"message_store $mfrom $msubject $mbody 1"
(procedure "parse_messages_and_store" line 54)
invoked from within
"parse_messages_and_store [check_mail]"
(file "./tpopd.tcl" line 503)

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

I have confirmed my settings ... (I've XXX'd out for privacy)

bash-2.02# ./tpopd.tcl -d
bash-2.02#
******************
* T POP Options *
******************
*config-file | /var/hack/bin/tpopd.conf
*----------------|
*server | XXX.XXX.XXX.XXX
*----------------|
*port | 110
*----------------|
*user | XXX
*----------------|
*password |XXX
*----------------|
*intervel | 600000
*----------------|
*delete messages | ON

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

what am I doing wrong? Tivo Ver3.0 SA

__________________
~Hi8


(1) Sony SAT T-60
(3) Hughes DVR-40
(1) Hughes HR10-250

POST #11 | Report this post to a moderator | IP: Logged

dpop is offline Old Post 07-28-2002 03:06 PM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

Try changing the lines:
set result1 [string compare "text/plain;" [string range $mcontenttype 0 10]]
set result2 [string compare "multipart/alternative;" [string range $mcontenttype 0 21]]

To:
set result1 [string compare {[tT][eE][xX][tT]/[pP][lL][aA][iI][nN];} [string range $mcontenttype 0 10]]
set result2 [string compare {[Mm][Uu][Ll][Tt][Ii][Pp][Aa][Rr][Tt]/[Aa][Ll][Tt][Ee][Rr][Nn][Aa][Tt][Ii][Vv][Ee];} [string range $mcontenttype 0 21]]

and see if that helps. (Unfortunately, Tivo ships with TCL 8.0, which doesn;t allow for case insensitve string compare, and I think you're getting MIME info in all caps.)

I've included the changes in the zip file below (and this time it is a real zip file)
*Attachment removed, see end of thread, or http://www.networkhackers.com/tpop *

Last edited by dpop on 07-28-2002 at 05:58 PM

POST #12 | Report this post to a moderator | IP: Logged

Hi8 is offline Old Post 07-28-2002 04:28 PM
Click Here to See the Profile for Hi8 Find more posts by Hi8 Add Hi8 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Hi8
TiVoPro - wanabe!

Registered: Mar 2002
Location:
Posts: 65

quote:
Originally posted by dpop

I've included the changes in the zip file below (and this time it is a real zip file)




thanks, but it does the same thing.... uploaded the last(.zip) ftp'd chmod 755 and ran it ...

still the same result. the one thing that is unique in my login (username) is that my mail account requires an "@" as part of the accountname for example: tivo@domainname.com - is required for my account name. Not sure if that is the problem?

thanks for the quick reply...

__________________
~Hi8


(1) Sony SAT T-60
(3) Hughes DVR-40
(1) Hughes HR10-250

POST #13 | Report this post to a moderator | IP: Logged

dpop is offline Old Post 07-28-2002 04:35 PM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

Ahh, got it... You're receiving MIMEless email, and I forgot to to account for that. All of my email (even the simple, single part stuff) mas MIME tagged, and so I left out the default case. Here's the update.
*Attachment removed, see end of thread, or http://www.networkhackers.com/tpop *

Last edited by dpop on 07-28-2002 at 05:56 PM

POST #14 | Report this post to a moderator | IP: Logged

Hi8 is offline Old Post 07-28-2002 04:39 PM
Click Here to See the Profile for Hi8 Find more posts by Hi8 Add Hi8 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Hi8
TiVoPro - wanabe!

Registered: Mar 2002
Location:
Posts: 65

quote:
Originally posted by Hi8



Not sure if that is the problem?




it does seem to effect the response.... I tried another POP3 account that I have, and it doesn't return that after executing. however ... so far no mail coming in.

is there a way to force a pickup? do you log any transactions?

thnx

__________________
~Hi8


(1) Sony SAT T-60
(3) Hughes DVR-40
(1) Hughes HR10-250

POST #15 | Report this post to a moderator | IP: Logged

dpop is offline Old Post 07-28-2002 04:47 PM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

@ shouldn't be a problem for a username. if the -d is displaying the username correctly, then your program is sending it. I'm working on verbose logging, but I probably won't be finished until next weekend. I'm pretty sure it's just the mail content at this point. I'm gonna update the script to also include an option for saving a trace for me to figure out what's up, mebbe later tonight. (Try the fix for MIMEless email for now)

POST #16 | Report this post to a moderator | IP: Logged

Hi8 is offline Old Post 07-28-2002 04:48 PM
Click Here to See the Profile for Hi8 Find more posts by Hi8 Add Hi8 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Hi8
TiVoPro - wanabe!

Registered: Mar 2002
Location:
Posts: 65

quote:
Originally posted by dpop
Ahh, got it... You're receiving MIMEless email, and I forgot to to account for that. All of my email (even the simple, single part stuff) mas MIME tagged, and so I left out the default case. Here's the update.



dpop!

that did it! BINGO!!! works with the account I wanted (the one with the "@" in the accountname)

COOL!!! works like a charm!

__________________
~Hi8


(1) Sony SAT T-60
(3) Hughes DVR-40
(1) Hughes HR10-250

POST #17 | Report this post to a moderator | IP: Logged

Hi8 is offline Old Post 07-28-2002 04:51 PM
Click Here to See the Profile for Hi8 Find more posts by Hi8 Add Hi8 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Hi8
TiVoPro - wanabe!

Registered: Mar 2002
Location:
Posts: 65

dpop ...

thanks again ... this really will come in handy.


(notice my signature?)

__________________
~Hi8


(1) Sony SAT T-60
(3) Hughes DVR-40
(1) Hughes HR10-250

POST #18 | Report this post to a moderator | IP: Logged

Hi8 is offline Old Post 07-28-2002 04:59 PM
Click Here to See the Profile for Hi8 Find more posts by Hi8 Add Hi8 to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
Hi8
TiVoPro - wanabe!

Registered: Mar 2002
Location:
Posts: 65

not DELETING

dpop

working great but it's not deleting the messages on the server, after it picks them up. Hence I continue to get multiple copies each pickup-cycle.


it does reflect that delete is "ON" when I check with the -d switch

__________________
~Hi8


(1) Sony SAT T-60
(3) Hughes DVR-40
(1) Hughes HR10-250

Last edited by Hi8 on 07-28-2002 at 05:08 PM

POST #19 | Report this post to a moderator | IP: Logged

dpop is offline Old Post 07-28-2002 05:35 PM
Click Here to See the Profile for dpop Find more posts by dpop Add dpop to your buddy list Show Printable Version Edit/Delete Message Reply w/Quote
dpop
New Member

Registered: Jul 2002
Location:
Posts: 16

I'm working on the trace addendum, it'll be done in ~30 minutes...

POST #20 | Report this post to a moderator | IP: Logged

All times are GMT. The time now is 04:22 AM. Post New Thread    Post A Reply
Pages (4): [1] 2 3 4 Next »   Last Thread   Next Thread
>>> Tivo POP3 Client (TPOP) <<<

TiVo Community Forum Archive 1 : Powered by vBulletin version 2.2.8 TiVo Community Forum Archive 1 > Underground Playground > TiVo Underground
Search The Internet
 
Show Printable Version | Email this Page | Subscribe to this thread

Forum Jump:
 
Search this Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

< Contact Us - TiVo Community Forum Archive 1 >

Powered by: vBulletin Version 2.2.8
Copyright ©2000, 2001, Jelsoft Enterprises Limited.
(C)opyright - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not affiliated with TiVo Inc.
Page generated in 0.04916191 seconds (65.59% PHP - 34.41% MySQL) with 25 queries.


Spider History Index