sciuscia13 / torrentwatch-x

Automatically exported from code.google.com/p/torrentwatch-x
GNU General Public License v2.0
0 stars 0 forks source link

The configured script is not a single file. Parameters are not allowed because of security reasons. #213

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. configured the mailscript.sh with correct settings in mailserver, from, to 
and and line.
2. downloading a torrent form rss feed within torrentwatch
3. torrent is downloading, mail is send but no correct information in mail.

What is the expected output? What do you see instead?
Mail message contains:
Hi,

This is an automated message from TorrentWatch-X.

The configured script is not a single file. Parameters are not allowed because 
of security reasons.

What version of the product are you using? On what operating system?
Torrentwatchx 0.8.6

Please provide any additional information below.

Original issue reported on code.google.com by harmklaa...@gmail.com on 19 Feb 2012 at 3:45

GoogleCodeExporter commented 8 years ago
Why are you using a mailscript while tw-x provides mail functionality?

Original comment by wiebel@gmail.com on 19 Feb 2012 at 3:47

GoogleCodeExporter commented 8 years ago
I am using the mail functiin of tw-x, but i need to configure the settings 
right?
But with the settings I'm using I get the mail described as above.

Original comment by harmklaa...@gmail.com on 19 Feb 2012 at 4:44

GoogleCodeExporter commented 8 years ago
It seems you have a script configured. Can you paste me your 
torrentwatch.config file?

Original comment by wiebel@gmail.com on 19 Feb 2012 at 4:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
;;
;; torrentwatch config file
;;

[Settings]
Episode Only = 0
Combine Feeds = 
Transmission Login = nmt
Transmission Password = 1234
Transmission Host = 192.168.2.40
Transmission Port = 9091
Transmission URI = /transmission/rpc
Watch Dir = 
Download Dir = /share/Download
Cache Dir = 
/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/Torrentwatchx/rss_cache/
TVDB Dir = 
/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/Torrentwatchx/tvdb_cache/
Save Torrents = 
Run Torrentwatch = True
Client = Transmission
Verify Episode = 1
Only Newer = 1
Download Proper = 1
Default Feed All = 1
Deep Directories = 0
Require Episode Info = 
Disable Hide List = 
History = 
/opt/sybhttpd/localhost.drives/SATA_DISK/Apps/Torrentwatchx/rss_cache/rss_dl.his
tory
MatchStyle = regexp
Extension = torrent
verbosity = 0
Default Seed Ratio = -1
Script = /share/Apps/Torrentwatchx/mailscript.sh
Email Notifications = 1
SMTP Server = smtp.ziggo.nl
TimeZone = Europe/Amsterdam
Email Address = hXXXXXXXXXXXXXXXX@gmail.com
Episodes Only = 
Hide Donate Button = 

[Feeds]
5[] = Link => 
http://www.torrentbytes.net/rss.php?passkey=ffeb7cc982d854f1d6443fc346146059&use
rname=noharm&direct
5[] = Type => RSS
5[] = seedRatio => -1
5[] = Name => Torrentbytes
6[] = Link => 
http://www.ilovetorrents.com/rss.php?feed=dl&cat=1,4,5,6,7,8,9,10,11,12,17,19,20
,21,22,24,27,28,29,30,31,38,41,43&passkey=f20d9103c2926c6ad37ee9526a3cbd53
6[] = Type => RSS
6[] = seedRatio => -1
6[] = Name => iLoveTorrents

[Favorites]
0[] = Name => Greys Anatomy
0[] = Filter => Greys.Anatomy 720p
0[] = Not => 
0[] = Save In => Default
0[] = Episodes => 
0[] = Feed => 
http://www.ilovetorrents.com/rss.php?feed=dl&cat=1,4,5,6,7,8,9,10,11,12,17,19,20
,21,22,24,27,28,29,30,31,38,41,43&passkey=f20d9103c2926c6ad37ee9526a3cbd53
0[] = Quality => All
0[] = seedRatio => 
0[] = Season => 
0[] = Episode => 
1[] = Name => Private Practice
1[] = Filter => Private.Practice 720p
1[] = Not => 
1[] = Save In => Default
1[] = Episodes => 
1[] = Feed => 
http://www.ilovetorrents.com/rss.php?feed=dl&cat=1,4,5,6,7,8,9,10,11,12,17,19,20
,21,22,24,27,28,29,30,31,38,41,43&passkey=f20d9103c2926c6ad37ee9526a3cbd53
1[] = Quality => All
1[] = seedRatio => 
1[] = Season => 
1[] = Episode => 
2[] = Name => The Don Lane Show
2[] = Filter => The Don Lane Show
2[] = Not => 
2[] = Save In => Default
2[] = Episodes => 
2[] = Feed => All
2[] = Quality => DVDRip
2[] = seedRatio => -1
2[] = Season => 
2[] = Episode => 

[Hidden]

Original comment by harmklaa...@gmail.com on 19 Feb 2012 at 4:51

GoogleCodeExporter commented 8 years ago
If you remove the "Script = /share/Apps/Torrentwatchx/mailscript.sh" line all 
should work fine.
Although the error is kinda odd. But for mail you should use tw-x's own mail 
option :)

Original comment by wiebel@gmail.com on 19 Feb 2012 at 5:00

GoogleCodeExporter commented 8 years ago
Removed the "Script = /share/Apps/Torrentwatchx/mailscript.sh" line but now no 
email was send.

Original comment by harmklaa...@gmail.com on 19 Feb 2012 at 5:07

GoogleCodeExporter commented 8 years ago
are you sure it's not send? try tcpdump on your local interface with only port 
25 and host smtp.ziggo.nl to make sure. 

Original comment by wiebel@gmail.com on 19 Feb 2012 at 5:09

GoogleCodeExporter commented 8 years ago
When i'm starting to download a torrent from TorrentWatch X I first received an 
e-mail with the error described as above.
Now I deleted the "Script = /share/Apps/Torrentwatchx/mailscript.sh" line and I 
didn't received a mail.
The TCPDUMP result is:

--2012-02-19 17:19:12--  http://smtp.ziggo.nl:25/
Resolving smtp.ziggo.nl... 212.54.42.9
Connecting to smtp.ziggo.nl|212.54.42.9|:25... connected.
HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
Length: unspecified
Saving to: `index.html'

     0K                                                         368K=0s

2012-02-19 17:19:12 (368 KB/s) - `index.html' saved [32]

Original comment by harmklaa...@gmail.com on 19 Feb 2012 at 5:21

GoogleCodeExporter commented 8 years ago
This is not tcpdump output :)

try: tcpdump -ni eth0 host smtp.ziggo.nl and port 25

Original comment by wiebel@gmail.com on 19 Feb 2012 at 6:38

GoogleCodeExporter commented 8 years ago
sorry, i'm a complete n00b.

I installed lundmanShell, and am conected with NC to my mediatank.
I also installed tcpdump with opkg web.
But now i don't know how to run the command "tcpdump -ni eth0 host 
smtp.ziggo.nl and port 25"
If I run it with NC i get:
tcpdump -ni eth0 host smtp.ziggo.nl and port 25
/bin/sh: line 29: tcpdump: command not found

Original comment by harmklaa...@gmail.com on 19 Feb 2012 at 6:58

GoogleCodeExporter commented 8 years ago
O right you're on NMT. In that case you need to install lighttpd package. This 
should make tw-x faster and get mail working. The original PCH php does not 
support mail.

Original comment by wiebel@gmail.com on 19 Feb 2012 at 9:43

GoogleCodeExporter commented 8 years ago
Also with the lighttpd package installed it wont work, sorry :(

Original comment by harmklaa...@gmail.com on 19 Feb 2012 at 10:37

GoogleCodeExporter commented 8 years ago
wat PCH do you own? And have you rebooted after installing lighttpd?

Original comment by jo...@vandalon.nl on 20 Feb 2012 at 3:42

GoogleCodeExporter commented 8 years ago
I have pch c200 and restarted the system several times.

Original comment by harmklaa...@gmail.com on 20 Feb 2012 at 8:39

GoogleCodeExporter commented 8 years ago
reinstalled all apps on my pch c200 and it's working great now!

Original comment by harmklaa...@gmail.com on 20 Feb 2012 at 9:54

GoogleCodeExporter commented 8 years ago
Ok good :)

Original comment by jo...@vandalon.nl on 21 Feb 2012 at 2:03